Skip to content

[FEATURE] Implement FIDO2 support for SSH authentication #8

Description

@d-hain

Is your feature request related to a problem? Please describe.

I'd like to import my FIDO2 key for SSH authentication.

Describe the solution you'd like

When importing an SSH key, allow for importing FIDO2 keys (instead of only PGP keys).

Edited by @valasiadis


Describe the bug

During initial setup when trying to clone using a ssh git link and importing a private key (which was generated using a smartcard (YubiKey 5C NFC)) it just hangs on "Running Git operation..." and fails with a timeout (ETIMEDOUT).

Steps to reproduce

Steps to reproduce the behavior: (I am describing everything, even if i assume it's gonna be irrelevant)

  1. Build the latest version of this repo using ./gradlew assembleDebug
  2. Import a GPG Key
  3. Set my Git Identity and enable Git Commit Signing
  4. Put in the ssh git url. In the form of git@github.com:<username>/<repository>
  5. Choose "Public Key" and "Import SSH Key"
  6. Import my Yubikey private SSH Key
  7. Click on "Clone"
  8. It hangs on "Running Git operation..." and fails with a timeout.

Expected behavior

It prompts me to tap my Yubikey to my phone to access my FIDO2 SSH Key which i just imported.

Screenshots

No response

Device information

  • Device: Google Pixel 9 Pro XL
  • OS: GrapheneOS based on Android 17 (Build Number: 2026080501)
  • App version: built from the latest commit (c33ee21)

Additional context

I wanted to try this fork of APS, because I just setup my new Yubikey and wanted to try out if it worked with it, but I stumped upon this error before being able to try out the GPG decryption itself.

I'll gladly help debug this, as I really need this to work with this app, as I don't want to move away from using pass at all.
If there's anything I should test please tell me 🙏

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions