aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-update.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-31 09:29:02 +0000
committerWerner Koch <[email protected]>2014-10-31 09:31:11 +0000
commit28ae8ad70b3b802e67344468a4765eee6e291c68 (patch)
tree4869d784c19ceab0c5354bc39a2d4f75bb073751 /kbx/keybox-update.c
parentgpg: Fix testing for secret key availability. (diff)
downloadgnupg-28ae8ad70b3b802e67344468a4765eee6e291c68.tar.gz
gnupg-28ae8ad70b3b802e67344468a4765eee6e291c68.zip
gpg: Fix --rebuild-keydb-caches.
* g10/parse-packet.c (parse_key): Store even unsupported packet versions. * g10/keyring.c (keyring_rebuild_cache): Do not copy keys with versions less than 4. -- That function, which is implicitly called while checking the keydb, led to corruption of v3 key packets in the keyring which would later spit out "packet(6)too short" messages. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'kbx/keybox-update.c')
0 files changed, 0 insertions, 0 deletions