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

1239 Commits

Author SHA1 Message Date
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
Werner Koch
b086260a92 set codepages for tr and el 2002-09-12 14:39:02 +00:00
Werner Koch
365e3d72f0 * Makefile.am (EXTRA_DIST): Include gnupg-32.reg 2002-09-12 13:13:41 +00:00
Repo Admin
69161803cb This commit was manufactured by cvs2svn to create branch
'STABLE-BRANCH-1-2'.
2002-09-12 13:13:41 +00:00
David Shaw
811b782cba * DETAILS: Fix batch key generation example. 2002-09-12 12:12:58 +00:00
David Shaw
72cd3ef859 * keyserver.c (keyserver_spawn): Remove whitespace after keyserver
commands.
2002-09-12 12:10:04 +00:00
Werner Koch
75e055f063 fixed the test for a missing mail address RC-1-2-2rc2 RC-1-2-2rc1 RC-1-2-1rc1 V1-2-1 V1-2-0 2002-09-11 15:25:47 +00:00
Werner Koch
2351709858 * distfiles: Include mk-w32-dist. 2002-09-11 15:24:42 +00:00
Werner Koch
d0824bbbc1 Bumped version number 2002-09-11 15:08:18 +00:00
Werner Koch
86bc1e530e Argh, msgfmt reformatted some entries during the make distcheck V1-1-92 2002-09-11 14:56:46 +00:00
Werner Koch
d33f08a5dd About to release 1.1.92 2002-09-11 13:41:09 +00:00
Werner Koch
b4bb5fc072 * simple-gettext.c: Disable charset mappings. We do it now when
installing the files.
V1-2-2
2002-09-11 12:57:57 +00:00
Werner Koch
0bdb353363 * mk-w32-dist: Convert the character sets on a per language base. 2002-09-11 12:56:56 +00:00
Werner Koch
96396ff9f1 Updated texi files 2002-09-11 12:00:28 +00:00
Werner Koch
3605051728 * configure.ac (random_modules): The default random module for
system lacking a /dev/random is now auto selected at runtime.
2002-09-11 07:31:06 +00:00
Werner Koch
7a71a26d59 * mpi-bit.c (mpi_normalize): Replaced the check for protected by
is_opaque.
(mpi_get_nbits): Removed the special case for protected MPIs.
* mpicoder.c (do_get_buffer): Likewise.
(mpi_print): Removed the nbit_info printing.
V1-2-5 RC-1-2-5rc2 RC-1-2-5rc1 V1-2-4 RC-1-2-4rc1 V1-2-3 RC-1-2-3rc2 RC-1-2-3rc1
2002-09-11 07:28:44 +00:00
Werner Koch
c5445cc323 * g10.c, options.h: Removed option --emulate-checksum-bug.
* misc.c (checksum_u16_nobug): Removed.
(checksum_u16): Removed the bug emulation.
(checksum_mpi): Ditto.
(checksum_mpi_counted_nbits): Removed and replaced all calls
with checksum_mpi.
* parse-packet.c (read_protected_v3_mpi): New.
(parse_key): Use it here to store it as an opaque MPI.
* seckey-cert.c (do_check): Changed the v3 unprotection to the new
why to store these keys.
(protect_secret_key): Likewise.
* build-packet.c (do_secret_key): And changed the writing.
2002-09-11 07:27:54 +00:00
David Shaw
c30d7e8dc7 * exec.c (expand_args): Remove loop left over from earlier implementation.
(exec_write): Missed one tick.
2002-09-10 18:03:40 +00:00
Werner Koch
be5f6f7150 typo fixes and new credits. 2002-09-10 08:42:25 +00:00
Werner Koch
20c73570b3 typo fixes and disabled dummy cipher 2002-09-10 08:41:44 +00:00
Werner Koch
b324a5d2d1 Cleanups and minor fixes. 2002-09-10 08:40:12 +00:00
Werner Koch
1405471461 Added prototype. 2002-09-10 08:39:02 +00:00
Werner Koch
92f8a5d12a * gpgkeys_hkp.c (send_key, get_key, search_key): Check return
value of malloc.
(dehtmlize): Use ascii_tolower to protect against weird locales.
Cast the argument for isspace for the sake of broken HP/UXes.
(search_key): Check return value of realloc.
2002-09-10 08:28:40 +00:00
Werner Koch
d6a87e6b28 * mpicoder.c (mpi_set_buffer): Cast all left operands of a shift
to a larger type so that 16 bit CPUs don't suffer from an
overflow.  Suggested by TOGAWA Satoshi.
2002-09-10 08:28:03 +00:00
Werner Koch
075f862277 * w32reg.c (read_w32_registry_string): Handle REG_EXPAND_SZ.
Suggested by Ryan Malayter.
* strgutil.c (ascii_strcasecmp): Replaced by code from gnulib.
(ascii_strncasecmp): New.
2002-09-10 08:27:38 +00:00
David Shaw
e892058dba * gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like
using variables as array initializers.
2002-09-09 20:36:12 +00:00
David Shaw
b32a1d90e1 * gpgkeys_hkp.c (send_key): Use CRLF in headers. 2002-09-09 20:16:24 +00:00
David Shaw
d8eda8dbd1 * g10.c (add_group): Use '=' to separate group name from group members.
Use a better error message for when no = is found.

* hkp.c (hkp_export): Use CRLF in headers.
2002-09-09 19:21:58 +00:00
David Shaw
b20b90d225 * NEWS: typo.
* configure.ac: Add a link test for LDAP without -lresolv for HPUX.
Remove "hstrerror" test as it is no longer needed.
2002-09-09 16:40:14 +00:00
Werner Koch
d044a90f6c * gpg-agent.c (create_private_keys_directory)
(create_directories): New.
(main): Try to create a home directory.
2002-09-09 10:15:21 +00:00
Neal Walfield
32abeed559 2002-09-04 Neal H. Walfield <neal@g10code.de>
* gpg-agent.c (main): Use sigaction, not signal.
2002-09-05 16:28:31 +00:00
Neal Walfield
cab999130d 2002-09-04 Neal H. Walfield <neal@g10code.de>
* vasprintf.c (vasprintf) [va_copy]: Use va_copy.
	[!va_copy && __va_copy]: Use __va_copy.
	[!va_copy && !__va_copy]: Only now fall back to using memcpy.
2002-09-05 16:24:16 +00:00
Neal Walfield
712af9e3ca 2002-09-03 Neal H. Walfield <neal@g10code.de>
* findkey.c: Include <fcntl.h>.
	(agent_write_private_key): Prefer POSIX compatibity, open and
	fdopen, over the simplicity of GNU extensions, fopen(file, "x").
2002-09-05 16:21:43 +00:00