aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-12-06Preparing a releasegnupg-1.4.6Werner Koch7-48/+158
2006-12-03* keyedit.c (menu_clean): Show "already minimized" rather thanDavid Shaw2-1/+12
"already clean" when a minimized key is minimized again. From Dirk Traulsen.
2006-12-03* options.h, gpg.c (main), passphrase.c (passphrase_to_dek): AddDavid Shaw4-32/+55
--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.
2006-11-27* openfile.c (ask_outfile_name): Fixed buffer overflow occurringWerner Koch2-1/+6
if make_printable_string returns a longer string. Fixes bug 728.
2006-11-06Missing changelog entryDavid Shaw1-0/+9
2006-10-23New command --gpgconf-test.Werner Koch2-0/+10
2006-10-13* parse-packet.c (parse_symkeyenc): Show the unpacked as well as theDavid Shaw5-5/+43
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.
2006-10-06* keyserver.c (keyserver_spawn): Write the 16-digit keyid rather thanDavid Shaw2-3/+12
whatever key selector the user used on the command line.
2006-10-02fix for bug 537 and documentation fixes.Werner Koch2-20/+44
2006-09-26Allow to build w/o curl.Werner Koch2-1/+7
2006-08-01Preparing 1.4.5Werner Koch2-9/+18
2006-07-31Fix bug 655Werner Koch2-1/+5
2006-07-31Fixed bug 479. Not a real good fix but a reliable one which limits possibleWerner Koch4-1/+14
breakage of other partys of the code.
2006-07-28Preparing a release candidategnupg-1.4.5rc1Werner Koch2-4/+4
2006-07-26Fixed memory allocation bug and typos.Werner Koch5-9/+35
2006-07-08* configure.ac: Fix resolver autoconf code so it works (fails)David Shaw1-1/+1
properly with uClibc.
2006-06-28i18n fixWerner Koch2-2/+10
2006-06-28* keydb.h, pkclist.c (select_algo_from_prefs, algo_available): Pass aDavid Shaw4-14/+27
union for preference hints rather than doing void * games. * sign.c (sign_file): Use it here.
2006-06-28* sign.c (sign_file): When signing with multiple DSA keys, one being DSA1David Shaw2-49/+49
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* pkclist.c (algo_available): Automatically enable DSA2 mode when handlingDavid Shaw2-5/+10
a key that clearly isn't DSA1 (i.e. q!=160).
2006-06-28Fixed uploading of keays.Werner Koch2-1/+7
2006-06-27do no use reopen_std under W32.Werner Koch2-2/+6
2006-06-25About to do a new releaseWerner Koch2-3/+3
2006-06-22* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,David Shaw4-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.
2006-06-22* sign.c (do_sign): Accept a truncated hash even for DSA1 keys (be liberalDavid Shaw2-1/+13
in what you accept, etc).
2006-06-12* import.c (import_one): Add a flag (from_sk) so we don't check prefsDavid Shaw2-6/+13
on an autoconverted public key. The check should only happen on the sk size. Noted by Dirk Traulsen.
2006-06-10* keygen.c (gen_card_key): Add optional argument to return a pointerDavid Shaw2-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.
2006-06-09* parse-packet.c (parse_user_id): Cap the user ID size at 2048 bytes. David Shaw2-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.
2006-05-27Revert last. It is still wrong.David Shaw2-17/+7
2006-05-27* exec.c (make_tempdir) [_WIN32]: Modified to properly handleDavid Shaw2-7/+17
arbitrarily long temporary directory paths.
2006-05-25* keygen.c (gen_dsa): Allow generating DSA2 keys (allow specifying sizes >David Shaw3-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.
2006-05-25* exec.c (make_tempdir): Fix bug with a temporary directory on Win32David Shaw2-2/+10
that is over 256 bytes long. Noted by Israel G. Lugo.
2006-05-23* gpg.c (reopen_std): New function to reopen fd 0, 1, or 2 if we areDavid Shaw2-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.
2006-05-23* parse-packet.c (dump_sig_subpkt, parse_signature), build-packet.cDavid Shaw6-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".
2006-05-22* import.c (import_one): Fix bug when importing a new key from a file.David Shaw2-7/+8
2006-05-22* getkey.c (get_pubkey_byname), import.c (import_one): Fix key selectionDavid Shaw3-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.
2006-04-27(keyserver_import_cert): Show warning if there is a CERT fingerprint,David Shaw2-1/+9
but no --keyserver set.
2006-04-27* keyserver.c (path_makes_direct): New. (keyserver_spawn): Used hereDavid Shaw2-32/+29
to add "_uri" to certain gpgkeys_xxx helpers when the meaning is different if a path is provided (i.e. ldap).
2006-04-22* keyserver.c: Fix build problem with platforms that stick libcurl inDavid Shaw2-3/+5
a place not in the regular include search path.
2006-04-20* options.h, gpg.c (main): Add --enable-dsa2 and --disable-dsa2. DefaultsDavid Shaw5-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.
2006-04-20* gpg.c (print_mds), armor.c (armor_filter, parse_hash_header): AddDavid Shaw8-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.
2006-04-19* keyedit.c (menu_backsign): Give some more verbose errors when weDavid Shaw2-6/+26
have no need to backsign.
2006-04-11* options.skel, photoid.c (get_default_photo_command): Find an imageDavid Shaw3-6/+24
viewer at runtime. Seems FC5 doesn't have xloadimage.
2006-04-09* getkey.c (parse_auto_key_locate): Fix dupe-removal code.David Shaw5-20/+41
* keyedit.c (menu_backsign): Allow backsigning even if the secret subkey doesn't have a binding signature. * armor.c (radix64_read): Don't report EOF when reading only a pad (=) character. The EOF actually starts after the pad. * gpg.c (main): Make --export, --send-keys, --recv-keys, --refresh-keys, and --fetch-keys follow their arguments from left to right. Suggested by Peter Palfrader.
2006-04-08Fixed segvWerner Koch2-2/+9
2006-04-08See ChangeLogWerner Koch2-4/+23
2006-04-03About to release 1.4.3gnupg-1.4.3Werner Koch8-4/+34
2006-04-01* getkey.c (get_pubkey_byname): Fix missing auto_key_retrieve unlock.David Shaw2-5/+12
Fix strings to not start with a capital letter as per convention.
2006-03-30Update copyrightDavid Shaw1-1/+2
2006-03-30* main.h, seskey.c (encode_md_value): Modify to allow a q size greaterDavid Shaw5-35/+94
than 160 bits as per DSA2. This will allow us to verify and issue DSA2 signatures for some backwards compatibility once we start generating DSA2 keys. * sign.c (do_sign), sig-check.c (do_check): Change all callers. * sign.c (do_sign): Enforce the 160-bit check for new signatures here since encode_md_value can handle non-160-bit digests now. This will need to come out once the standard for DSA2 is firmed up.