Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YubiKey OTP login support through NFC #1053

Closed
isontheline opened this issue Feb 4, 2024 · 3 comments
Closed

YubiKey OTP login support through NFC #1053

isontheline opened this issue Feb 4, 2024 · 3 comments
Assignees
Labels
✨ enhancement New feature or request

Comments

@isontheline
Copy link
Owner

isontheline commented Feb 4, 2024

Webssh asks me correctly for my OTP code during login, but doesn't have the option to use the code from my YubyKey via NFC.

Originally posted by @diegodelima in #1052

Related to #697

@isontheline isontheline self-assigned this Feb 4, 2024
@isontheline isontheline added the ✨ enhancement New feature or request label Feb 4, 2024
@isontheline isontheline added this to the 25 - Sunflower milestone Feb 4, 2024
@isontheline
Copy link
Owner Author

@isontheline isontheline changed the title YubiKey OTP login support YubiKey OTP login support through NFC Feb 19, 2024
@isontheline
Copy link
Owner Author

Hi Arnaud,

Looks like Yubikey linux PAM module (pam_yubico.so) behaves very much like the pam_google_authenticator.so with the keyboard-interactive sshd Auth Method, except for the message:

@.*** % ssh @.***
@.) Verification code: (this is google auth)
@.
) YubiKey for `me’: (this is yubikey)

WebSSH already shows the TEXT prompt for Yubikey correctly on screen (if I copy and paste the code from the computer it works). What’s missing is a NFC button there, one that calls the iOS layer to ask for it (I guess any NFC key would do the trick for debugging purposes).

I can beta test it with my Yubikey if you want.

@isontheline
Copy link
Owner Author

Now available on latest beta release : https://testflight.apple.com/join/QSrBK59z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant