diff options
| author | Werner Koch <[email protected]> | 2021-01-27 10:45:33 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2021-01-27 10:49:20 +0000 |
| commit | b08418d22cc898c9d135217e07ca77f3daf3c9e9 (patch) | |
| tree | d117bfe18145762fd273a4dce3a0ffb6eb05589d /common/gettime.c | |
| parent | scd:p15: Factor the commonObjectAttributes parser out. (diff) | |
| download | gnupg-b08418d22cc898c9d135217e07ca77f3daf3c9e9.tar.gz gnupg-b08418d22cc898c9d135217e07ca77f3daf3c9e9.zip | |
gpg: Fix ugly error message for an unknown symkey algorithm.
* g10/mainproc.c (proc_symkey_enc): Do not continue with an unknown
algorithm.
--
Trying to encrypt data created with
printf "\x8c\x49\x05\x0e\x0a\x03\x01"
fails in version 2.2.19 with
gpg: packet(3) with unknown version 5
but with later versions with
gpg: encrypted with unknown algorithm 14
gpg: Ohhhh jeeee: ... this is a bug \
([...]/passphrase.c:433:passphrase_to_dek)
so we better catch this case earlier.
Reported-by: Tavis Ormandy
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/gettime.c')
0 files changed, 0 insertions, 0 deletions
