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

[Question] Is it possible to cache FIDO touch verification? #535

Closed
loshz opened this issue Jan 4, 2023 · 3 comments
Closed

[Question] Is it possible to cache FIDO touch verification? #535

loshz opened this issue Jan 4, 2023 · 3 comments

Comments

@loshz
Copy link

loshz commented Jan 4, 2023

  • YubiKey Manager (ykman) version: 4.0.9
  • How was it installed?: pacman
  • Operating system and version: Linux 6.1.2-arch1-1
  • YubiKey model and version: 5C NFC

Apologies in advance if this is more of an OpenSSH question!

I used this guide to successfully set up Git auth with SSH/FIDO2 - all working with no issues!

However, I need to touch my YubiKey on every auth command. This is fine in most cases, but in the case of running scripts that do multipe git operations it's somewhat tedious. Is is possible to cache this for a short period of time?

@dainnilsson
Copy link
Member

The FIDO2 spec does allow for authentication without UP (user presence), but it would have to be explicitly supported both in the OpenSSH server (to allow it) and in the OpenSSH client (to not request it).

@emlun
Copy link
Member

emlun commented Jan 9, 2023

Yes, this is supported in the OpenSSH client. See the -O no-touch-required option of ssh-keygen.

But as Dain said, this also needs to be permitted by the server. If you run the server, see the no-touch-required option of the authorized_keys file format.

@loshz
Copy link
Author

loshz commented Jan 9, 2023

Awesome - appreciate your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants