diff options
author | James Bottomley via Gnupg-devel <[email protected]> | 2022-01-14 13:49:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-01-24 21:22:05 +0000 |
commit | af2fbd9b01a1ef6e4c378db03c4a289c342f7a66 (patch) | |
tree | 80d20960d9930798de62d028524bab9f17d94eb3 /dirmngr/dirmngr.c | |
parent | gpg: Print Yubikey version correctly. (diff) | |
download | gnupg-af2fbd9b01a1ef6e4c378db03c4a289c342f7a66.tar.gz gnupg-af2fbd9b01a1ef6e4c378db03c4a289c342f7a66.zip |
agent: always use hexgrip when storing key password
--
The current code uses the binary ctrl->keygrip, but all the passphrase
storage engines expect this to be a string, so convert the binary
keygrip to a hex one before passing it in as the keyid. This fixes a
crash seen in some libsecret implementations where a non-ascii keyid
isn't well handled.
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions