Werner Koch
2e7a3ed390
Add convenience function to hash a buffer.
...
* cipher/sha1.c (sha1_hash_buffer): New.
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-02-26 15:35:49 +01:00
Werner Koch
27d0f32f77
gpg: Distinguish between missing and cleared key flags.
...
* include/cipher.h (PUBKEY_USAGE_NONE): New.
* g10/getkey.c (parse_key_usage): Set new flag.
--
We do not want to use the default capabilities (derived from the
algorithm) if any key flags are given in a signature. Thus if key
flags are used in any way, the default key capabilities are never
used.
This allows to create a key with key flags set to all zero so it can't
be used. This better reflects common sense.
(cherry picked from commit 4bde12206c
)
(cherry picked from commit 0a805ed160
)
Resolved conflicts:
include/cipher.h
2013-10-04 20:53:51 +02:00
Werner Koch
801803ab6e
Prepare for a forthcoming new algorithm id.
...
* include/cipher.h (PUBKEY_ALGO_ECC): New.
* g10/keyid.c (pubkey_letter): Add letter 'C'.
--
ID 22 will be used for generic ECC, i.e. one which can be used for
ECDSA and ECDH. The only support in 1.4 will pretty printing the
algorithm id.
2013-07-25 10:37:41 +02:00
Werner Koch
04b0b050ff
Add pubkey letters e and E for ECC.
...
This does not mean we have any kind of ECC support now. It is merely
to avoid printing a question mark for the algorithm.
Trailing white space changes as usual.
2011-07-01 10:21:08 +02:00
David Shaw
18f6e7e5d8
Add Camellia-192.
2008-04-17 17:40:30 +00:00
David Shaw
bc15e25d7a
Add 128-bit variant of Camellia.
2007-11-29 14:51:08 +00:00
Werner Koch
9a2a818887
Switched to GPLv3.
...
Updated gettext.
2007-10-23 10:48:09 +00:00
David Shaw
7cf79c128a
Add Camellia. Do not enable this if you are not doing interop
...
testing. It is not (yet) legal OpenPGP, is not interop tested yet
(obviously), and it's a great way to lose your data. Just don't do
it.
2007-06-13 15:28:11 +00:00
David Shaw
2f94329422
The plumbing necessary to create DSA keys with variable sized q.
...
Not yet used (q==160).
2006-04-20 18:40:37 +00:00
David Shaw
f0902a6aef
Add SHA-224 support
2006-04-20 02:05:32 +00:00
Werner Koch
7d4043ca57
Updated FSF street address and preparations for a release candidate.
2005-05-31 08:39:18 +00:00
David Shaw
a3ea962679
Disable the "quick check" bytes for PK decryptions. This is in
...
regards to the Mister and Zuccherato attack on OpenPGP CFB mode.
2005-02-10 04:06:30 +00:00
David Shaw
0f8db18dc1
* cipher.h: Add PUBKEY_USAGE_UNKNOWN.
2004-11-29 21:14:18 +00:00
David Shaw
57c585bc0f
* cipher.h: Remove the old CIPHER_ALGO_RINJDAEL values. is_ELGAMAL() now
...
only matches type 16 and not type 20.
2004-01-17 03:10:09 +00:00
David Shaw
64dd0c4226
* cipher.h (pubkey_verify): Remove old unused code.
2003-12-17 19:01:22 +00:00
David Shaw
32c198391e
* cipher.h: Make cipher list match 2440bis-09.
2003-12-04 05:24:32 +00:00
David Shaw
8d82e1af00
* cipher.h: Add COMPRESS_ALGO_BZIP2.
2003-10-31 05:07:40 +00:00
Werner Koch
8062cb418a
* keygen.c (do_add_key_flags, parse_parameter_usage): Add support
...
the proposed AUTH key flag.
* getkey.c (fixup_uidnode, merge_selfsigs_main)
(merge_selfsigs_subkey, premerge_public_with_secret): Ditto.
* keylist.c (print_capabilities): Ditto.
* parse-packet.c (parse_key): Allow to parse the divert-to-card
S2K mode.
* build-packet.c (do_secret_key): Handle divert-to-card S2K
* seckey-cert.c (is_secret_key_protected): Ditto.
(check_secret_key): Ditto.
* keygen.c (do_ask_passphrase): Renamed from ask_passphrase.
* passphrase.c (ask_passphrase): New.
2003-09-30 08:00:08 +00:00
David Shaw
1d76c4a824
* cipher.h: Drop TIGER/192 support.
2003-09-04 12:30:01 +00:00
David Shaw
702dfdff27
* cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit all
...
preprocessor instructions to remove whitespace before the '#'. This is
not required by C89, but there are some compilers out there that don't
like it.
2003-05-24 16:40:46 +00:00
David Shaw
7c3aa4aea3
* cipher.h: Add constants for compression algorithms.
2003-05-03 03:21:29 +00:00
David Shaw
a93eb3abb5
* cipher.h: Add constants for new SHAs.
2003-02-04 19:04:24 +00:00
David Shaw
d1f6ccd154
* cipher.h: Add AES aliases for RIJNDAEL algo numbers.
2002-08-13 18:44:25 +00:00
David Shaw
bed4e0daa0
* cipher.h: Add md_algo_present().
2002-08-07 19:48:45 +00:00
Werner Koch
85aa3e18c2
The big extension module removal.
2002-08-03 10:50:53 +00:00
David Shaw
151ee2f47b
Update head to match stable 1.0
2002-06-29 13:31:13 +00:00
Werner Koch
4555c0be94
See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch
1999-12-08 21:03:03 +00:00
Werner Koch
881e513237
See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner Koch
1999-11-13 16:43:23 +00:00
Werner Koch
cf70ca8d68
See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner Koch
1999-10-26 12:14:37 +00:00
Werner Koch
a316550579
See ChangeLog: Thu Jul 15 10:15:35 CEST 1999 Werner Koch
1999-07-15 08:16:46 +00:00
Werner Koch
080c9ca49f
See ChangeLog: Sat Jun 26 12:15:59 CEST 1999 Werner Koch
1999-06-26 10:23:06 +00:00
Werner Koch
1feae2011c
See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch
1999-04-18 08:18:52 +00:00
Werner Koch
02d018f9c8
See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner Koch
1999-04-09 10:34:44 +00:00
Werner Koch
1b9a820c19
See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner Koch
1999-04-06 18:04:55 +00:00
Werner Koch
8d255ff264
See ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner Koch
1999-03-17 12:13:04 +00:00
Werner Koch
e1a1b3fc90
See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch
1999-02-16 13:16:33 +00:00
Werner Koch
9a4f506a18
See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner Koch
1999-02-10 16:22:40 +00:00
Werner Koch
7d0efec7cf
See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch
1999-01-07 17:05:48 +00:00
Werner Koch
e81e0970f7
last local commit
1998-10-16 16:00:17 +00:00
Werner Koch
41fa8a3345
*** empty log message ***
1998-09-28 19:25:31 +00:00
Werner Koch
b4aeef458c
.
1998-09-18 15:24:53 +00:00
Werner Koch
c07a88da5d
New release
1998-09-14 15:49:56 +00:00
Werner Koch
5ae562b41d
edit-key is now complete
1998-07-29 19:35:05 +00:00
Werner Koch
e143f23c23
fixed severe exploit
1998-07-09 13:37:17 +00:00
Werner Koch
5aed77d1db
fixed clearsig stuff
1998-07-08 09:29:43 +00:00
Werner Koch
97090f1293
partly added creation of OP partial length headers
1998-07-02 19:31:46 +00:00
Werner Koch
06fd61d081
nearly ready for 0.3.0
1998-06-25 10:19:08 +00:00
Werner Koch
e6ac5acbbf
some more internall structure changes
1998-06-16 15:13:28 +00:00
Werner Koch
6e1ca6b80f
extensions are now working and fixed a lot of bugs
1998-06-15 15:41:04 +00:00
Werner Koch
e662bf708b
gnupg extension are now working
1998-06-13 17:00:02 +00:00