[PATCH 0/4] ssh-keygen: add signing option -O hashalg=algorithm

Linus Nordberg linus at nordberg.se
Wed Dec 22 19:23:35 AEDT 2021


This patch series adds -O hashalg=algorithm to -Y sign, defaulting to
"sha512". This is useful for interoperability with tooling that use
SHA-256 for hashing the message to be signed.

Linus Nordberg (4):
  move sig_process_opts() up so we can call it from sig_sign()
  add signing option -O hashalg=algorithm
  add -O to help printout for -Y verify
  whitespace changes

 ssh-keygen.1 |   4 ++
 ssh-keygen.c | 110 +++++++++++++++++++++++++++++----------------------
 2 files changed, 66 insertions(+), 48 deletions(-)

-- 
2.30.2



More information about the openssh-unix-dev mailing list