diff options
author | Fabian Stelzer <fs@gigacodes.de> | 2022-01-07 10:07:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-07 13:42:49 -0800 |
commit | caeef01ea73ba126a6cd4dbf4a4564ecdca9a32c (patch) | |
tree | fb3508b9e4204d89f3776a14c3f5aa719e7803b9 /object.h | |
parent | The seventh batch (diff) | |
download | tgif-caeef01ea73ba126a6cd4dbf4a4564ecdca9a32c.tar.xz |
gpg-interface: trim CR from ssh-keygen
We need to trim \r from the output of 'ssh-keygen -Y find-principals' on
Windows, or we end up calling 'ssh-keygen -Y verify' with a bogus signer
identity. ssh-keygen.c:2841 contains a call to puts(3), which confirms
this hypothesis. Signature verification passes with the fix.
Helped-by: Pedro Martelletto <pedro@yubico.com>
Signed-off-by: Fabian Stelzer <fs@gigacodes.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
0 files changed, 0 insertions, 0 deletions