1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-29 02:22:45 +02:00
Commit Graph

618 Commits

Author SHA1 Message Date
David Shaw
63597774d0 Use mkdtemp() to make temp directories. If there is no mkdtemp(), provide
one.
2001-12-20 16:20:58 +00:00
David Shaw
d5a695f198 New function to check the permissions of GNUPGHOME and the various files
that live there for safe permission/ownership (--no-permission-warning to
disable)
The newer glibcs print scary warnings about using mktemp().  The use here
was actually safe, but the warning was bound to confuse people, so here is
an arguably better tempname creator that pulls random bits from the pool.
2001-12-20 05:02:30 +00:00
David Shaw
4d6bda78c4 Have autoconf look for stat() 2001-12-20 04:36:09 +00:00
Werner Koch
2bcf57aac9 * acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Support Cygwin target
* configure.ac [CYGWIN32]: Don't build tiger.  By Disastry.
2001-12-19 18:05:22 +00:00
Werner Koch
a1b7fa95a4 * rndw32.c [CYGWIN32]: Include winioctl.h. By Disastry. 2001-12-19 18:05:04 +00:00
Werner Koch
8aacd724f7 * util.h [CYGWIN32]: Allow this as an alias for MINGW32. Include
stdarg.h because we use the va_list type.  By Disastry.
2001-12-19 18:04:52 +00:00
Werner Koch
3a60b758ad * g10.c, passphrase.c [CYGWIN32]: Allow this as an alias for MINGW32. 2001-12-19 18:04:31 +00:00
Werner Koch
7f5062db6c * simple-gettext.c, w32reg.c [CYGWIN32]: Allow to use this file 2001-12-19 18:04:00 +00:00
Werner Koch
0fbacf11a6 doc fix 2001-12-19 18:03:49 +00:00
David Shaw
e8936126af Much stricter checking of the keyserver URI
IDEA warning for pk messages encrypted with IDEA (symmetric is already done)
Print IDEA warning for each occurance except for secret key protection and
unknown cipher from an encrypted message.
2001-12-18 23:10:46 +00:00
Werner Koch
b8f127c598 * Makefile.am (SUBDIRS): Add keyserver.
(dist-hook): Only look in mpi and scripts for distfiles; this way
we don't include those of a stale "make dist" directory.
2001-12-18 12:16:32 +00:00
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
f1262d5742 Some files floating around in my working directory 2001-12-15 18:41:00 +00:00
Werner Koch
5c280f3d18 added one liner to CVS - hey, this one needs is so short that legal
words are not needed :-)
2001-12-15 18:34:01 +00:00
Werner Koch
3aa72653e5 Stupid gettext allways adds the same entry when running gettextize -
removed that.
2001-12-15 18:32:48 +00:00
Werner Koch
6d313b32d1 * config.links (mpi_sflags): Add extra rule for sparc64-sun-solaris2. 2001-12-15 18:32:08 +00:00
Werner Koch
154c745318 Legal BS: add copyright notice. Don't know why, but this stuff
somehow reminds me of Walter Mathau in The Fortune Cookie.
2001-12-15 18:31:11 +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
Werner Koch
0f47bb3c19 manual fixes and some hints for the forthcoming gpgsm in DETAILS 2001-12-15 18:25:55 +00:00
Werner Koch
c42da770ea Minor fixes 2001-12-15 18:25:07 +00:00
David Shaw
308efc3e5f Minor portability tweak for RISC OS 2001-12-15 06:32:24 +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
121f87d257 Build changes for keyserver code 2001-12-06 21:44:23 +00:00
David Shaw
b7a4656965 Generic keyserver API code 2001-12-06 21:43:04 +00:00
David Shaw
4b01e2a943 keyserver API definitions 2001-12-06 21:42:03 +00:00
David Shaw
20df8a8db5 Keyserver "helper" app code 2001-12-06 21:36:21 +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
216c24452f fixes to --force-v4-certs 2001-11-09 09:35:22 +00:00
Werner Koch
b93109638b typo fixes 2001-11-09 09:34:55 +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
961e45bf15 *** empty log message *** 2001-11-08 13:30:06 +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
b725937df1 A keypair to test v3 keys. 2001-11-08 13:17:15 +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