Skip to content

Include libfido2 #4942

@nicoduck

Description

@nicoduck

Openssh 8.2 includes the option authenticate via fido token backed ssh keys. The key itself can be stored on the phone or FIDO 2 token (older FIDO U2F tokens only support them on the phone).
OpenSSH release notes provide more information on that: https://www.openssh.com/releasenotes.html
I don't know if the mentioned libfido2 is also working on android or (because android has its own way to talk to fido tokens) a workaround with the native API is possible.

Link to home page and sources
https://github.com/Yubico/libfido2
https://www.openssh.com/releasenotes.html
https://developers.google.com/identity/fido/android/native-apps

Additional information
Have you compiled or tried to compile the package on device?
No

Trying to generate a ssh key with the needed options currently returns:
➜ ~ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your authenticator to authorize key generation.
Provider "" dlopen failed: dlopen failed: can't read file "/data/data/com.termux/files/usr/lib": Is a directory
Key enrollment failed: invalid format

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions