gnupg.git
16 years ago* gpg.sgml: Note that '#' means secret-key-unavailable, and that keyserver
David Shaw [Thu, 3 Oct 2002 21:57:58 +0000 (21:57 +0000)]
* gpg.sgml: Note that '#' means secret-key-unavailable, and that keyserver
schemes are case-insensitive.

* gpg.sgml: Note that --pgp2 disables --textmode when encrypting.

16 years ago* keylist.c (print_capabilities): Secret-parts-missing keys should show
David Shaw [Thu, 3 Oct 2002 19:20:37 +0000 (19:20 +0000)]
* keylist.c (print_capabilities): Secret-parts-missing keys should show
that fact in the capabilities, and only primary signing keys can certify
other keys.

* packet.h, parse_packet.c (parse_key): Add is_primary flag for public
keys (it already exists for secret keys).

16 years ago* import.c (import_secret_one): Check for an illegal (>110) protection
David Shaw [Wed, 2 Oct 2002 22:01:29 +0000 (22:01 +0000)]
* 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.

* seckey-cert.c (do_check): Don't give the IDEA warning unless the cipher
in question is in fact IDEA.

16 years ago* longlong.h: Some whitespace changes in HPPA to fix assembler problems on
David Shaw [Wed, 2 Oct 2002 20:15:40 +0000 (20:15 +0000)]
* longlong.h: Some whitespace changes in HPPA to fix assembler problems on
HP-UX.  From David Ellement.

16 years ago* configure.ac: Add an --enable-old-tiger, to revert back to the
David Shaw [Wed, 2 Oct 2002 20:05:37 +0000 (20:05 +0000)]
* configure.ac: Add an --enable-old-tiger, to revert back to the
old OID.

16 years ago* tiger.c (tiger_get_info): Select the OID to use for TIGER at compile
David Shaw [Wed, 2 Oct 2002 19:59:43 +0000 (19:59 +0000)]
* tiger.c (tiger_get_info): Select the OID to use for TIGER at compile
time.

16 years ago* import.c (import_one): Make sure that a newly imported key starts with a
David Shaw [Tue, 1 Oct 2002 17:32:06 +0000 (17:32 +0000)]
* import.c (import_one): Make sure that a newly imported key starts with a
clean ownertrust.

16 years ago* getkey.c (get_pubkey_direct): New.
Werner Koch [Tue, 1 Oct 2002 08:38:24 +0000 (08:38 +0000)]
* 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 an
infinitive recursion.

16 years ago* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
David Shaw [Mon, 30 Sep 2002 03:28:41 +0000 (03:28 +0000)]
* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
lowercase to be case-insensitive.

16 years ago2002-09-28 David Shaw <dshaw@jabberwocky.com>
David Shaw [Sat, 28 Sep 2002 17:49:38 +0000 (17:49 +0000)]
2002-09-28  David Shaw  <dshaw@jabberwocky.com>

* export.c (do_export_stream): Comment.

* sig-check.c (check_key_signature2): Properly handle a
non-designated revocation import.

2002-09-26  Werner Koch  <wk@gnupg.org>

* g10.c (set_homedir): New. Changed all direct assignments to use
this.
* gpgv.c (set_homedir): Ditto.

16 years agoFrom stable branch
David Shaw [Fri, 27 Sep 2002 19:33:52 +0000 (19:33 +0000)]
From stable branch
* gpgkeys_ldap.c (send_key): Removed non-constant initializers.

16 years ago* Makefile.am, md.c (load_digest_module): TIGER is now always enabled.
David Shaw [Fri, 27 Sep 2002 19:27:24 +0000 (19:27 +0000)]
* Makefile.am, md.c (load_digest_module): TIGER is now always enabled.

16 years ago* configure.ac: Remove --enable-tiger, as TIGER is now always enabled.
David Shaw [Fri, 27 Sep 2002 19:24:19 +0000 (19:24 +0000)]
* configure.ac: Remove --enable-tiger, as TIGER is now always enabled.

16 years ago* tiger.c (tiger_get_info): Use a regular OID. Note that this
Werner Koch [Thu, 26 Sep 2002 09:35:19 +0000 (09:35 +0000)]
* 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 .

16 years ago* gpg-agent.c (handle_signal): Flush cache on SIGHUP.
Werner Koch [Thu, 26 Sep 2002 07:10:56 +0000 (07:10 +0000)]
* gpg-agent.c (handle_signal): Flush cache on SIGHUP.
* cache.c (agent_flush_cache): New.
* gpg-agent.c, agent.h: Add --keep-display and --keep-tty.
* query.c (start_pinentry): Implement them.  The option passing
needs more thoughts.

16 years ago* Makefile.am: Link gpg with EGDLIBS (i.e. NETLIBS) as EGD uses sockets.
David Shaw [Wed, 25 Sep 2002 11:30:51 +0000 (11:30 +0000)]
* Makefile.am: Link gpg with EGDLIBS (i.e. NETLIBS) as EGD uses sockets.
Remove the old NETLIBS variable since the keyserver stuff is no longer
internal.

16 years ago* Makefile.am: Link bftest with EGDLIBS (i.e. NETLIBS) as EGD uses
David Shaw [Wed, 25 Sep 2002 11:29:14 +0000 (11:29 +0000)]
* Makefile.am: Link bftest with EGDLIBS (i.e. NETLIBS) as EGD uses
sockets.

16 years ago* configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.
David Shaw [Wed, 25 Sep 2002 11:26:08 +0000 (11:26 +0000)]
* configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.

16 years ago* import.c (import_keys_stream): Fix compiler type warning.
David Shaw [Tue, 24 Sep 2002 21:20:48 +0000 (21:20 +0000)]
* import.c (import_keys_stream): Fix compiler type warning.

* keyring.c (keyring_rebuild_cache), sig-check.c (check_key_signature2),
import.c (import, chk_self_sigs): Minor language cleanups.

16 years ago* http.c (connect_server): Try all A records for names with multiple
David Shaw [Tue, 24 Sep 2002 21:06:20 +0000 (21:06 +0000)]
* http.c (connect_server): Try all A records for names with multiple
addresses until one answers (not MINGW32).

16 years ago* gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key,
David Shaw [Tue, 24 Sep 2002 20:17:52 +0000 (20:17 +0000)]
* gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key,
search_key, main): Some minor error reporting enhancements for use with
GPA (show reasons for KEY FAILED).

16 years ago* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error
David Shaw [Tue, 24 Sep 2002 19:50:09 +0000 (19:50 +0000)]
* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error
reporting enhancements for use with GPA.

16 years ago* keyserver.h: Add some new error codes for better GPA support.
David Shaw [Tue, 24 Sep 2002 18:29:57 +0000 (18:29 +0000)]
* keyserver.h: Add some new error codes for better GPA support.

16 years ago* THANKS: Remove duplicate.
David Shaw [Tue, 24 Sep 2002 13:41:51 +0000 (13:41 +0000)]
* THANKS: Remove duplicate.

* NEWS: Bring in cosmetic changes from stable branch.

* configure.ac: Figure out whether the LDAP library supports
ldap_get_option, ld_errno, or neither.

16 years agoadded fast-import to import-options
Stefan Bellon [Mon, 23 Sep 2002 13:03:52 +0000 (13:03 +0000)]
added fast-import to import-options

16 years agoavoid function clone
Stefan Bellon [Sun, 22 Sep 2002 09:20:08 +0000 (09:20 +0000)]
avoid function clone

16 years agoadded trustdb update/check for stream import as well
Stefan Bellon [Sat, 21 Sep 2002 23:59:59 +0000 (23:59 +0000)]
added trustdb update/check for stream import as well

16 years agotrustdb checks/updates after import
Stefan Bellon [Sat, 21 Sep 2002 21:57:22 +0000 (21:57 +0000)]
trustdb checks/updates after import

16 years ago* gpg.sgml: Some minor language cleanup.
David Shaw [Fri, 20 Sep 2002 12:58:26 +0000 (12:58 +0000)]
* gpg.sgml: Some minor language cleanup.

16 years ago* mpicoder.c (do_get_buffer): Avoid zero length allocation.
Werner Koch [Fri, 20 Sep 2002 07:40:01 +0000 (07:40 +0000)]
* 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.

16 years ago* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid
Werner Koch [Fri, 20 Sep 2002 07:39:54 +0000 (07:39 +0000)]
* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid
shadowing warning.

16 years agocomment type fix
Werner Koch [Fri, 20 Sep 2002 07:37:44 +0000 (07:37 +0000)]
comment type fix

16 years ago* DETAILS: s/XORed/ORed/.
Werner Koch [Fri, 20 Sep 2002 06:01:14 +0000 (06:01 +0000)]
* DETAILS: s/XORed/ORed/.

16 years agoFrom stable branch
David Shaw [Thu, 19 Sep 2002 17:13:03 +0000 (17:13 +0000)]
From stable branch

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

* keylist.c (list_keyblock_colon): Show 1F direct key signatures in
--with-colons listing.

16 years ago* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly
David Shaw [Thu, 19 Sep 2002 17:03:42 +0000 (17:03 +0000)]
* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly
handle line truncation.

16 years agoFrom stable branch
David Shaw [Thu, 19 Sep 2002 16:39:16 +0000 (16:39 +0000)]
From stable branch

* configure.ac: Try linking LDAP as just -lldap as it seems very recent
OpenLDAPs (>=2.0.23) support that.

16 years ago* certcheck.c (gpgsm_check_cert_sig): Add cert hash debugging. NEWPG-0-9-2
Werner Koch [Thu, 19 Sep 2002 12:59:57 +0000 (12:59 +0000)]
* certcheck.c (gpgsm_check_cert_sig): Add cert hash debugging.

* certchain.c (find_up): Print info when the cert was not found
by the autorithyKeyIdentifier.

16 years agoFrom stable branch
David Shaw [Wed, 18 Sep 2002 20:37:05 +0000 (20:37 +0000)]
From stable branch

2002-09-14  David Shaw  <dshaw@jabberwocky.com>

* 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-12  David Shaw  <dshaw@jabberwocky.com>

* NEWS: Note that the old IDEA plugin won't work with post-1.1.90
gpg.

16 years ago* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
Werner Koch [Tue, 17 Sep 2002 08:53:07 +0000 (08:53 +0000)]
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.

16 years agoFrom stable branch
David Shaw [Tue, 17 Sep 2002 03:21:13 +0000 (03:21 +0000)]
From stable branch

* 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.

* 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.

16 years ago* w32reg.c (read_w32_registry_string): Fallback to HLM.
Werner Koch [Mon, 16 Sep 2002 20:37:38 +0000 (20:37 +0000)]
* w32reg.c (read_w32_registry_string): Fallback to HLM.

16 years ago* gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so
David Shaw [Mon, 16 Sep 2002 14:35:19 +0000 (14:35 +0000)]
* 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.

16 years ago* gpg.sgml: Add rebuild-keydb-caches.
Werner Koch [Sun, 15 Sep 2002 17:57:55 +0000 (17:57 +0000)]
* gpg.sgml: Add rebuild-keydb-caches.

16 years ago* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a
David Shaw [Fri, 13 Sep 2002 18:45:36 +0000 (18:45 +0000)]
* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a
machine-readable key index.  If the server supports this, pass it through.
If the server does not support it, parse the "index" page.

16 years agoImport from stable branch.
David Shaw [Fri, 13 Sep 2002 12:59:31 +0000 (12:59 +0000)]
Import from stable branch.

2002-09-13  David Shaw  <dshaw@jabberwocky.com>

* 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  Werner Koch  <wk@gnupg.org>

* g10.c (main) [__MINGW32__]: Activate oLoadExtension.

16 years agoupdated RISC OS stuff
Stefan Bellon [Thu, 12 Sep 2002 16:25:36 +0000 (16:25 +0000)]
updated RISC OS stuff

16 years agoAdded tr and el rule.
Werner Koch [Thu, 12 Sep 2002 13:11:51 +0000 (13:11 +0000)]
Added tr and el rule.

16 years ago* tr.po, el.po: Updated.
Werner Koch [Thu, 12 Sep 2002 13:11:02 +0000 (13:11 +0000)]
* tr.po, el.po: Updated.

16 years ago* Makefile.am (EXTRA_DIST): Include gnupg-32.reg
Werner Koch [Thu, 12 Sep 2002 13:09:09 +0000 (13:09 +0000)]
* Makefile.am (EXTRA_DIST): Include gnupg-32.reg

16 years ago* Makefile.am, hkp.c, hkp.h, keyserver.c (keyserver_work): Remove internal
David Shaw [Thu, 12 Sep 2002 12:45:58 +0000 (12:45 +0000)]
* Makefile.am, hkp.c, hkp.h, keyserver.c (keyserver_work): Remove internal
HKP support.

16 years ago* gpgkeys_hkp.c (main): Remove warning - this is no longer experimental
David Shaw [Thu, 12 Sep 2002 12:31:31 +0000 (12:31 +0000)]
* gpgkeys_hkp.c (main): Remove warning - this is no longer experimental
code.

16 years ago* configure.ac: Remove --enable-external-hkp as this is always on now.
David Shaw [Thu, 12 Sep 2002 12:28:44 +0000 (12:28 +0000)]
* configure.ac: Remove --enable-external-hkp as this is always on now.
Add --disable-hkp to match the other --disable-{keyservertype} options.

* NEWS, configure.ac: Move to devel version 1.3.

16 years ago* DETAILS: Fix batch key generation example.
David Shaw [Thu, 12 Sep 2002 12:12:58 +0000 (12:12 +0000)]
* DETAILS: Fix batch key generation example.

16 years ago* keyserver.c (keyserver_spawn): Remove whitespace after keyserver
David Shaw [Thu, 12 Sep 2002 12:10:04 +0000 (12:10 +0000)]
* keyserver.c (keyserver_spawn): Remove whitespace after keyserver
commands.

16 years agofixed the test for a missing mail address RC-1-2-1rc1 RC-1-2-2rc1 RC-1-2-2rc2 V1-2-0 V1-2-1
Werner Koch [Wed, 11 Sep 2002 15:25:47 +0000 (15:25 +0000)]
fixed the test for a missing mail address

16 years ago* distfiles: Include mk-w32-dist.
Werner Koch [Wed, 11 Sep 2002 15:24:42 +0000 (15:24 +0000)]
* distfiles: Include mk-w32-dist.

16 years agoBumped version number
Werner Koch [Wed, 11 Sep 2002 15:08:18 +0000 (15:08 +0000)]
Bumped version number

16 years agoArgh, msgfmt reformatted some entries during the make distcheck V1-1-92
Werner Koch [Wed, 11 Sep 2002 14:56:46 +0000 (14:56 +0000)]
Argh, msgfmt reformatted some entries during the make distcheck

16 years agoAbout to release 1.1.92
Werner Koch [Wed, 11 Sep 2002 13:41:09 +0000 (13:41 +0000)]
About to release 1.1.92

16 years ago* simple-gettext.c: Disable charset mappings. We do it now when V1-2-2
Werner Koch [Wed, 11 Sep 2002 12:57:57 +0000 (12:57 +0000)]
* simple-gettext.c: Disable charset mappings.  We do it now when
installing the files.

16 years ago* mk-w32-dist: Convert the character sets on a per language base.
Werner Koch [Wed, 11 Sep 2002 12:56:56 +0000 (12:56 +0000)]
* mk-w32-dist: Convert the character sets on a per language base.

16 years agoUpdated texi files
Werner Koch [Wed, 11 Sep 2002 12:00:28 +0000 (12:00 +0000)]
Updated texi files

16 years ago* configure.ac (random_modules): The default random module for
Werner Koch [Wed, 11 Sep 2002 07:31:06 +0000 (07:31 +0000)]
* configure.ac (random_modules): The default random module for
system lacking a /dev/random is now auto selected at runtime.

16 years ago* mpi-bit.c (mpi_normalize): Replaced the check for protected by RC-1-2-3rc1 RC-1-2-3rc2 RC-1-2-4rc1 RC-1-2-5rc1 RC-1-2-5rc2 V1-2-3 V1-2-4 V1-2-5
Werner Koch [Wed, 11 Sep 2002 07:28:44 +0000 (07:28 +0000)]
* 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.

16 years ago* g10.c, options.h: Removed option --emulate-checksum-bug.
Werner Koch [Wed, 11 Sep 2002 07:27:54 +0000 (07:27 +0000)]
* 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.

16 years ago* exec.c (expand_args): Remove loop left over from earlier implementation.
David Shaw [Tue, 10 Sep 2002 18:03:40 +0000 (18:03 +0000)]
* exec.c (expand_args): Remove loop left over from earlier implementation.
(exec_write): Missed one tick.

16 years agotypo fixes and new credits.
Werner Koch [Tue, 10 Sep 2002 08:42:25 +0000 (08:42 +0000)]
typo fixes and new credits.

16 years agotypo fixes and disabled dummy cipher
Werner Koch [Tue, 10 Sep 2002 08:41:44 +0000 (08:41 +0000)]
typo fixes and disabled dummy cipher

16 years agoCleanups and minor fixes.
Werner Koch [Tue, 10 Sep 2002 08:40:12 +0000 (08:40 +0000)]
Cleanups and minor fixes.

16 years agoAdded prototype.
Werner Koch [Tue, 10 Sep 2002 08:39:02 +0000 (08:39 +0000)]
Added prototype.

16 years ago* gpgkeys_hkp.c (send_key, get_key, search_key): Check return
Werner Koch [Tue, 10 Sep 2002 08:28:40 +0000 (08:28 +0000)]
* 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.

16 years ago* mpicoder.c (mpi_set_buffer): Cast all left operands of a shift
Werner Koch [Tue, 10 Sep 2002 08:28:03 +0000 (08:28 +0000)]
* 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.

16 years ago* w32reg.c (read_w32_registry_string): Handle REG_EXPAND_SZ.
Werner Koch [Tue, 10 Sep 2002 08:27:38 +0000 (08:27 +0000)]
* 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.

16 years ago* gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like
David Shaw [Mon, 9 Sep 2002 20:36:12 +0000 (20:36 +0000)]
* gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like
using variables as array initializers.

16 years ago* gpgkeys_hkp.c (send_key): Use CRLF in headers.
David Shaw [Mon, 9 Sep 2002 20:16:24 +0000 (20:16 +0000)]
* gpgkeys_hkp.c (send_key): Use CRLF in headers.

16 years ago* g10.c (add_group): Use '=' to separate group name from group members.
David Shaw [Mon, 9 Sep 2002 19:21:58 +0000 (19:21 +0000)]
* 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.

16 years ago* NEWS: typo.
David Shaw [Mon, 9 Sep 2002 16:40:14 +0000 (16:40 +0000)]
* NEWS: typo.

* configure.ac: Add a link test for LDAP without -lresolv for HPUX.
Remove "hstrerror" test as it is no longer needed.

16 years ago* gpg-agent.c (create_private_keys_directory)
Werner Koch [Mon, 9 Sep 2002 10:15:21 +0000 (10:15 +0000)]
* gpg-agent.c (create_private_keys_directory)
(create_directories): New.
(main): Try to create a home directory.

16 years ago2002-09-04 Neal H. Walfield <neal@g10code.de>
Neal Walfield [Thu, 5 Sep 2002 16:28:31 +0000 (16:28 +0000)]
2002-09-04  Neal H. Walfield  <neal@g10code.de>

* gpg-agent.c (main): Use sigaction, not signal.

16 years ago2002-09-04 Neal H. Walfield <neal@g10code.de>
Neal Walfield [Thu, 5 Sep 2002 16:24:16 +0000 (16:24 +0000)]
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.

16 years ago2002-09-03 Neal H. Walfield <neal@g10code.de>
Neal Walfield [Thu, 5 Sep 2002 16:21:43 +0000 (16:21 +0000)]
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").

16 years ago2002-09-04 Neal H. Walfield <neal@g10code.de>
Neal Walfield [Thu, 5 Sep 2002 00:44:29 +0000 (00:44 +0000)]
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.

16 years ago2002-09-04 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 4 Sep 2002 13:04:49 +0000 (13:04 +0000)]
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.

16 years ago2002-09-03 Neal H. Walfield <neal@cs.uml.edu>
Neal Walfield [Wed, 4 Sep 2002 03:16:09 +0000 (03:16 +0000)]
2002-09-03  Neal H. Walfield  <neal@cs.uml.edu>

* Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from
LDFLAGS.

16 years ago* mainproc.c (print_pkenc_list): Don't increment the error counter when
David Shaw [Wed, 4 Sep 2002 02:48:47 +0000 (02:48 +0000)]
* 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.

16 years agonew test certs and messages
Werner Koch [Tue, 3 Sep 2002 14:54:18 +0000 (14:54 +0000)]
new test certs and messages

16 years ago* gpgsm.c (main): Disable the internal libgcrypt locking.
Werner Koch [Tue, 3 Sep 2002 14:53:53 +0000 (14:53 +0000)]
* gpgsm.c (main): Disable the internal libgcrypt locking.

16 years ago* gnupg.7: New mini man page.
Werner Koch [Mon, 2 Sep 2002 13:50:05 +0000 (13:50 +0000)]
* gnupg.7: New mini man page.

* README: Removed the note about a development version so that we
later don't forget this.  Minor other changes.

16 years ago* mk-w32-dist: Include more man pages and gpg split. Changed name
Werner Koch [Mon, 2 Sep 2002 13:44:29 +0000 (13:44 +0000)]
* mk-w32-dist: Include more man pages and gpg split.  Changed name
of ZIP file to better indicate that this is a command line version.

16 years agoMoved some items from TODO to NEWS.
Werner Koch [Mon, 2 Sep 2002 10:59:54 +0000 (10:59 +0000)]
Moved some items from TODO to NEWS.

16 years ago* g10.c (main): Try to set a default character set. Print the
Werner Koch [Mon, 2 Sep 2002 10:59:04 +0000 (10:59 +0000)]
* g10.c (main): Try to set a default character set.  Print the
used one in verbosity level 3.
* gpgv.c (main): Try to set a default character set.

* status.c, status.h (STATUS_IMPORT_OK): New.
* import.c (import_one,import_secret_one): Print new status.

16 years ago* gpg.sgml: Updated the charset option.
Werner Koch [Mon, 2 Sep 2002 10:58:46 +0000 (10:58 +0000)]
* gpg.sgml: Updated the charset option.

* DETAILS: Added status IMPORT_OK.

16 years ago* strgutil.c (set_native_charset): Allow NULL as argument to use
Werner Koch [Mon, 2 Sep 2002 10:58:30 +0000 (10:58 +0000)]
* strgutil.c (set_native_charset): Allow NULL as argument to use
nl_langinfo for selection.  Mapped latin-15 to latin-1.

16 years ago* gnupg.7: New mini man page.
Werner Koch [Mon, 2 Sep 2002 08:47:38 +0000 (08:47 +0000)]
* gnupg.7: New mini man page.

16 years ago* gpg.sgml: Document keyserver-option include-subkeys. Note that
David Shaw [Fri, 30 Aug 2002 19:28:33 +0000 (19:28 +0000)]
* gpg.sgml: Document keyserver-option include-subkeys.  Note that
honor-http-proxy is a keyserver-option now.

* DETAILS: Add "Key not trusted" to INV_RECP status code.

16 years ago* pkclist.c (build_pk_list): Add new status code to indicate an untrusted
David Shaw [Fri, 30 Aug 2002 19:21:55 +0000 (19:21 +0000)]
* pkclist.c (build_pk_list): Add new status code to indicate an untrusted
user.  This (or a disabled key) fail with "unavailable pubkey"
(G10ERR_UNU_PUBKEY).

16 years ago* pkclist.c (build_pk_list): Fail if any recipient keys are unusable.
David Shaw [Fri, 30 Aug 2002 18:01:32 +0000 (18:01 +0000)]
* pkclist.c (build_pk_list): Fail if any recipient keys are unusable.

* options.skel: The PGP LDAP keyserver is back.  Use MIT keyserver as a
sample rather than cryptnet as cryptnet does not support searching yet.

* keyedit.c (show_key_with_all_names): Fix error message (preferences are
userid/selfsig and not key specific).

16 years ago* iobuf.c (block_filter): Removed the assert, so that one can pass
Werner Koch [Fri, 30 Aug 2002 16:37:09 +0000 (16:37 +0000)]
* iobuf.c (block_filter): Removed the assert, so that one can pass
the first character of a message and use the block filter for
non partial length encoded packets.

16 years ago* configure.ac (random_modules): Reworked the code to select the
Werner Koch [Fri, 30 Aug 2002 16:36:08 +0000 (16:36 +0000)]
* configure.ac (random_modules): Reworked the code to select the
random module.  Define USE_ALL_RANDOM_MODULES for value all.

16 years ago* pkclist.c (do_we_trust_pre): Changed the wording of a warning.
Werner Koch [Fri, 30 Aug 2002 16:34:13 +0000 (16:34 +0000)]
* pkclist.c (do_we_trust_pre): Changed the wording of a warning.

* encode.c (encode_simple,encode_crypt): Use new style CTB for
compressssed packets when using MDC.  We need to do this so that
concatenated messages are properly decrypted.  Old style
compression assumes that it is the last packet; given that we
can't determine the length in advance, the uncompressor does not
know where to start.  Actually we should use the new CTB always
but this would break PGP 2 compatibility.
* parse-packet.c (parse): Special treatment for new style CTB
compressed packets.

* build-packet.c (do_mdc): Removed. Was not used.
(do_encrypted_mdc): Count the version number and the MDC packet.