1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

882 Commits

Author SHA1 Message Date
David Shaw
3a99f806fe * NEWS: Some 1.2.1 notes. 2002-10-15 16:17:12 +00:00
Werner Koch
0aa7112f1c * rndunix.c (my_popen): Make sure that stdin and stderr are
connected to a file.  This is to avoid NetBSD to complain about
set{u,g}id programs invoked with fd 0, 2 closed.  Reported by
Cristian Biere.
(start_gatherer): Likewise. Reordered code.

* configure.ac (NAME_OF_DEV_URANDOM): Don't use /dev/srandom for
NetBSD.  Noted by Christian Biere.
2002-10-12 14:51:32 +00:00
Werner Koch
1d79b75b9c Comment fix for make_filename 2002-10-12 11:43:32 +00:00
Werner Koch
da36b610ef * keygen.c (print_status_key_created): New.
(do_generate_keypair): Use it to print the fingerprint.
(generate_subkeypair): Likewise.
2002-10-12 11:42:08 +00:00
Werner Koch
833fbf4a29 * DETAILS (KEY_CREATED): Enhanced by fingerprint. 2002-10-12 11:41:15 +00:00
David Shaw
51a8a76e23 * keyedit.c (menu_addrevoker): Properly back out if the signature fails. 2002-10-11 20:44:27 +00:00
David Shaw
63154fea49 * gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed in
case of error.
2002-10-09 02:23:46 +00:00
David Shaw
338aab3be9 * gpgkeys_ldap.c (main): Fix error return code. 2002-10-09 02:01:36 +00:00
David Shaw
67356cdd63 * mainproc.c (symkey_decrypt_sesskey): Fix compiler warning. 2002-10-07 22:09:20 +00:00
David Shaw
60fd09df9f * configure.ac: OpenLDAP 2.0.27 changed the dependencies again. Add a
"LDAPLIBS" variable so users can try and suggest the right dependencies
for their platform.
2002-10-07 21:58:53 +00:00
David Shaw
3832320327 * keylist.c (print_capabilities): Properly indicate per-key capabilities
of sign&encrypt primary keys that have secret-parts-missing (i.e. no
capabilities at all).
2002-10-07 18:20:28 +00:00
David Shaw
d1738ac243 * getkey.c (get_pubkey_direct): Don't cache keys retrieved via this
function as they may not have all their fields filled in.

* sig-check.c (signature_check2): Use new is_primary flag to check rather
than comparing main_keyid with keyid as this still works in the case of a
not fully filled in pk.
2002-10-04 22:09:18 +00:00
Werner Koch
2e21d851e9 * passphrase.c (agent_get_passphrase): Fixed signed/unsigned char
problem in %-escaping.  Noted by Ingo Kl�cker.
2002-10-04 06:02:14 +00:00
David Shaw
79a68af367 * gpg.sgml: Note that '#' means secret-key-unavailable, and that keyserver
schemes are case-insensitive.
2002-10-03 19:44:11 +00:00
David Shaw
09fe2195bc * keylist.c (print_capabilities): Secret-parts-missing keys should show
that fact in the capabilities.
2002-10-03 19:17:02 +00:00
David Shaw
3f2d94179f * packet.h, parse_packet (parse_key): Add is_primary flag for public keys
(it already exists for secret keys).

* keylist.c (print_capabilities): Only primary signing keys can certify
other keys.
2002-10-03 17:40:10 +00:00
David Shaw
27d526298b * import.c (import_secret_one): Check for an illegal (>110) protection
cipher when importing a secret key.

* keylist.c (list_keyblock_print): Show a '#' for a secret-parts-missing
key.

* parse_packet.c (parse_key): Some comments.

* revoke.c (gen_revoke): Remove some debugging code.

* trustdb.c (verify_own_keys): Make trusted-key a non-deprecated option
again.
2002-10-02 21:56:03 +00:00
David Shaw
b8e23f7cb2 * longlong.h: Some whitespace changes in HPPA to fix assembler problems on
HP-UX.  From David Ellement.
2002-10-02 20:12:59 +00:00
David Shaw
1cce547ab7 * tiger.c (tiger_get_info): Select the OID to use for TIGER at compile
time.
2002-10-02 19:57:37 +00:00
David Shaw
129cad6aaf * configure.ac: Make "new" the default for TIGER. Still use
--enable-new-tiger to select new from autoconf.
2002-10-02 19:52:41 +00:00
David Shaw
457eb4946f * configure.ac: Use a new option (--enable-new-tiger) to enable TIGER with
the correct OID.
2002-10-02 19:37:54 +00:00
David Shaw
bf31d26b1d * seckey-cert.c (do_check): Don't give the IDEA warning unless the cipher
in question is in fact IDEA.
2002-10-01 20:24:21 +00:00
David Shaw
4e197571be From devel branch
2002-09-26  Werner Koch  <wk@gnupg.org>

	* tiger.c (tiger_get_info): Use a regular OID.  Note that this
	breaks all TIGER generated signatures; if we want to do something
	about it we have to do it in ../g10/sig-check.c .
2002-10-01 17:34:08 +00:00
David Shaw
1e728329d7 * import.c (import_one): Make sure that a newly imported key starts with a
clean ownertrust. (import_revoke_cert): Remove ultimate trust when
revoking an ultimately trusted key.
2002-10-01 17:25:56 +00:00
Werner Koch
901ac5ed9b * getkey.c (get_pubkey_direct): New.
(merge_selfsigs_main): Use it here to look for an ultimately
trusted key.  Using the full get_pubkey might lead to a infinitive
recursion.
2002-10-01 08:29:47 +00:00
Werner Koch
5188a177f9 * pl.po: Fixed Content-Type entry to utf-8 which is the actual
encoding.
2002-10-01 07:21:01 +00:00
David Shaw
dd2840e227 * gpg.sgml: Note that --pgp2 disables --textmode when encrypting. 2002-09-30 16:27:36 +00:00
David Shaw
4d640a3384 * g10.c (main): Disable --textmode when encrypting (symmetric or pk) in
--pgp2 mode as PGP 2 can't handle the unknown length literal packet.
Reported by Michael Richardson.
2002-09-30 16:25:17 +00:00
David Shaw
745d270c07 * keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
lowercase to be case-insensitive.
2002-09-30 03:19:42 +00:00
David Shaw
1324f0c83a * sig-check.c (check_key_signature2): Properly handle a non-designated
revocation import.
2002-09-28 17:34:43 +00:00
Werner Koch
1f71f4c626 * g10.c (set_homedir): New. Changed all direct assignments to use
this.
* gpgv.c (set_homedir): Ditto.
2002-09-26 12:28:27 +00:00
Werner Koch
e440941db5 * gpgkeys_ldap.c (send_key): Removed non-constant initializers. 2002-09-26 11:27:47 +00:00
David Shaw
604874a01c * Makefile.am: Link bftest with EGDLIBS (i.e. NETLIBS) as EGD uses
sockets.
2002-09-25 11:38:55 +00:00
David Shaw
1e7e30fbd0 * THANKS: Remove duplicate.
* configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.
2002-09-25 11:36:02 +00:00
Werner Koch
7c82440112 * ca.po, fr.po: Updated. 2002-09-24 07:52:36 +00:00
Werner Koch
abd41eb715 1.2.0 has been released, prepare version numbers for possible bug fix release. 2002-09-21 11:58:56 +00:00
Werner Koch
5fcdc1167c * configure.ac: Bumbed version number and set development version
to no.
2002-09-21 10:19:15 +00:00
Werner Koch
6f78d370e7 * mk-w32-dist: Don't use iconv for pl.po. 2002-09-20 18:19:45 +00:00
Werner Koch
c66fa6eebe updated from source 2002-09-20 17:31:10 +00:00
Werner Koch
1819b7b00f * ca.po, cs.po, gl.po, id.po, it.po, ja.po, pl.po, pt.po: Updated.
* tr.el, el.po: Updated head branch.
* el.po: Removed 2 entries due to non-matching format specifiers.
2002-09-20 17:24:59 +00:00
David Shaw
d093bd0b73 * gpg.sgml: Some minor language cleanup. 2002-09-20 12:37:58 +00:00
Werner Koch
b84a50deb8 Oops. Fixed last fix. The diffstat tool is really useful. 2002-09-20 07:56:27 +00:00
Werner Koch
42230d3783 * mpicoder.c (do_get_buffer): Avoid zero length allocation.
Checked that all callers behave properly when NBYTES returns 0 as
the length of the allocated buffer.
2002-09-20 07:41:00 +00:00
Werner Koch
30c71fe67e * DETAILS (pkd): s/XORed/ORed/ 2002-09-20 06:01:32 +00:00
David Shaw
f76dc1d602 * gpgkeys_hkp.c (get_key, search_key): Properly handle line truncation. 2002-09-19 16:51:59 +00:00
David Shaw
908329f6bd * configure.ac: Try linking LDAP as just -lldap as it seems very recent
OpenLDAPs (>=2.0.23) support that.
2002-09-19 16:35:12 +00:00
David Shaw
d477cf2bfb * keylist.c (list_keyblock_colon): Show 1F direct key signatures in
--with-colons listing.

* keyserver.c (keyserver_spawn): Properly handle line truncation. Don't
leak memory (~10-20 bytes) on searches.
(keyserver_search_prompt): Cleanup.

* hkp.c (hkp_search): Properly handle line truncation.
2002-09-19 16:32:44 +00:00
Werner Koch
32a3f9ec4b * rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256. 2002-09-17 08:50:42 +00:00
David Shaw
1f19f73326 * keyedit.c (menu_addrevoker): The direct key signature for revocation
keys must be at least v4 to carry the revocation key subpacket.  Add a PGP
2.x warning for revocation keys.
2002-09-17 03:09:33 +00:00
Werner Koch
e3415c3549 * w32reg.c (read_w32_registry_string): Fallback to HLM. 2002-09-16 20:37:55 +00:00