Skip to content

Commit a133d4e

Browse files
zUnixorntessusdfunktdani-garcia
authored
Update webauthn-rs to 0.5.x (#5934)
* update webauthn to 0.5 * add basic migration impl * fix clippy warnings * clear up `COSEKeyType::EC_OKP` case * fix TODOs * use same timeout as in webauthn 0.3 impl * fix: clippy warnings and formatting * Update Cargo.toml Co-authored-by: Daniel <[email protected]> * Update src/api/core/two_factor/webauthn.rs Co-authored-by: Daniel <[email protected]> * Update src/api/core/two_factor/webauthn.rs Co-authored-by: Daniel <[email protected]> * Update src/api/core/two_factor/webauthn.rs Co-authored-by: Daniel <[email protected]> * regenerate Cargo.lock * Use securitykey methods * use CredentialsV3 from webauthn-rs instead of own webauthn_0_3 module * fix cargo fmt issue --------- Co-authored-by: Helmut K. C. Tessarek <[email protected]> Co-authored-by: Daniel <[email protected]> Co-authored-by: Daniel García <[email protected]>
1 parent 49eff78 commit a133d4e

File tree

7 files changed

+346
-105
lines changed

7 files changed

+346
-105
lines changed

Cargo.lock

Lines changed: 158 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ totp-lite = "2.0.1"
124124
yubico = { package = "yubico_ng", version = "0.13.0", features = ["online-tokio"], default-features = false }
125125

126126
# WebAuthn libraries
127-
webauthn-rs = "0.3.2"
127+
# danger-allow-state-serialisation is needed to save the state in the db
128+
# danger-credential-internals is needed to support U2F to Webauthn migration
129+
# danger-user-presence-only-security-keys is needed to disable UV
130+
webauthn-rs = { version = "0.5.2", features = ["danger-allow-state-serialisation", "danger-credential-internals", "danger-user-presence-only-security-keys"] }
131+
webauthn-rs-proto = "0.5.2"
132+
webauthn-rs-core = "0.5.2"
128133

129134
# Handling of URL's for WebAuthn and favicons
130135
url = "2.5.4"

0 commit comments

Comments
 (0)