David Shaw
6f32b4e4d1
Move strsep() and ascii_isspace() to libcompat.
2006-09-28 19:53:17 +00:00
David Shaw
b17fcc5d51
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.
2006-09-28 19:36:55 +00:00
David Shaw
61765b20e6
* 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.
2006-09-28 19:30:03 +00:00
Werner Koch
29f68725d0
Allow to build w/o curl.
2006-09-26 14:15:17 +00:00
Werner Koch
39600e7278
Post release updates.
2006-08-01 12:27:00 +00:00
Werner Koch
4053ceded3
MOves trunk to a new branch.
2006-08-01 12:22:38 +00:00
Werner Koch
21de807d1a
Forgot this one.
2006-08-01 11:22:48 +00:00
Werner Koch
ab1d0ca711
Preparing 1.4.5
2006-08-01 11:20:18 +00:00
Werner Koch
fede32ebd7
Fix bug 655
2006-07-31 11:40:14 +00:00
Werner Koch
064a4a6240
Fixed bug 479. Not a real good fix but a reliable one which limits possible
...
breakage of other partys of the code.
2006-07-31 10:16:33 +00:00
Marcus Brinkmann
bd5aa4864d
2006-07-29 Marcus Brinkmann <marcus@g10code.de>
...
* secmem.c (init_pool): Close FD after establishing the mapping.
2006-07-29 00:09:24 +00:00
Werner Koch
f19e8892a2
Preparing a release candidate
2006-07-28 09:52:11 +00:00
David Shaw
519435f06c
* 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.
2006-07-26 21:12:55 +00:00
Werner Koch
ccd5fc4758
Fixed memory allocation bug and typos.
2006-07-26 11:25:36 +00:00
David Shaw
c45f73774d
* curl-shim.c (curl_easy_perform): Minor cleanup of proxy code.
2006-07-21 02:19:43 +00:00
David Shaw
4fbf91ad9e
* http.c (send_request): A zero-length proxy is the same as no proxy at
...
all. Suggested by J. Scott Berg.
2006-07-20 22:26:29 +00:00
David Shaw
b8b482b596
* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key,
...
send_key_keyserver): Improved version of previous fix. Force match on
spaces in string.
2006-07-17 04:11:30 +00:00
David Shaw
2dc880aa9e
* 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.
2006-07-14 16:07:01 +00:00
David Shaw
5476afe1b4
* gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix bad
...
encoding of characters > 127. Noted by Nalin Dahyabhai.
2006-07-12 21:16:57 +00:00
David Shaw
0b5bc307d7
* tar-ustar.m4: Use dd instead of strings as it's more likely to be
...
around. Suggested by Nelson H. F. Beebe.
2006-07-12 14:41:08 +00:00
David Shaw
ce5ed75822
* tar-ustar.m4: Not all greps know the -q (quiet) flag, so redirect to
...
/dev/null instead.
2006-07-11 16:45:17 +00:00
David Shaw
b19683689c
* 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.
2006-07-11 12:36:04 +00:00
David Shaw
975da08004
* configure.ac: Fix resolver autoconf code so it works (fails)
...
properly with uClibc.
2006-07-08 23:29:25 +00:00
Werner Koch
5c82303d36
Updated.
2006-07-03 11:39:09 +00:00
David Shaw
04376627a6
* rsa.c (generate): Use e=65537 for new RSA keys.
2006-06-28 22:29:25 +00:00
Werner Koch
d91c7a06ff
i18n fix
2006-06-28 19:33:14 +00:00
David Shaw
cb117d7457
* 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.
2006-06-28 17:54:35 +00:00
David Shaw
2a31983ef8
* 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().
2006-06-28 17:12:55 +00:00
David Shaw
7c457fac67
* pkclist.c (algo_available): Automatically enable DSA2 mode when handling
...
a key that clearly isn't DSA1 (i.e. q!=160).
2006-06-28 15:26:05 +00:00
Werner Koch
23380119ee
Fixed uploading of keays.
2006-06-28 09:37:42 +00:00
Werner Koch
e0af7eb379
do no use reopen_std under W32.
2006-06-27 08:40:23 +00:00
Werner Koch
826ffd8694
Post release version update
2006-06-25 14:30:52 +00:00
Werner Koch
74315bb70a
Ready for a release
2006-06-25 12:17:55 +00:00
Werner Koch
44e22e1a94
Typo fix
2006-06-25 12:07:16 +00:00
Werner Koch
a3883eb71d
About to do a new release
2006-06-25 12:03:38 +00:00
David Shaw
bb97576ea0
* gpg.sgml: Document --enable-dsa2, --disable-dsa2, and
...
--default-keyserver-url.
* DETAILS: Note "Keyserver:"
2006-06-23 04:27:57 +00:00
David Shaw
00db922029
* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,
...
keygen_add_std_prefs, proc_parameter_file): Add --default-keyserver-url to
specify a keyserver URL at key generation time, and "Keyserver:" keyword
for doing the same through a batch file.
2006-06-22 22:56:54 +00:00
David Shaw
059c67ca6d
* sign.c (do_sign): Accept a truncated hash even for DSA1 keys (be liberal
...
in what you accept, etc).
2006-06-22 19:17:21 +00:00
David Shaw
acbac61bff
* gpg.sgml: Note that --pgp8 does not include SHA224. Clarify that
...
clearsigned messages are not reversible.
2006-06-22 19:13:18 +00:00
David Shaw
4f7b459a96
* import.c (import_one): Add a flag (from_sk) so we don't check prefs
...
on an autoconverted public key. The check should only happen on the
sk size. Noted by Dirk Traulsen.
2006-06-12 12:05:34 +00:00
David Shaw
7211ee589a
* keygen.c (gen_card_key): Add optional argument to return a pointer
...
(not a copy) of the stub secret key for the secret key we just
generated on the card. (generate_card_subkeypair): Use it here so
that the signing key on the card can use the card to generate the 0x19
backsig on the primary key. Noted by Janko Heilgeist and Jonas Oberg.
2006-06-10 04:11:05 +00:00
David Shaw
91dbfce3b7
* parse-packet.c (parse_user_id): Cap the user ID size at 2048 bytes.
...
This prevents a memory allocation attack with a very large user ID. A
very large packet length could even cause the allocation (a u32) to wrap
around to a small number. Noted by Evgeny Legerov on full-disclosure.
2006-06-09 19:45:19 +00:00
David Shaw
49c31957f0
Revert last. It is still wrong.
2006-05-27 02:07:05 +00:00
David Shaw
b9c2f44336
* exec.c (make_tempdir) [_WIN32]: Modified to properly handle
...
arbitrarily long temporary directory paths.
2006-05-27 01:38:54 +00:00
David Shaw
05a2a2f39a
* keygen.c (gen_dsa): Allow generating DSA2 keys (allow specifying sizes >
...
1024 when --enable-dsa2 is set). The size of q is set automatically based
on the key size. (ask_keysize, generate_keypair): Ask for DSA size when
--enable-dsa2 is set.
2006-05-25 19:39:03 +00:00
Werner Koch
e9bbf255a6
Added backsig to my key
2006-05-25 13:55:34 +00:00
David Shaw
5cef0cac5a
* exec.c (make_tempdir): Fix bug with a temporary directory on Win32
...
that is over 256 bytes long. Noted by Israel G. Lugo.
2006-05-25 03:02:51 +00:00
David Shaw
071d362ba6
* mksamplekeys: Incorporate new package signature key and minimize keys
...
when generating samplekeys.asc.
2006-05-23 22:48:21 +00:00
David Shaw
782a70e522
* gpg.c (reopen_std): New function to reopen fd 0, 1, or 2 if we are
...
called with them closed. This is to protect our keyring/trustdb files
from corruption if they get attached to one of the standard fds. Print a
warning if possible that this has happened, and fail completely if we
cannot reopen (should never happen). (main): Call it here.
2006-05-23 22:04:09 +00:00
David Shaw
8fa55e28fe
* configure.ac: Add --disable-optimization. This is handy for debugging
...
so the compiler doesn't rearrange things and eliminate variables.
2006-05-23 15:32:57 +00:00