Bug 3326 - ssh-keygen -K imported keys aren't ready to go
Summary: ssh-keygen -K imported keys aren't ready to go
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-keygen (show other bugs)
Version: 8.6p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-22 20:34 AEST by contact
Modified: 2022-01-14 15:24 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description contact 2021-06-22 20:34:22 AEST
When importing FIDO keys from ssh-keygen -K, it writes them in the current directory and named something like 'ed25519_sk_rk'. These require renaming and moving to ~/.ssh/ed25519_sk for use.

It would be good if it prompted you for a location to save them similar to regular ssh-keygen.
Comment 1 Damien Miller 2022-01-14 15:24:03 AEDT
This is mostly desired behaviour, because we don't know the user's intention with these keys