Bug 2879 - ssh-keygen missing documentation for "-Z" flag
Summary: ssh-keygen missing documentation for "-Z" flag
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 7.7p1
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_8_5
  Show dependency treegraph
 
Reported: 2018-06-30 08:37 AEST by Scott
Modified: 2021-04-23 15:00 AEST (History)
1 user (show)

See Also:


Attachments
Document ssh-keygen -Z and provide better error on incorrect arg. (2.45 KB, patch)
2020-11-27 14:07 AEDT, Darren Tucker
no flags Details | Diff
Document ssh-keygen -Z and provide better error on incorrect arg. (2.45 KB, patch)
2020-11-27 14:38 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2018-06-30 08:37:06 AEST
ssh-keygen has supported the -Z flag since 1.237 of ssh-keygen.c.

However, and man page has never been updated to include the specifics of the operation of this flag.

Please update the man page for ssh-keygen to include the specifics for the "-Z" option, which allows you to specify the encryption cipher for a private key. Based on the code, this option only applies if you are using the new private key format, either currently used if you specify the -o flag when creating/updating a key, or specify ED25519 for the key type.
Comment 1 Darren Tucker 2020-11-27 14:07:47 AEDT
Created attachment 3458 [details]
Document ssh-keygen -Z and provide better error on incorrect arg.
Comment 2 Darren Tucker 2020-11-27 14:38:07 AEDT
Created attachment 3459 [details]
Document ssh-keygen -Z and provide better error on incorrect arg.

fix a couple of "z" that should have been "Z"
Comment 3 Darren Tucker 2020-11-27 21:18:42 AEDT
The patch has been applied and will be in the 8.5 release.  Thanks for the report.
Comment 4 Damien Miller 2021-04-23 15:00:58 AEST
closing resolved bugs as of 8.6p1 release