Werner Koch
3627123dc8
Use inline functions to convert buffer data to scalars.
...
* include/host2net.h (buf16_to_ulong, buf16_to_uint): New.
(buf16_to_ushort, buf16_to_u16): New.
(buf32_to_size_t, buf32_to_ulong, buf32_to_uint, buf32_to_u32): New.
--
This fixes sign extension on shift problems. Hanno Böck found a case
with an invalid read due to this problem. To fix that almost all uses
of "<< 24" and "<< 8" are changed by this patch to use an inline
function from host2net.h.
(back ported from commit 2183683bd6
)
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-02-12 20:34:44 +01:00
Werner Koch
eb756e2510
gpg: Show v3 key fingerprints as all zero.
...
* g10/keyid.c (fingerprint_from_pk): Show v3 fingerprints as all zero.
--
MD5 is considered broken for a long time now. To make it easier for
users to notice that a listing shows a v3 key, the fingerprint is now
displayed as 16 zero bytes unless --allow-weak-digest-algos is active.
Signed-off-by: Werner Koch <wk@gnupg.org>
2014-10-11 19:44:13 +02:00
Werner Koch
3fe9938202
Provide pubkey letters e and E
...
This is only to print those letters instead of a question mark. It
does not mean ECC is or will be supported in this branch.
2011-07-01 10:33:43 +02:00
Werner Koch
6558568912
Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.
...
Fix SIG_ID computation.
2008-12-11 17:44:52 +00:00
Werner Koch
035c838f71
Made --fixed-list-mode obsolete.
2008-06-11 08:07:54 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
e50c5f39cc
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
...
good chance that gpg2 will now work.
Other cleanups.
Updated gettext.
2006-11-21 11:00:14 +00:00
Werner Koch
971f824f72
Fixed v3 keyids.
2006-10-18 15:34:54 +00:00
Werner Koch
b744f963d7
With --enable-gpg the keyservers are now build and a first test using gpg2
...
shows no prblems. Needs more testing of course.
2006-08-16 10:47:53 +00:00
Werner Koch
b61df862a7
Still making gpg2 work.
...
At least the keyids are now correctly computed again.
2006-05-24 11:12:28 +00:00
Werner Koch
29b23dea97
Merged with gpg 1.4.3 code.
...
The gpg part does not yet build.
2006-04-19 11:26:11 +00:00
Werner Koch
979ed0ca26
Adjusted for use with current libgcrypt (1.1.42).
2003-07-28 08:59:18 +00:00
Werner Koch
44f4303bcf
* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
...
(do_generate_keypair): Abd generate the authkey.
(check_smartcard): Changed menu accordingly.
2003-07-23 07:11:06 +00:00
Werner Koch
4622a2180d
* export.c (parse_export_options): New option sexp-format.
...
(export_seckeys,export_secsubkeys): Check sexp-format option.
(do_export): Ignore armor for sexp format.
(do_export_stream): Handle sexp-format.
(write_sexp_line,write_sexp_keyparm, build_sexp_seckey): New.
(build_sexp): New.
2003-07-16 13:45:15 +00:00
Werner Koch
39046ea7ec
* app-openpgp.c (store_fpr): Fixed fingerprint calculation.
...
* keygen.c (gen_card_key): Obviously we should use the creation
date received from SCDAEMON, so that the fingerprints will match.
* sign.c (do_sign): Pass the serialno to the sign code.
* keyid.c (serialno_and_fpr_from_sk): New.
2003-07-01 08:34:45 +00:00
Werner Koch
b7bd5e8088
Fixes to the libgcrypt switch. Basically works now.
2003-06-23 15:16:12 +00:00
Werner Koch
c0c2c58054
Finished the bulk of changes for gnupg 1.9. This included switching
...
to libgcrypt functions, using shared error codes from libgpg-error,
replacing the old functions we used to have in ../util by those in
../jnlib and ../common, renaming the malloc functions and a couple of
types. Note, that not all changes are listed below becuause they are
too similar and done at far too many places. As of today the code
builds using the current libgcrypt from CVS but it is very unlikely
that it actually works.
2003-06-18 19:56:13 +00:00
Repo Admin
7250331472
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2003-06-05 07:14:21 +00:00
Repo Admin
82a17c9fb3
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2002-10-19 07:55:27 +00:00
David Shaw
3f51f7db3d
Update head to match stable 1.0
2002-06-29 13:46:34 +00:00
Werner Koch
14974bc5d7
See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner Koch
2000-10-06 12:28:44 +00:00
Werner Koch
9c20f65cbe
See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch
2000-10-04 11:16:19 +00:00
Werner Koch
986d928ce2
See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch
2000-09-18 14:35:34 +00:00
Werner Koch
92cd255508
See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch
2000-07-14 17:34:53 +00:00
Werner Koch
0070faa0ff
See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch
2000-01-24 11:55:49 +00:00
Werner Koch
ed0b0e09d3
See ChangeLog: Fri Dec 31 12:48:31 CET 1999 Werner Koch
1999-12-31 11:44:29 +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
750d74333c
See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner Koch
1998-12-23 12:41:40 +00:00
Werner Koch
47c61bafe3
Expiration time works (I hope so)
1998-11-20 17:42:18 +00:00
Werner Koch
e81e0970f7
last local commit
1998-10-16 16:00:17 +00:00
Werner Koch
8477407e79
backup
1998-10-12 20:16:38 +00:00
Werner Koch
3e0e8f884f
bug fix release
1998-08-11 17:29:34 +00:00
Werner Koch
5ae562b41d
edit-key is now complete
1998-07-29 19:35:05 +00:00
Werner Koch
1a80de41a5
changed trustdb design
1998-07-21 12:53:38 +00:00
Werner Koch
0a76a4465b
sync
1998-07-14 17:10:28 +00:00
Werner Koch
e143f23c23
fixed severe exploit
1998-07-09 13:37:17 +00:00
Werner Koch
97090f1293
partly added creation of OP partial length headers
1998-07-02 19:31:46 +00:00
Werner Koch
77a6af76d0
textual changes
1998-06-29 12:30:57 +00:00
Werner Koch
37d2adfe61
a whole bunch of internal cleanups
1998-06-13 06:59:14 +00:00
Werner Koch
42b03f6ebd
new release
1998-05-04 18:49:26 +00:00
Werner Koch
8b10a87908
test release
1998-04-08 19:49:02 +00:00
Werner Koch
86f261dbc5
cipher reorganisiert
1998-04-07 18:16:10 +00:00
Werner Koch
303b1084d5
release 0.2.14
1998-04-02 10:30:03 +00:00
Werner Koch
6b91e7762c
some cleanups
1998-03-19 15:27:29 +00:00
Werner Koch
a6a8f1e706
partial DSA support
1998-03-09 21:44:06 +00:00
Werner Koch
5a05af2bca
Renamed to GNUPG
1998-02-24 18:50:46 +00:00
Werner Koch
d6fa02add6
release 0.2.3
1998-02-09 17:43:42 +00:00
Werner Koch
4ec1775f3e
added some trust model stuff
1998-01-16 21:15:24 +00:00