1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-13 22:08:52 +01:00
Commit Graph

1071 Commits

Author SHA1 Message Date
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
David Shaw
62760da457 * gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so
people can set their own email address to respond to.

* gpgkeys_hkp.c (get_key): Properly respond with KEY FAILED (to gpg) and
"key not found" (to user) on failure.
2002-09-16 14:33:32 +00:00
Werner Koch
8d8e90b52d * gpg.sgml: Add rebuild-keydb-caches. 2002-09-15 17:57:36 +00:00
David Shaw
9da9e88433 * g10.c (check permissions): Back out previous change - some translations
already done for 1.2.
2002-09-15 11:16:04 +00:00
David Shaw
3643188d72 * configure.ac: Try linking LDAP without -lresolv first, just in case the
platform has libresolv, but doesn't actually need it to use LDAP.
2002-09-15 03:27:16 +00:00
David Shaw
d29d483e5f * g10.c (check_permissions): Rearrange strings to make translating easier
(don't incorporate string parts).

* keyedit.c (sign_uids): Make strings translatable.

* sig-check.c (check_key_signature2): Make string translatable.
2002-09-15 03:15:56 +00:00
David Shaw
0e7778cb51 * getkey.c (check_revocation_keys): Move....
* main.h, sig-check.c (check_revocation_keys): to here.  Also return the
signature_check error code rather than 0/1 and cache the sig result.

* sig-check.c (check_key_signature2): Divert to check_revocation_keys if a
revocation sig is made by someone other than the pk owner.

* getkey.c (merge_selfsigs_main): Tidy.
2002-09-13 12:52:30 +00:00
Werner Koch
86d681d8f0 * g10.c (main) [__MINGW32__]: Activate oLoadExtension. 2002-09-13 07:52:45 +00:00
David Shaw
92be9d7380 * NEWS: Note that the old IDEA plugin won't work with post-1.1.90 gpg. 2002-09-12 19:17:22 +00:00
Werner Koch
a36ee23168 test 2002-09-12 15:07:06 +00:00
Werner Koch
c00624b79d test 2002-09-12 15:00:14 +00:00
Werner Koch
f095c82991 cvs log test 2002-09-12 14:57:10 +00:00