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

1285 Commits

Author SHA1 Message Date
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 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 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.
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.
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
Neal Walfield
f27e05f3aa 2002-09-04 Neal H. Walfield <neal@g10code.de>
* Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH, but
	rather prepend it.  Be more robust and prefer printf over echo -n.
2002-09-05 00:44:29 +00:00
Marcus Brinkmann
cfca45dcd5 2002-09-04 Marcus Brinkmann <marcus@g10code.de>
* asschk.c (start_server): Close the parent's file descriptors in
	the child.
	(read_assuan): Variable NREAD removed.  Cut off the received line
	currectly if more than one line was read.
2002-09-04 13:04:49 +00:00
Neal Walfield
836d63c0f5 2002-09-03 Neal H. Walfield <neal@cs.uml.edu>
* Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from
	LDFLAGS.
2002-09-04 03:16:09 +00:00
David Shaw
8dccf882f7 * mainproc.c (print_pkenc_list): Don't increment the error counter when
printing the list of keys a message was encrypted to.  This would make gpg
give a non-zero exit code even for completely valid messages if the
message was encrypted to more than one key that the user owned.
2002-09-04 02:48:47 +00:00