1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-31 22:18:03 +02:00
gnupg/kbx
Werner Koch b11f84b858 kbx: Switch from MD5 to SHA-1 for the checksum.
* kbx/keybox-blob.c (put_membuf): Use a NULL buf to store zero bytes.
(create_blob_finish): Write just the needed space.
(create_blob_finish): Switch to SHA-1.
* kbx/keybox-dump.c (print_checksum): New.
(_keybox_dump_blob): Print the checksum and the verification status.
--

The checksum was never used in the past.  Due to fast SHA-1
computations in modern CPUs we now use SHA-1.  Eventually we will
support a First blob flag to enable the use of a secret or public
HMAC-SHA1.  The first may be used for authentication of keyblocks and
the latter to mitigate collission attacks on SHA-1.  It is not clear
whether this will be useful at all.
2013-01-08 21:55:34 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-blob.c kbx: Switch from MD5 to SHA-1 for the checksum. 2013-01-08 21:55:34 +01:00
keybox-defs.h gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-dump.c kbx: Switch from MD5 to SHA-1 for the checksum. 2013-01-08 21:55:34 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-init.c gpg: First patches to support a keybox storage backend. 2012-12-27 15:04:42 +01:00
keybox-openpgp.c kbxutil: Print algo number and fold similar lines. 2012-12-28 13:45:41 +01:00
keybox-search-desc.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-search.c gpg: Set the node flags while retrieving a keyblock. 2013-01-07 21:14:52 +01:00
keybox-update.c gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h gpg: Set the node flags while retrieving a keyblock. 2013-01-07 21:14:52 +01:00
Makefile.am Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00