gnupg.git
11 years ago* defs.inc (all_cipher_algos): New function to return all ciphers we
David Shaw [Mon, 14 May 2007 23:16:05 +0000 (23:16 +0000)]
* defs.inc (all_cipher_algos): New function to return all ciphers we
support.  This is safer than the previous setup which could hide that
some ciphers weren't being tested.  Plus, this automatically tests any
new ciphers we may add.

* conventional.test, encrypt-test, encrypt-dsa.test,
conventional-mdc.test: Use it here.

11 years ago* conventional.test, encrypt.test, encrypt-dsa.test,
David Shaw [Wed, 2 May 2007 17:20:45 +0000 (17:20 +0000)]
* conventional.test, encrypt.test, encrypt-dsa.test,
conventional-mdc.test: Fix some broken tests that were only testing
3DES instead of all available ciphers.

11 years ago* packet.h, mainproc.c (reset_literals_seen): New function to reset
David Shaw [Tue, 17 Apr 2007 04:00:38 +0000 (04:00 +0000)]
* packet.h, mainproc.c (reset_literals_seen): New function to reset
the literals count.

* verify.c (verify_one_file), decrypt.c (decrypt_messages): Call it
here so we allow multiple literals in --multifile mode (in different
files - not concatenated together).

11 years ago* gpgkeys_hkp.c (main): Show curl or fake-curl version string.
David Shaw [Mon, 16 Apr 2007 22:47:20 +0000 (22:47 +0000)]
* gpgkeys_hkp.c (main): Show curl or fake-curl version string.

* Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.

11 years ago* gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename all
David Shaw [Mon, 16 Apr 2007 22:43:29 +0000 (22:43 +0000)]
* gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename all
str(n)casecmp to ascii_str(n)casecmp.  We want the locale-independent
ones here.

11 years agoMove some ascii_foo functions to libcompat
David Shaw [Mon, 16 Apr 2007 22:32:28 +0000 (22:32 +0000)]
Move some ascii_foo functions to libcompat

11 years ago* gpg.c, pkclist.c: #include <strings.h> for strcasecmp if it is
David Shaw [Mon, 16 Apr 2007 21:55:53 +0000 (21:55 +0000)]
* gpg.c, pkclist.c: #include <strings.h> for strcasecmp if it is
present.  Note that autoconf protects us against a strings.h that
cannot be used together with string.h.

11 years agoutil/
Werner Koch [Mon, 16 Apr 2007 15:37:45 +0000 (15:37 +0000)]
util/
* secmem.c (init_pool): Avoid assigning a negative value to a
size_t.
./
* acinclude.m4: Fix last change.  Make test self-conatined by
checking for sysconf and getpagesize.  Remove indentation for the
sake of broken C-89 cpps.

11 years agoDon't build shmtest unless we have shm.
David Shaw [Mon, 16 Apr 2007 15:32:49 +0000 (15:32 +0000)]
Don't build shmtest unless we have shm.

11 years agoUse sysconf() when possible as not all platforms have getpagesize().
David Shaw [Mon, 16 Apr 2007 13:37:09 +0000 (13:37 +0000)]
Use sysconf() when possible as not all platforms have getpagesize().

11 years ago* argparse.c (default_strusage): Copyright 2007.
David Shaw [Sun, 15 Apr 2007 16:37:01 +0000 (16:37 +0000)]
* argparse.c (default_strusage): Copyright 2007.

* cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().

11 years ago* configure.ac: QNX puts resolver functions in libsocket. From Sean
David Shaw [Sun, 15 Apr 2007 14:30:11 +0000 (14:30 +0000)]
* configure.ac: QNX puts resolver functions in libsocket.  From Sean
Boudreau.

11 years ago* parse-packet.c (parse_marker): New. Enforce that the marker
David Shaw [Wed, 4 Apr 2007 04:00:20 +0000 (04:00 +0000)]
* parse-packet.c (parse_marker): New.  Enforce that the marker
contains 'P', 'G', 'P', and nothing but.  (parse): Call it here.
(skip_packet): No longer need to handle marker packets here.

11 years ago* keyserver.c: Windows Vista doesn't grok X_OK and so fails access()
David Shaw [Wed, 14 Mar 2007 13:15:50 +0000 (13:15 +0000)]
* keyserver.c: Windows Vista doesn't grok X_OK and so fails access()
tests.  Previous versions interpreted X_OK as F_OK anyway, so we'll
just use F_OK directly.

11 years ago* gpgkeys_curl.c (main): Use curl_version_info to verify that the
David Shaw [Tue, 13 Mar 2007 17:53:57 +0000 (17:53 +0000)]
* gpgkeys_curl.c (main): Use curl_version_info to verify that the
protocol we're about to use is actually available.

* curl-shim.h, curl-shim.c (curl_free): Make into a macro.
(curl_version_info): New.  Only advertises "http" for our shim, of
course.

11 years agoAdd extra fflush (stdout)
Werner Koch [Thu, 8 Mar 2007 12:13:15 +0000 (12:13 +0000)]
Add extra fflush (stdout)

11 years ago* keyedit.c (keyedit_menu): If we modify the keyblock (via
David Shaw [Tue, 6 Mar 2007 06:39:38 +0000 (06:39 +0000)]
* keyedit.c (keyedit_menu): If we modify the keyblock (via
fix_keyblock() or collapse_uids()) make sure we reprocess the keyblock
so the flags are correct.  Noted by Robin H. Johnson.

* getkey.c (fixup_uidnode): Properly clear flags that don't apply to
us (revoked, expired) so that we can reprocess a uid.

11 years agoPost release update
Werner Koch [Mon, 5 Mar 2007 10:46:33 +0000 (10:46 +0000)]
Post release update

11 years agoPreparing 1.4.7 gnupg-1.4.7
Werner Koch [Mon, 5 Mar 2007 10:22:56 +0000 (10:22 +0000)]
Preparing 1.4.7

11 years agoUpdated
Werner Koch [Mon, 26 Feb 2007 15:45:29 +0000 (15:45 +0000)]
Updated

11 years ago[W32] Make use of the LANGUAGE envvar.
Werner Koch [Mon, 26 Feb 2007 14:26:32 +0000 (14:26 +0000)]
[W32] Make use of the LANGUAGE envvar.

11 years ago* parse-packet.c (parse_signature): It's hex.
David Shaw [Wed, 14 Feb 2007 03:41:24 +0000 (03:41 +0000)]
* parse-packet.c (parse_signature): It's hex.

* getkey.c (merge_selfsigs_subkey): Avoid listing the contents of a
backsig when list mode is on.  Noted by Timo Schulz.

11 years ago * secmem.c (ptr_into_pool_p): New.
Werner Koch [Mon, 12 Feb 2007 14:13:37 +0000 (14:13 +0000)]
* secmem.c (ptr_into_pool_p): New.
        (m_is_secure): Implement in terms of above.  Also check that the
        pool has been initialized.

11 years ago* gpgkeys_ldap.c (send_key): Missing a free().
David Shaw [Sun, 11 Feb 2007 03:56:59 +0000 (03:56 +0000)]
* gpgkeys_ldap.c (send_key): Missing a free().

* curl-shim.c (curl_easy_perform): Some debugging items that may be
handy.

11 years ago* http.c (do_parse_uri): Remove the hkp port 11371 detection. We
David Shaw [Sun, 11 Feb 2007 03:10:12 +0000 (03:10 +0000)]
* http.c (do_parse_uri): Remove the hkp port 11371 detection.  We
implement hkp in the keyserver handler, and the support here makes it
appear like a bad hkp request actually succeeded.

11 years agoFix for Debian bug 402592
Werner Koch [Sun, 4 Feb 2007 17:20:24 +0000 (17:20 +0000)]
Fix for Debian bug 402592

11 years agoMissed one caller.
David Shaw [Thu, 1 Feb 2007 20:51:15 +0000 (20:51 +0000)]
Missed one caller.

11 years ago* main.h, keygen.c (ask_expire_interval, parse_expire_string): Pass in
David Shaw [Thu, 1 Feb 2007 19:32:16 +0000 (19:32 +0000)]
* main.h, keygen.c (ask_expire_interval, parse_expire_string): Pass in
the time to use to calculate the expiration offset, rather than
querying it internally.  Change all callers.

11 years ago* ttyio.c (do_get): Assume that anything read from the user without
David Shaw [Thu, 1 Feb 2007 04:21:07 +0000 (04:21 +0000)]
* ttyio.c (do_get): Assume that anything read from the user without
echoing to the screen is sensitive and put it in secure memory.
Suggested by Benjamin Bennett.

11 years ago* keygen.c (do_generate_keypair, proc_parameter_file,
David Shaw [Wed, 31 Jan 2007 21:39:26 +0000 (21:39 +0000)]
* keygen.c (do_generate_keypair, proc_parameter_file,
generate_keypair, generate_subkeypair): Pass a timestamp through to
all the gen_xxx functions.

11 years ago* keyedit.c (sign_uids): Another multiple to single timestamp
David Shaw [Wed, 31 Jan 2007 20:44:48 +0000 (20:44 +0000)]
* keyedit.c (sign_uids): Another multiple to single timestamp
operation.

11 years ago* sign.c (write_plaintext_packet): Take timestamp from outside.
David Shaw [Wed, 31 Jan 2007 20:23:45 +0000 (20:23 +0000)]
* sign.c (write_plaintext_packet): Take timestamp from outside.
Change all callers.  (sign_file, clearsign_file,
sign_symencrypt_file): Calculate one timestamp for the whole
transaction.  Different timestamps for each step can leak performance
information.

11 years ago* main.h, keygen.c (ask_expiredate), keyedit.c (menu_expire): Remove
David Shaw [Wed, 31 Jan 2007 19:42:48 +0000 (19:42 +0000)]
* main.h, keygen.c (ask_expiredate), keyedit.c (menu_expire): Remove
the need for ask_expiredate().

11 years ago* keygen.c (make_backsig, write_direct_sig, write_selfsigs)
David Shaw [Tue, 30 Jan 2007 21:19:45 +0000 (21:19 +0000)]
* keygen.c (make_backsig, write_direct_sig, write_selfsigs)
(write_keybinding): Have the various selfsigs created during key
generation use the timestamp of their parent key.  This helps avoid
leaking information about the performance of the machine where the
keys were generated.  Noted by Christian Danner.

11 years ago* curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() to
David Shaw [Tue, 16 Jan 2007 18:12:43 +0000 (18:12 +0000)]
* curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() to
curl_easy_escape() to match cURL.

11 years ago* libcurl.m4: Check for curl_easy_escape() and curl_easy_unescape().
David Shaw [Tue, 16 Jan 2007 06:10:31 +0000 (06:10 +0000)]
* libcurl.m4: Check for curl_easy_escape() and curl_easy_unescape().
Replace with curl_escape() and curl_unescape() if libcurl doesn't have
it.

11 years ago* config.links: powerpc64* needs to come before powerpc* or it will
David Shaw [Tue, 16 Jan 2007 05:20:06 +0000 (05:20 +0000)]
* config.links: powerpc64* needs to come before powerpc* or it will
never match.  Reported by Alon Bar-Lev for libgcrypt, but relevant
here as well.

11 years ago* gpgkeys_hkp.c (send_key): Allow GPG to send any armored key line
David Shaw [Tue, 16 Jan 2007 04:31:49 +0000 (04:31 +0000)]
* gpgkeys_hkp.c (send_key): Allow GPG to send any armored key line
length without problems.  Reported by Felix von Leitner.

11 years ago * parse-packet.c (read_protected_v3_mpi): Make sure to stop
Werner Koch [Mon, 15 Jan 2007 19:30:33 +0000 (19:30 +0000)]
* parse-packet.c (read_protected_v3_mpi): Make sure to stop
reading even for corrupted packets.
* keygen.c (generate_user_id): Need to allocate one byte more.
Reported by Felix von Leitner.

11 years agoInstalled revised translation.
Werner Koch [Fri, 22 Dec 2006 15:25:16 +0000 (15:25 +0000)]
Installed revised translation.

11 years ago* configure.ac: Only check for libusb if we're building with card
David Shaw [Thu, 21 Dec 2006 17:51:36 +0000 (17:51 +0000)]
* configure.ac: Only check for libusb if we're building with card
support.  Noted by Gilles Espinasse.

11 years ago* options.skel: Tweak some examples to match reality and update the
David Shaw [Fri, 15 Dec 2006 04:37:47 +0000 (04:37 +0000)]
* options.skel: Tweak some examples to match reality and update the
RFC for CERT now that it is out of draft.

11 years agoFix bug#739 (proxy/shutdown)
Werner Koch [Thu, 14 Dec 2006 09:55:32 +0000 (09:55 +0000)]
Fix bug#739 (proxy/shutdown)

11 years ago* Makefile.am: Install options.skel via dist_pkgdata_DATA so that
David Shaw [Wed, 13 Dec 2006 21:41:37 +0000 (21:41 +0000)]
* Makefile.am: Install options.skel via dist_pkgdata_DATA so that
"make uninstall" works properly.

11 years agodistribute gnupg1.info. Fixes bug#740.
Werner Koch [Wed, 13 Dec 2006 17:58:43 +0000 (17:58 +0000)]
distribute gnupg1.info.  Fixes bug#740.

11 years agoRemoved references to removed g10defs.h file.
Werner Koch [Wed, 13 Dec 2006 12:09:44 +0000 (12:09 +0000)]
Removed references to removed g10defs.h file.

11 years agoRemoved the use of g10defs.h.
Werner Koch [Mon, 11 Dec 2006 19:54:53 +0000 (19:54 +0000)]
Removed the use of g10defs.h.
This required some code cleanups and the introduction of
a few accessor ducntions in mpi.

11 years ago* configure.ac: AM_CONDITIONAL must not be used inside an if/then.
David Shaw [Fri, 8 Dec 2006 04:39:56 +0000 (04:39 +0000)]
* configure.ac: AM_CONDITIONAL must not be used inside an if/then.

11 years ago/
Werner Koch [Thu, 7 Dec 2006 11:33:24 +0000 (11:33 +0000)]
/
        * configure.ac: Remove GNUPG_DATADIR for non-W32 systems.
g10/
* Makefile.am (AM_CPPFLAGS): Define GNUPG_DATADIR.
* openfile.c (copy_options_file): Use log_info and not log_error
to avoid error returns in case of a missing skeleton file.

11 years agoPost release updates
Werner Koch [Wed, 6 Dec 2006 10:48:55 +0000 (10:48 +0000)]
Post release updates

11 years agoPreparing a release gnupg-1.4.6
Werner Koch [Wed, 6 Dec 2006 09:52:40 +0000 (09:52 +0000)]
Preparing a release

11 years agoChanging the way man pages are build.
Werner Koch [Mon, 4 Dec 2006 13:51:18 +0000 (13:51 +0000)]
Changing the way man pages are build.

11 years ago* ksutil.c (classify_ks_search): Try and recognize a key ID even
David Shaw [Mon, 4 Dec 2006 01:20:55 +0000 (01:20 +0000)]
* ksutil.c (classify_ks_search): Try and recognize a key ID even
without the 0x prefix.  This isn't exact (it's possible that a user ID
string happens to be 8 or 16 digits of hex), but it's extremely
unlikely.  Plus GPG itself makes the same assumption.

11 years ago* keyedit.c (menu_clean): Show "already minimized" rather than
David Shaw [Sun, 3 Dec 2006 06:26:12 +0000 (06:26 +0000)]
* keyedit.c (menu_clean): Show "already minimized" rather than
"already clean" when a minimized key is minimized again.  From Dirk
Traulsen.

11 years ago* gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be present
David Shaw [Sun, 3 Dec 2006 05:57:57 +0000 (05:57 +0000)]
* gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be present
when searching by keyID.

11 years ago* NEWS: Note the CVE for bug#728, --s2k-count, --passphrase-repeat,
David Shaw [Sun, 3 Dec 2006 04:54:21 +0000 (04:54 +0000)]
* NEWS: Note the CVE for bug#728, --s2k-count, --passphrase-repeat,
and the OpenSSL exception.

11 years ago* options.h, gpg.c (main), passphrase.c (passphrase_to_dek): Add
David Shaw [Sun, 3 Dec 2006 04:38:53 +0000 (04:38 +0000)]
* options.h, gpg.c (main), passphrase.c (passphrase_to_dek): Add
--passphrase-repeat option to control how many times gpg will
re-prompt for a passphrase to ensure the user has typed it correctly.
Defaults to 1.

11 years agoPreparing an RC
Werner Koch [Wed, 29 Nov 2006 15:42:28 +0000 (15:42 +0000)]
Preparing an RC

11 years ago* openfile.c (ask_outfile_name): Fixed buffer overflow occurring
Werner Koch [Mon, 27 Nov 2006 16:40:14 +0000 (16:40 +0000)]
* openfile.c (ask_outfile_name): Fixed buffer overflow occurring
  if make_printable_string returns a longer string.  Fixes bug 728.

12 years agoMissing changelog entry
David Shaw [Mon, 6 Nov 2006 04:07:33 +0000 (04:07 +0000)]
Missing changelog entry

12 years ago* configure.ac: --enable-minimal leaves out gettext and all resolver
David Shaw [Mon, 6 Nov 2006 03:59:02 +0000 (03:59 +0000)]
* configure.ac: --enable-minimal leaves out gettext and all resolver
functions (SRV, PKA, & CERT).

12 years ago* gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change.
David Shaw [Mon, 6 Nov 2006 03:37:08 +0000 (03:37 +0000)]
* gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change.
Key-not-found still has a HTML response.

12 years agoNew command --gpgconf-test.
Werner Koch [Mon, 23 Oct 2006 14:21:41 +0000 (14:21 +0000)]
New command --gpgconf-test.

12 years ago* gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTML
David Shaw [Fri, 20 Oct 2006 03:56:17 +0000 (03:56 +0000)]
* gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTML
coming back from a MR hkp query.

12 years ago* parse-packet.c (parse_symkeyenc): Show the unpacked as well as the
David Shaw [Fri, 13 Oct 2006 03:44:34 +0000 (03:44 +0000)]
* parse-packet.c (parse_symkeyenc): Show the unpacked as well as the
packed s2k iteration count.

* main.h, options.h, gpg.c (encode_s2k_iterations, main), passphrase.c
(hash_passphrase): Add --s2k-count option to specify the number of s2k
hash iterations.

12 years ago* keyserver.c (keyserver_spawn): Write the 16-digit keyid rather than
David Shaw [Fri, 6 Oct 2006 05:46:07 +0000 (05:46 +0000)]
* keyserver.c (keyserver_spawn): Write the 16-digit keyid rather than
whatever key selector the user used on the command line.

12 years ago* strsep.c (strsep): It's strsep, not strsep2 from testing. (If I had
David Shaw [Tue, 3 Oct 2006 00:36:18 +0000 (00:36 +0000)]
* strsep.c (strsep): It's strsep, not strsep2 from testing.  (If I had
a dollar for every time I've done that...)

12 years agoFixed bug 518
Werner Koch [Mon, 2 Oct 2006 16:05:35 +0000 (16:05 +0000)]
Fixed bug 518

12 years agofix for bug 537 and documentation fixes.
Werner Koch [Mon, 2 Oct 2006 13:22:27 +0000 (13:22 +0000)]
fix for bug 537 and documentation fixes.

12 years agoAdd compat.h to distfiles
David Shaw [Thu, 28 Sep 2006 20:12:32 +0000 (20:12 +0000)]
Add compat.h to distfiles

12 years agoMove strsep() and ascii_isspace() to libcompat.
David Shaw [Thu, 28 Sep 2006 19:53:17 +0000 (19:53 +0000)]
Move strsep() and ascii_isspace() to libcompat.

12 years agoPut in the basic wiring (just hextobyte for now) for a libcompat.a that
David Shaw [Thu, 28 Sep 2006 19:36:55 +0000 (19:36 +0000)]
Put in the basic wiring (just hextobyte for now) for a libcompat.a that
can contain replacement files that can be linked to keyserver helpers
without bringing in the whole libutil.a.  libutil.a contains a complete
copy of libcompat.a so we only need to link to one of them.

12 years ago* gpgkeys_ldap.c (build_attrs), ksutil.c (ks_toupper, ks_strcasecmp),
David Shaw [Thu, 28 Sep 2006 19:30:03 +0000 (19:30 +0000)]
* gpgkeys_ldap.c (build_attrs), ksutil.c (ks_toupper, ks_strcasecmp),
ksutil.h: Remove the need for strcasecmp as the field tags are always
lowercase.

12 years agoAllow to build w/o curl.
Werner Koch [Tue, 26 Sep 2006 14:15:17 +0000 (14:15 +0000)]
Allow to build w/o curl.

12 years agoPost release updates.
Werner Koch [Tue, 1 Aug 2006 12:27:00 +0000 (12:27 +0000)]
Post release updates.

12 years agoMOves trunk to a new branch.
Werner Koch [Tue, 1 Aug 2006 12:22:38 +0000 (12:22 +0000)]
MOves trunk to a new branch.

12 years agoForgot this one. gnupg-1.4.5
Werner Koch [Tue, 1 Aug 2006 11:22:48 +0000 (11:22 +0000)]
Forgot this one.

12 years agoPreparing 1.4.5
Werner Koch [Tue, 1 Aug 2006 11:20:18 +0000 (11:20 +0000)]
Preparing 1.4.5

12 years agoFix bug 655
Werner Koch [Mon, 31 Jul 2006 11:40:14 +0000 (11:40 +0000)]
Fix bug 655

12 years agoFixed bug 479. Not a real good fix but a reliable one which limits possible
Werner Koch [Mon, 31 Jul 2006 10:16:33 +0000 (10:16 +0000)]
Fixed bug 479.  Not a real good fix but a reliable one which limits possible
breakage of other partys of the code.

12 years ago2006-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 29 Jul 2006 00:09:24 +0000 (00:09 +0000)]
2006-07-29  Marcus Brinkmann  <marcus@g10code.de>

* secmem.c (init_pool): Close FD after establishing the mapping.

12 years agoPreparing a release candidate gnupg-1.4.5rc1
Werner Koch [Fri, 28 Jul 2006 09:52:11 +0000 (09:52 +0000)]
Preparing a release candidate

12 years ago* Makefile.am: Fix missing include path for gpgkeys_finger (needs the
David Shaw [Wed, 26 Jul 2006 21:12:55 +0000 (21:12 +0000)]
* Makefile.am: Fix missing include path for gpgkeys_finger (needs the
libcurl path, even though it doesn't use libcurl because of
ksutil.c:curl_err_to_gpg_err().  Noted by Gilbert Fernandes.

12 years agoFixed memory allocation bug and typos.
Werner Koch [Wed, 26 Jul 2006 11:25:36 +0000 (11:25 +0000)]
Fixed memory allocation bug and typos.

12 years ago * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code.
David Shaw [Fri, 21 Jul 2006 02:19:43 +0000 (02:19 +0000)]
 * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code.

12 years ago* http.c (send_request): A zero-length proxy is the same as no proxy at
David Shaw [Thu, 20 Jul 2006 22:26:29 +0000 (22:26 +0000)]
* http.c (send_request): A zero-length proxy is the same as no proxy at
all.  Suggested by J. Scott Berg.

12 years ago* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key,
David Shaw [Mon, 17 Jul 2006 04:11:30 +0000 (04:11 +0000)]
* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key,
send_key_keyserver): Improved version of previous fix.  Force match on
spaces in string.

12 years ago* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver):
David Shaw [Fri, 14 Jul 2006 16:07:01 +0000 (16:07 +0000)]
* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver):
Fix string matching problem when the ascii armored form of the key happens
to match "KEY" at the beginning of the line.

12 years ago* gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix bad
David Shaw [Wed, 12 Jul 2006 21:16:57 +0000 (21:16 +0000)]
* gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix bad
encoding of characters > 127.  Noted by Nalin Dahyabhai.

12 years ago* tar-ustar.m4: Use dd instead of strings as it's more likely to be
David Shaw [Wed, 12 Jul 2006 14:41:08 +0000 (14:41 +0000)]
* tar-ustar.m4: Use dd instead of strings as it's more likely to be
around.  Suggested by Nelson H. F. Beebe.

12 years ago* tar-ustar.m4: Not all greps know the -q (quiet) flag, so redirect to
David Shaw [Tue, 11 Jul 2006 16:45:17 +0000 (16:45 +0000)]
* tar-ustar.m4: Not all greps know the -q (quiet) flag, so redirect to
/dev/null instead.

12 years ago* tar-ustar.m4: Pass tar data through strings so that greps that don't
David Shaw [Tue, 11 Jul 2006 12:36:04 +0000 (12:36 +0000)]
* tar-ustar.m4: Pass tar data through strings so that greps that don't
grep in binary files (Solaris) can detect the string.  Noted by Mark
Davies.

12 years ago* configure.ac: Fix resolver autoconf code so it works (fails)
David Shaw [Sat, 8 Jul 2006 23:29:25 +0000 (23:29 +0000)]
* configure.ac: Fix resolver autoconf code so it works (fails)
properly with uClibc.

12 years agoUpdated.
Werner Koch [Mon, 3 Jul 2006 11:39:09 +0000 (11:39 +0000)]
Updated.

12 years ago* rsa.c (generate): Use e=65537 for new RSA keys.
David Shaw [Wed, 28 Jun 2006 22:29:25 +0000 (22:29 +0000)]
* rsa.c (generate): Use e=65537 for new RSA keys.

12 years agoi18n fix
Werner Koch [Wed, 28 Jun 2006 19:33:14 +0000 (19:33 +0000)]
i18n fix

12 years ago* keydb.h, pkclist.c (select_algo_from_prefs, algo_available): Pass a
David Shaw [Wed, 28 Jun 2006 17:54:35 +0000 (17:54 +0000)]
* keydb.h, pkclist.c (select_algo_from_prefs, algo_available): Pass a
union for preference hints rather than doing void * games.

* sign.c (sign_file): Use it here.

12 years ago* sign.c (sign_file): When signing with multiple DSA keys, one being DSA1
David Shaw [Wed, 28 Jun 2006 17:12:55 +0000 (17:12 +0000)]
* sign.c (sign_file): When signing with multiple DSA keys, one being DSA1
and one being DSA2 and encrypting at the same time, if the recipient
preferences give a hash that can work with the DSA2 key, then allow the
DSA1 key to be promoted rather than giving up and using hash_for().

12 years ago* pkclist.c (algo_available): Automatically enable DSA2 mode when handling
David Shaw [Wed, 28 Jun 2006 15:26:05 +0000 (15:26 +0000)]
* pkclist.c (algo_available): Automatically enable DSA2 mode when handling
a key that clearly isn't DSA1 (i.e. q!=160).

12 years agoFixed uploading of keays.
Werner Koch [Wed, 28 Jun 2006 09:37:42 +0000 (09:37 +0000)]
Fixed uploading of keays.