From 0e63285b6aaabe0f4bd71b890924f80e3a27e3cb Mon Sep 17 00:00:00 2001 From: troyready Date: Sat, 17 Jun 2023 15:45:10 -0700 Subject: add yubikey support This is all that's needed to support Yubikey hardware tokens in OTP mode (https://developers.yubico.com/OTP/) --- src/bin/rbw-agent/actions.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bin') 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, ]; -- cgit v1.2.3-54-g00ecf