Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ready for a releasegnupg-1.4.4 | Werner Koch | 2006-06-25 | 27 | -13006/+13538 |
| | |||||
* | Typo fix | Werner Koch | 2006-06-25 | 1 | -1/+1 |
| | |||||
* | About to do a new release | Werner Koch | 2006-06-25 | 12 | -37/+87 |
| | |||||
* | * gpg.sgml: Document --enable-dsa2, --disable-dsa2, and | David Shaw | 2006-06-23 | 3 | -0/+27 |
| | | | | | | | --default-keyserver-url. * DETAILS: Note "Keyserver:" | ||||
* | * options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs, | David Shaw | 2006-06-22 | 4 | -2/+51 |
| | | | | | | | 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. | ||||
* | * sign.c (do_sign): Accept a truncated hash even for DSA1 keys (be liberal | David Shaw | 2006-06-22 | 2 | -1/+13 |
| | | | | | in what you accept, etc). | ||||
* | * gpg.sgml: Note that --pgp8 does not include SHA224. Clarify that | David Shaw | 2006-06-22 | 2 | -2/+12 |
| | | | | | clearsigned messages are not reversible. | ||||
* | * import.c (import_one): Add a flag (from_sk) so we don't check prefs | David Shaw | 2006-06-12 | 2 | -6/+13 |
| | | | | | | on an autoconverted public key. The check should only happen on the sk size. Noted by Dirk Traulsen. | ||||
* | * keygen.c (gen_card_key): Add optional argument to return a pointer | David Shaw | 2006-06-10 | 2 | -8/+20 |
| | | | | | | | | (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. | ||||
* | * parse-packet.c (parse_user_id): Cap the user ID size at 2048 bytes. | David Shaw | 2006-06-09 | 2 | -0/+22 |
| | | | | | | | 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. | ||||
* | Revert last. It is still wrong. | David Shaw | 2006-05-27 | 2 | -17/+7 |
| | |||||
* | * exec.c (make_tempdir) [_WIN32]: Modified to properly handle | David Shaw | 2006-05-27 | 2 | -7/+17 |
| | | | | | arbitrarily long temporary directory paths. | ||||
* | * keygen.c (gen_dsa): Allow generating DSA2 keys (allow specifying sizes > | David Shaw | 2006-05-25 | 3 | -21/+73 |
| | | | | | | | 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. | ||||
* | Added backsig to my key | Werner Koch | 2006-05-25 | 1 | -432/+437 |
| | |||||
* | * exec.c (make_tempdir): Fix bug with a temporary directory on Win32 | David Shaw | 2006-05-25 | 2 | -2/+10 |
| | | | | | that is over 256 bytes long. Noted by Israel G. Lugo. | ||||
* | * mksamplekeys: Incorporate new package signature key and minimize keys | David Shaw | 2006-05-23 | 2 | -2/+7 |
| | | | | | when generating samplekeys.asc. | ||||
* | * gpg.c (reopen_std): New function to reopen fd 0, 1, or 2 if we are | David Shaw | 2006-05-23 | 2 | -0/+72 |
| | | | | | | | | 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. | ||||
* | * configure.ac: Add --disable-optimization. This is handy for debugging | David Shaw | 2006-05-23 | 2 | -0/+15 |
| | | | | | so the compiler doesn't rearrange things and eliminate variables. | ||||
* | * parse-packet.c (dump_sig_subpkt, parse_signature), build-packet.c | David Shaw | 2006-05-23 | 6 | -19/+34 |
| | | | | | | | | | (build_sig_subpkt_from_sig), getkey.c (fixup_uidnode, merge_selfsigs_main, merge_selfsigs_subkey), keygen.c (keygen_add_key_expire): Fix meaning of key expiration and sig expiration subpackets - zero means "never expire" according to 2440, not "expire instantly". | ||||
* | * import.c (import_one): Fix bug when importing a new key from a file. | David Shaw | 2006-05-22 | 2 | -7/+8 |
| | |||||
* | 2006-05-22 Marcus Brinkmann <[email protected]> | Marcus Brinkmann | 2006-05-22 | 4 | -18/+65 |
| | | | | | | | | | | | * configure.ac: Remove check for noexecstack and invoke CL_AS_NOEXECSTACK instead. m4/ 2006-05-22 Marcus Brinkmann <[email protected]> * noexecstack.m4: New file. | ||||
* | * getkey.c (get_pubkey_byname), import.c (import_one): Fix key selection | David Shaw | 2006-05-22 | 3 | -4/+19 |
| | | | | | | problem when auto-key-locate returns a list of keys, not all of which are usable (revoked, expired, etc). Noted by Simon Josefsson. | ||||
* | Updated keys | Werner Koch | 2006-05-17 | 2 | -1880/+368 |
| | |||||
* | Forgot to save the actual fix | Werner Koch | 2006-05-16 | 1 | -2/+2 |
| | |||||
* | Fixed OSF5 warning suppression. | Werner Koch | 2006-05-16 | 2 | -5/+7 |
| | |||||
* | * libcurl.m4: Fix mistaken AC_SUBST when curl is not found. | David Shaw | 2006-05-10 | 2 | -1/+8 |
| | |||||
* | * NEWS: Note SHA-224 and DSA2. | David Shaw | 2006-04-27 | 3 | -24/+40 |
| | | | | | | * configure.ac: Remove --enable-old-keyserver-helpers. Comment out --enable-m-guard for now. | ||||
* | (keyserver_import_cert): Show warning if there is a CERT fingerprint, | David Shaw | 2006-04-27 | 2 | -1/+9 |
| | | | | | but no --keyserver set. | ||||
* | * keyserver.c (path_makes_direct): New. (keyserver_spawn): Used here | David Shaw | 2006-04-27 | 2 | -32/+29 |
| | | | | | | to add "_uri" to certain gpgkeys_xxx helpers when the meaning is different if a path is provided (i.e. ldap). | ||||
* | * gpgkeys_http.c, gpgkeys_oldhkp.c: Removed. | David Shaw | 2006-04-26 | 3 | -1567/+2 |
| | |||||
* | * Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer as | David Shaw | 2006-04-26 | 6 | -30/+21 |
| | | | | | | | | this is done via curl or fake-curl. * ksutil.h, ksutil.c, gpgkeys_hkp.c, gpgkeys_curl.c: Minor #include tweaks as FAKE_CURL is no longer meaningful. | ||||
* | * keyserver.c: Fix build problem with platforms that stick libcurl in | David Shaw | 2006-04-22 | 2 | -3/+5 |
| | | | | | a place not in the regular include search path. | ||||
* | * make-dns-cert.c (main): Small exit code tweak from Peter Palfrader. | David Shaw | 2006-04-20 | 2 | -1/+6 |
| | |||||
* | * options.h, gpg.c (main): Add --enable-dsa2 and --disable-dsa2. Defaults | David Shaw | 2006-04-20 | 5 | -34/+145 |
| | | | | | | | | | | | | | | | | to disable. * pkclist.c (algo_available): If --enable-dsa2 is set, we're allowed to truncate hashes to fit DSA keys. * sign.c (match_dsa_hash): New. Return the best match hash for a given q size. (do_sign, hash_for, sign_file): When signing with a DSA key, if it has q==160, assume it is an old DSA key and don't allow truncation unless --enable-dsa2 is also set. q!=160 always allows truncation since they must be DSA2 keys. (make_keysig_packet): If the user doesn't specify a --cert-digest-algo, use match_dsa_hash to pick the best hash for key signatures. | ||||
* | (generate): Tweak to allow keys larger than 1024 bits. Enforce that the q | David Shaw | 2006-04-20 | 2 | -1/+4 |
| | | | | | size doesn't end between byte boundaries. | ||||
* | The plumbing necessary to create DSA keys with variable sized q. | David Shaw | 2006-04-20 | 4 | -9/+34 |
| | | | | | Not yet used (q==160). | ||||
* | * gpg.c (print_mds), armor.c (armor_filter, parse_hash_header): Add | David Shaw | 2006-04-20 | 8 | -50/+98 |
| | | | | | | | | | | | | | | SHA-224. * sign.c (write_plaintext_packet), encode.c (encode_simple): Factor common literal packet setup code from here, to... * main.h, plaintext.c (setup_plaintext_name): Here. New. Make sure the literal packet filename field is UTF-8 encoded. * options.h, gpg.c (main): Make sure --set-filename is UTF-8 encoded and note when filenames are already UTF-8. | ||||
* | * sigs.test, mds.test: Add tests for SHA-224, SHA-384, and SHA-512. | David Shaw | 2006-04-20 | 3 | -0/+23 |
| | |||||
* | Add SHA-224 support | David Shaw | 2006-04-20 | 6 | -7/+90 |
| | |||||
* | * keyedit.c (menu_backsign): Give some more verbose errors when we | David Shaw | 2006-04-19 | 2 | -6/+26 |
| | | | | | have no need to backsign. | ||||
* | * gpg.sgml: Reminders that --cipher-algo, --digest-algo, and | David Shaw | 2006-04-19 | 2 | -6/+20 |
| | | | | | --compress-algo should be avoided. | ||||
* | * miscutil.c (make_printable_string): Fix bug where some control | David Shaw | 2006-04-17 | 2 | -1/+6 |
| | | | | | characters lose part of their ASCII representation. | ||||
* | use minimal posix sed | Werner Koch | 2006-04-12 | 4 | -8/+20 |
| | |||||
* | * memory.c (realloc): Revert m_guard fix and stick an #error in there to | David Shaw | 2006-04-11 | 2 | -4/+10 |
| | | | | | inform people not to use it. | ||||
* | * options.skel, photoid.c (get_default_photo_command): Find an image | David Shaw | 2006-04-11 | 3 | -6/+24 |
| | | | | | viewer at runtime. Seems FC5 doesn't have xloadimage. | ||||
* | . | Werner Koch | 2006-04-11 | 1 | -0/+0 |
| | |||||
* | Add new regression test | Werner Koch | 2006-04-11 | 5 | -9/+204 |
| | |||||
* | * gpgkeys_ldap.c (ldap_quote, get_name, search_key): LDAP-quote | David Shaw | 2006-04-11 | 2 | -47/+13 |
| | | | | | directly into place rather than mallocing temporary buffers. | ||||
* | * gpgkeys_ldap.c (get_name): Build strings with strcat rather than | David Shaw | 2006-04-11 | 2 | -8/+22 |
| | | | | | using sprintf which is harder to read and modify. | ||||
* | * ksutil.h, ksutil.c (classify_ks_search): Add KS_SEARCH_KEYID_SHORT | David Shaw | 2006-04-11 | 4 | -15/+108 |
| | | | | | | | | and KS_SEARCH_KEYID_LONG to search for a key ID. * gpgkeys_ldap.c (search_key): Use it here to flip from pgpUserID searches to pgpKeyID or pgpCertID. |