Werner Koch
9f79634b31
Commited change from 2001-12-13 again:
...
* pubkey-enc.c (get_session_key): Check that the public key
algorithm is indeed usable for en/decryption. This avoid a
strange error message from pubkey_decrypt if for some reasons
a bad algorithm indentifier is passed.
2001-12-18 12:16:07 +00:00
David Shaw
a47537fe6f
Remove warning - no need to check for control/illegal characters, as
...
utf8_to_native does this for us
2001-12-17 23:10:07 +00:00
David Shaw
0335a5f458
Fix capitalization issues
2001-12-17 22:48:52 +00:00
David Shaw
30481e5a17
Add a generic IDEA warning for when the IDEA plugin is not present. This
...
pops up when the user uses "--cipher-algo idea", when setpref is used to
set a "S1" preference, and when a secret key protected with IDEA is used.
Tweak the --pgp2 mode to use this generic warning.
2001-12-17 21:45:40 +00:00
Werner Koch
3851f7df8c
* keyserver.c (keyserver_spawn): Assert that we have dropped privs.
...
* pubkey-enc.c (get_session_key): Check that the public key
algorithm is indeed usable for en/decryption. This avoid a
strange error message from pubkey_decrypt if for some reasons a
bad algorithm indentifier is passed.
* hkp.c (hkp_export): Do not print possible control characters
from a keyserver response.
(parse_hkp_index): Made uid an unsigned char* because it is passed to
isspace().
(hkp_search): Ditto for the char* vars.
* g10.c (main): Print the IDEA warning also for -c and -se.
* g10.c (get_temp_dir): Assert that we have dropped privs
* encode.c (encode_crypt): Include the first key into the --pgp2
check.
2001-12-15 18:27:13 +00:00
David Shaw
ed32beee67
Fixed some types for portability. Noted by Stefan Bellon.
2001-12-12 19:31:13 +00:00
David Shaw
27949781ec
PGP2 patch. --pgp2 sets things up for pgp2 compatibility, and prints a
...
warning if the user does something that would make the message not
compatible (i.e. encrypt with a non-RSA key, etc.)
2001-12-07 15:24:32 +00:00
David Shaw
1ccd578910
Sig expiration code
...
Offer to expire a key signature when the key the user is signing expires
Expired sigs cause an error return
If --expert is set, prompt for sig duration
2001-12-07 01:14:15 +00:00
David Shaw
98facb5800
Allow a regular key signature to promote a local signature to full
...
exportable status
2001-12-07 01:04:02 +00:00
David Shaw
2e941ab7a3
New option --expert
...
Do not allow signing a revoked UID unless --expert is set, and ask even then.
Do not allow signing a revoked key unless --expert is set, and ask even then.
2001-12-07 01:00:21 +00:00
David Shaw
ebd148e553
Bug fix in "showpref"
...
Allow setting a no-compression preference
2001-12-07 00:57:50 +00:00
David Shaw
88fbd0dfcf
"eyesonly" patch. Implements the for-your-eyes-only feature.
2001-12-07 00:54:18 +00:00
David Shaw
46efe28815
"sigclass" patch - adds key signature class levels, notation and policy-url
...
displays in key listings, and shows flags for signature features.
2001-12-06 22:04:08 +00:00
David Shaw
934ac0bd7d
The new keyserver code itself
2001-12-06 21:54:04 +00:00
David Shaw
293935be4c
(sigh). Missed one file.
2001-12-06 21:50:24 +00:00
David Shaw
b7a4656965
Generic keyserver API code
2001-12-06 21:43:04 +00:00
Werner Koch
eb485f83ef
* trustdb.c (mark_usable_uid_certs): Fix segfault from bad
...
initialization and fix reversed key signature expiration check.
2001-11-27 10:28:39 +00:00
Werner Koch
2687db38df
* export.c (do_export_stream): Put all given names into a search
...
description and change the loop so that all matching names are
returned.
2001-11-09 09:36:22 +00:00
Werner Koch
0a036b6b03
Tweaked v3 -c decryption, let --force-v4-certs use SHA-1 for all RSA keys.
2001-11-08 16:24:04 +00:00
Werner Koch
c67b9886c6
fixes for the 1.0.6b bugs David recently posted to gnupg-devel.
2001-11-08 13:26:00 +00:00
Werner Koch
b920ef23ca
more fixes due to automake 1.5
2001-10-23 08:04:00 +00:00
Werner Koch
28605dc2b1
Minor fixes
2001-10-22 10:24:55 +00:00
Werner Koch
cfd10815b3
Fixed the Read-Only keyring bug and changed the way the keydb interface
...
works.
2001-10-18 11:56:03 +00:00
Stefan Bellon
ced9e24bfb
Option --no-force-v3-sigs added and disabled agent stuff for RISC OS
2001-10-06 07:33:43 +00:00
Stefan Bellon
9dcd95d866
Disabled agent stuff for RISC OS
2001-10-06 07:32:40 +00:00
Stefan Bellon
8a58fbc17d
Option --no-force-v3-sigs added
2001-10-06 07:31:28 +00:00
Werner Koch
ebf6b8a515
calculate time of next trustdb check
2001-09-28 17:00:00 +00:00
Werner Koch
aa971d5c89
make check does work again
2001-09-28 10:43:03 +00:00
Werner Koch
531f3953d8
Encryption should work again
2001-09-27 16:22:23 +00:00
Werner Koch
52be6a8aef
completed the new key validation code
2001-09-26 12:49:10 +00:00
Werner Koch
9a5c0fd75a
made keylisting faster
2001-09-25 18:47:49 +00:00
Werner Koch
1f4bdf4d26
Changed signature status cache
2001-09-25 15:20:59 +00:00
Werner Koch
a3af543617
Revamped the trustDB
2001-09-24 16:03:14 +00:00
Werner Koch
abdd248af9
Code cleanups
2001-09-20 07:12:52 +00:00
Werner Koch
cf477d0908
Bug fixes and Timo's patches
2001-09-19 14:25:05 +00:00
Werner Koch
e46ad749f9
Check for garbled packets
2001-09-18 09:40:31 +00:00
Werner Koch
d4cd7a3d4b
more bug fixesand some warning cleanups
2001-09-09 16:09:19 +00:00
Werner Koch
2874670be9
Last changes before 1.0.6a snapshot release
2001-09-07 11:40:19 +00:00
Werner Koch
59334400a1
fixed a stupid C error
2001-09-07 07:57:51 +00:00
Werner Koch
ed17c7afd0
Revamped the keyring code
2001-09-06 17:10:00 +00:00
Werner Koch
3f465d5d7a
bug fixes
2001-08-31 12:51:41 +00:00
Werner Koch
bab40b52cd
MDC feature support and other stuff
2001-08-30 16:39:23 +00:00
Werner Koch
93654f5289
Removed duplicated code
2001-08-24 13:59:19 +00:00
Stefan Bellon
62893478bf
Fixed use-agent and lock-multiple for RISC OS
2001-08-21 18:09:56 +00:00
Stefan Bellon
f3f5665cf6
changed trustlevel to singed int
2001-08-21 18:08:52 +00:00
Werner Koch
98a8843e28
Implemented -cs and some fixes to the rfc1991 symmetric only mode
2001-08-20 19:10:34 +00:00
Werner Koch
23589ae0a2
Applied Stefan's patches to support RISCOS.
2001-08-20 11:53:05 +00:00
Werner Koch
aa1514852a
Added RSA key generation
2001-08-14 11:33:49 +00:00
Werner Koch
dc718d704f
Revamped preference handling
2001-08-10 14:04:32 +00:00
Werner Koch
57c1dbc21d
fixed silly allocation bug
2001-08-09 15:49:28 +00:00