Mailing List Archive

[PATCH 0/4] ssh-keygen: add signing option -O hashalg=algorithm
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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Re: [PATCH 0/4] ssh-keygen: add signing option -O hashalg=algorithm [ In reply to ]
On Wed, 22 Dec 2021, Linus Nordberg wrote:

> 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

Hi Linus,

These have all been committed (w/ some tweaks) and regress/sshsig.sh
adjusted to test both available hash algorithms.

Thanks!

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev