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

922 Commits

Author SHA1 Message Date
David Shaw
23ac2c1e0a * secmem.c (secmem_free, secmem_term): Use wipememory2() instead of
memset() to overwrite secure memory.
2002-11-06 15:43:38 +00:00
David Shaw
49db742b75 * util.h: Add wipememory2() macro (same as wipememory, but can specify the
byte to wipe with).
2002-11-06 15:40:45 +00:00
David Shaw
90279250e8 * blowfish.c (burn_stack), cast5.c (burn_stack), des.c (burn_stack), md5.c
(burn_stack), random.c (burn_stack, read_pool, fast_random_poll),
rijndael.c (burn_stack), rmd160.c (burn_stack), rndegd.c
(rndegd_gather_random), rndlinux.c (rndlinux_gather_random), rndriscos.c
(rndriscos_gather_random), sha1.c (burn_stack), tiger.c (burn_stack),
twofish.c (burn_stack): Replace various calls to memset() with the more
secure wipememory().
2002-11-06 15:28:12 +00:00
David Shaw
666dcb370b * keyedit.c (show_key_with_all_names_colon): Don't stick nulls into the
--with-colons listing.
2002-11-05 22:30:59 +00:00
David Shaw
62ff9a5e89 * g10.c (main): Add a mostly noop --trust-model option to smooth
transition to 1.4.
2002-11-05 02:17:48 +00:00
David Shaw
8078c08969 * DETAILS: Clarify meaning of 'u'. Noted by Timo. 2002-11-04 18:00:16 +00:00
David Shaw
66c458f954 * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle an
input file that does not include any key data at all.
2002-11-04 13:49:31 +00:00
David Shaw
23d943d015 * Makefile.am: Put gnupg.spec in the root directory so rpm -ta works. 2002-10-31 17:55:38 +00:00
David Shaw
f77b885e65 * gnupg.spec.in: Update source ftp path. 2002-10-31 17:54:00 +00:00
David Shaw
456f89ea7a * build-packet.c (do_plaintext), encode.c (encode_sesskey, encode_simple,
encode_crypt), sign.c (write_plaintext_packet): Use wipememory() instead
of memset() to wipe sensitive memory as the memset() might be optimized
away.
2002-10-31 15:28:19 +00:00
David Shaw
92fb1251d0 * configure.ac: Add a check for volatile. 2002-10-31 15:23:10 +00:00
David Shaw
8be3f3e80c * util.h: Add wipememory() macro. 2002-10-31 15:22:21 +00:00
Werner Koch
321b88d0f6 * getkey.c (get_pubkey_direct): Renamed to...
(get_pubkey_fast): this and made extern.
(get_pubkey_byfprint_fast): New.
* import.c (import_one): Use get_pubkey_fast instead of
get_pubkey.  We don't need a merged key and actually this might
lead to recursions. --> There is still a problem, though.
(revocation_present): Likewise for search by fingerprint.

* g10.c (main): Try to create the trustdb even for non-colon-mode
list-key operations.  This is required because getkey needs to
know whether a a key is ultimately trusted.
2002-10-30 10:02:38 +00:00
Werner Koch
4be5257f2c * w32reg.c (read_w32_registry_string): Fixed expanding of the
environment buffer; didn't worked at all.  Reported by Thijmen
Klok.
2002-10-28 17:32:55 +00:00
Stefan Bellon
4884931476 reverted filetype patch 2002-10-28 15:26:43 +00:00
Stefan Bellon
191795d14b filetype support for RISC OS 2002-10-28 13:27:18 +00:00
David Shaw
875363153e * gnupg.spec.in: Use new path for keyserver helpers, /usr/lib is no longer
used for cipher/hash plugins, and include gpgv, gpgsplit, and the new
gnupg.7 man page.
2002-10-26 19:38:42 +00:00
Werner Koch
8befd90dfb version number change after release. 2002-10-25 12:22:43 +00:00
Werner Koch
47e7e7bbbd * README.W32: Add blurb on how to create a ZIP file, changed
requirement for mingw32 to 0.3.2.
2002-10-25 09:55:16 +00:00
Werner Koch
35a7fe81a6 Released 1.2.1. 2002-10-25 09:55:03 +00:00
Werner Koch
5eae37213c * et.po, ca.po, es.po: Updated from TP archive. 2002-10-25 09:09:47 +00:00
David Shaw
31f28dabba * gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output
protocol and program version.
2002-10-24 18:29:11 +00:00
Werner Koch
26c1f2620b * mk-w32-dist: Include gpgkeys_ldap. 2002-10-24 15:16:06 +00:00
Werner Koch
1a36831ed9 * configure.ac (GPGKEYS_LDAP,GPGKEYS_HKP): Add $EXEEXT. 2002-10-24 15:15:38 +00:00
David Shaw
38d3a8a302 * gpg.sgml: Document --refresh-keys. 2002-10-24 05:40:56 +00:00
Werner Koch
17edfbb907 * gpgsplit.c: New options --secret-to-public and --no-split.
GNUified the indentation style.
2002-10-23 08:58:36 +00:00
Werner Koch
d964ea1f84 * pubkey-enc.c (get_it): Fix segv, test for revoked only when PK
has been assigned.
2002-10-23 07:06:56 +00:00
Werner Koch
4b2cd72c24 * secmem.c (lock_pool) [__CYGWIN__]: Don't print secmem warning.
* iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available.
2002-10-21 16:32:10 +00:00
Werner Koch
07ebd38ff7 * util.h [__CYGWIN32__]: Don't need the registry prototypes. 2002-10-21 16:31:59 +00:00
Werner Koch
16e53ae196 * exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32;
we don't need it here as it behaves more like a Posix system.
* passphrase.c (agent_get_passphrase): Ditto.
* tdbio.c (MY_O_BINARY): Need binary mode with Cygwin.

* g10.c, gpgv.c (main) [__CYGWIN32__]: Don't get the homedir from
the registry.
2002-10-21 16:31:38 +00:00
Werner Koch
265b60b089 * rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not
required anymore.

* random.c (read_seed_file,update_random_seed_file): Use binary
mode for __CYGWIN__.
2002-10-21 16:31:17 +00:00
Werner Koch
9def01f51c * configure.ac (try_gettext): Remove special case for cygwin.
This removes all the DOS specific macros and let Cygwin work like
a real OS.  Needs a couple of changes elsewhere but after all,
GnuPG presents itself much more like a Posix program and can be
used in a full Cygwin environment; e.g. used along with mutt.
Changes suggested by Volker Quetschke.

* acinclude.m4 (GNUPG_SYS_NM_PARSE): Allow for underscore in test
symbols.  Useful for Cygwin builds.
(GNUPG_SYS_SYMBOL_UNDERSCORE): Don't hardwire to yes for Cygwin.
2002-10-21 16:31:02 +00:00
David Shaw
e9fc482162 * gpg.sgml: Clarify --force-mdc, and document --disable-mdc. 2002-10-19 13:14:39 +00:00
Werner Koch
63cd15d171 * et.po: Updated.
* de.po: Fixed 2 fuzzy entries.

update-po done.
2002-10-17 14:54:16 +00:00
Werner Koch
1ab0cadaac * config.links (powerpc-apple-darwin6.1): Disable assembler
due to non-working modules/as.  Suggested by Gordon Worley.
2002-10-17 14:52:44 +00:00
Werner Koch
575b4abda7 * faq.raw: New upstream version with new sections 1.3, 5.8, 6.20
and a list of MUAs.  Replaced ftp.guug.de URL.
2002-10-17 14:52:33 +00:00
Werner Koch
3ca93f344e * README: Add an installation note for Darwin 6.1. 2002-10-17 14:52:17 +00:00
Werner Koch
1f8d80a1b3 * pkclist.c (do_edit_ownertrust): Show all user IDs. This should
be enhanced to also show the current trust level.  Suggested by
Florian Weimer.
2002-10-17 13:49:30 +00:00
David Shaw
8a2dcb3bcb Bump version number. 2002-10-16 13:05:43 +00:00
David Shaw
6fdf832613 * README: Some typo fixes from Florian Weimer. 2002-10-16 13:04:48 +00:00
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