Skip to content

Dreamacro/fido2-ssh-keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIDO SSH keygen

Why

When export the FIDO2 ed25519sk keyhandle from OpenSSH, it would missing flag of no-touch-required. This crate is to generate the FIDO2 ed25519sk/ecdsa-sk keyhandle with the flags.

# generate the FIDO2 ed25519-sk is right
$ ssh-keygen -t ed25519-sk -O resident -O no-touch-required -O application=ssh:general -C "comment"

# but the export keyhandle is missing the flag of no-touch-required
# and it doesn't support custom comment
$ ssh-keygen -K

Usage

$ fido2-ssh-keygen --help

Example

$ fido2-ssh-keygen export -O no-touch-required -f ~/.ssh/id_ed25519_sk
$ fido2-ssh-keygen export -O no-touch-required -C "my comment"

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages