diff options
author | troyready <troy@troyready.com> | 2023-06-17 15:45:10 -0700 |
---|---|---|
committer | troyready <troy@troyready.com> | 2023-06-17 15:45:10 -0700 |
commit | 0e63285b6aaabe0f4bd71b890924f80e3a27e3cb (patch) | |
tree | c179c00d728a5e82a2f2d923760b1f010279705d /src/bin | |
parent | 8aa7e36a4f2746b314b0a582f3c59cc8b6b03ca2 (diff) | |
download | rbw-0e63285b6aaabe0f4bd71b890924f80e3a27e3cb.tar.gz rbw-0e63285b6aaabe0f4bd71b890924f80e3a27e3cb.zip |
add yubikey support
This is all that's needed to support Yubikey hardware tokens in OTP
mode (https://developers.yubico.com/OTP/)
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/rbw-agent/actions.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/rbw-agent/actions.rs b/src/bin/rbw-agent/actions.rs index 7b5dc58..066a27f 100644 --- a/src/bin/rbw-agent/actions.rs +++ b/src/bin/rbw-agent/actions.rs @@ -148,6 +148,7 @@ pub async fn login( Err(rbw::error::Error::TwoFactorRequired { providers }) => { let supported_types = vec![ rbw::api::TwoFactorProviderType::Authenticator, + rbw::api::TwoFactorProviderType::Yubikey, rbw::api::TwoFactorProviderType::Email, ]; |