1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00
gnupg/agent
James Bottomley via Gnupg-devel af2fbd9b01
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 <James.Bottomley@HansenPartnership.com>
2022-01-24 22:22:05 +01:00
..
agent.h agent: Ignore passphrase constraints for a generated passphrase. 2021-08-18 18:46:39 +02:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Fix SEGV when debuging for cache enabled. 2020-10-09 13:57:29 +09:00
call-daemon.c agent: Fix memory leaks 2021-05-20 14:28:49 +02:00
call-pinentry.c agent: Fix comment for .po generation. 2021-12-21 10:11:04 +09:00
call-scd.c agent: Fix calling handle_pincache_put. 2021-05-28 13:43:59 +09:00
call-tpm2d.c agent: always use hexgrip when storing key password 2022-01-24 22:22:05 +01:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c A few minor code cleanups and typo fixes. 2021-05-11 09:06:34 +02:00
command.c agent: Fix segv in GET_PASSPHRASE (regression) 2021-09-07 08:57:44 +02:00
cvt-openpgp.c agent: Fix importing protected secret key. 2021-06-09 10:57:52 +09:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Fix YK s/n and prettify the request card prompt for Yubikeys 2020-11-26 15:56:37 +01:00
divert-tpm2.c gpg: Add new command keytotpm to convert a private key to TPM format 2021-03-10 13:34:18 +01:00
findkey.c agent,dirmngr,kbx,scd,tpm2d: Use gnupg_sleep. 2021-10-05 14:05:56 +09:00
genkey.c agent: Use the sysconfdir for a pattern file. 2021-08-18 19:21:22 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Print the non-option warning earlier. 2021-11-14 18:06:33 +01:00
keyformat.txt agent: Silence error messages for READKEY --card 2021-04-21 21:00:28 +02:00
learncard.c agent: Allow signing with card key even without a stub key. 2020-02-13 11:45:41 +01:00
Makefile.am agent,kbx: Add LIBASSUAN_CLFAGS. 2021-04-13 13:54:14 +09:00
pkdecrypt.c agent: Add new shadow key type and functions to call tpm2daemon 2021-03-10 13:23:05 +01:00
pksign.c agent: Add debug output for failed RSA signature verification 2021-03-26 14:30:58 +01:00
preset-passphrase.c Use gpgrt's new option parser for the tools. 2020-02-21 20:28:47 +01:00
protect-tool.c agent: Avoid memory leaks in error code paths. 2021-05-20 13:38:07 +02:00
protect.c agent: Correctly free memory on error path. 2021-11-12 15:35:56 +09:00
sexp-secret.c agent: Avoid uninitialized buffer. 2021-11-12 15:36:02 +09:00
t-protect.c build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:50:47 +01:00
trans.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
trustlist.c Replace all calls to access by gnupg_access 2020-10-20 12:15:55 +02:00
w32main.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00