aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Preparing 1.4.7gnupg-1.4.7Werner Koch2007-03-056-21/+93
|
* * parse-packet.c (parse_signature): It's hex.David Shaw2007-02-143-1/+11
| | | | | | * getkey.c (merge_selfsigs_subkey): Avoid listing the contents of a backsig when list mode is on. Noted by Timo Schulz.
* Fix for Debian bug 402592Werner Koch2007-02-042-3/+24
|
* Missed one caller.David Shaw2007-02-011-1/+1
|
* * main.h, keygen.c (ask_expire_interval, parse_expire_string): Pass inDavid Shaw2007-02-016-27/+39
| | | | | | the time to use to calculate the expiration offset, rather than querying it internally. Change all callers.
* * keygen.c (do_generate_keypair, proc_parameter_file,David Shaw2007-01-312-35/+62
| | | | | | generate_keypair, generate_subkeypair): Pass a timestamp through to all the gen_xxx functions.
* * keyedit.c (sign_uids): Another multiple to single timestampDavid Shaw2007-01-312-12/+9
| | | | | operation.
* * sign.c (write_plaintext_packet): Take timestamp from outside.David Shaw2007-01-312-10/+20
| | | | | | | | 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.
* * main.h, keygen.c (ask_expiredate), keyedit.c (menu_expire): RemoveDavid Shaw2007-01-314-10/+9
| | | | | the need for ask_expiredate().
* * keygen.c (make_backsig, write_direct_sig, write_selfsigs)David Shaw2007-01-302-7/+17
| | | | | | | | (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.
* * parse-packet.c (read_protected_v3_mpi): Make sure to stopWerner Koch2007-01-153-2/+9
| | | | | | | reading even for corrupted packets. * keygen.c (generate_user_id): Need to allocate one byte more. Reported by Felix von Leitner.
* * options.skel: Tweak some examples to match reality and update theDavid Shaw2006-12-152-23/+23
| | | | | RFC for CERT now that it is out of draft.
* * Makefile.am: Install options.skel via dist_pkgdata_DATA so thatDavid Shaw2006-12-132-5/+7
| | | | | "make uninstall" works properly.
* Removed references to removed g10defs.h file.Werner Koch2006-12-133-2/+4
|
* Removed the use of g10defs.h.Werner Koch2006-12-116-11/+27
| | | | | | This required some code cleanups and the introduction of a few accessor ducntions in mpi.
* /Werner Koch2006-12-073-2/+9
| | | | | | | | | * 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.
* Preparing a releasegnupg-1.4.6Werner Koch2006-12-067-48/+158
|
* * keyedit.c (menu_clean): Show "already minimized" rather thanDavid Shaw2006-12-032-1/+12
| | | | | | "already clean" when a minimized key is minimized again. From Dirk Traulsen.
* * options.h, gpg.c (main), passphrase.c (passphrase_to_dek): AddDavid Shaw2006-12-034-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.
* * openfile.c (ask_outfile_name): Fixed buffer overflow occurringWerner Koch2006-11-272-1/+6
| | | | | | if make_printable_string returns a longer string. Fixes bug 728.
* Missing changelog entryDavid Shaw2006-11-061-0/+9
|
* New command --gpgconf-test.Werner Koch2006-10-232-0/+10
|
* * parse-packet.c (parse_symkeyenc): Show the unpacked as well as theDavid Shaw2006-10-135-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.
* * keyserver.c (keyserver_spawn): Write the 16-digit keyid rather thanDavid Shaw2006-10-062-3/+12
| | | | | whatever key selector the user used on the command line.
* fix for bug 537 and documentation fixes.Werner Koch2006-10-022-20/+44
|
* Allow to build w/o curl.Werner Koch2006-09-262-1/+7
|
* Preparing 1.4.5Werner Koch2006-08-012-9/+18
|
* Fix bug 655Werner Koch2006-07-312-1/+5
|
* Fixed bug 479. Not a real good fix but a reliable one which limits possibleWerner Koch2006-07-314-1/+14
| | | | | breakage of other partys of the code.
* Preparing a release candidategnupg-1.4.5rc1Werner Koch2006-07-282-4/+4
|
* Fixed memory allocation bug and typos.Werner Koch2006-07-265-9/+35
|
* * configure.ac: Fix resolver autoconf code so it works (fails)David Shaw2006-07-081-1/+1
| | | | | properly with uClibc.
* i18n fixWerner Koch2006-06-282-2/+10
|
* * keydb.h, pkclist.c (select_algo_from_prefs, algo_available): Pass aDavid Shaw2006-06-284-14/+27
| | | | | | | union for preference hints rather than doing void * games. * sign.c (sign_file): Use it here.
* * sign.c (sign_file): When signing with multiple DSA keys, one being DSA1David Shaw2006-06-282-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().
* * pkclist.c (algo_available): Automatically enable DSA2 mode when handlingDavid Shaw2006-06-282-5/+10
| | | | | a key that clearly isn't DSA1 (i.e. q!=160).
* Fixed uploading of keays.Werner Koch2006-06-282-1/+7
|
* do no use reopen_std under W32.Werner Koch2006-06-272-2/+6
|
* About to do a new releaseWerner Koch2006-06-252-3/+3
|
* * options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,David Shaw2006-06-224-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 liberalDavid Shaw2006-06-222-1/+13
| | | | | in what you accept, etc).
* * import.c (import_one): Add a flag (from_sk) so we don't check prefsDavid Shaw2006-06-122-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 pointerDavid Shaw2006-06-102-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 Shaw2006-06-092-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 Shaw2006-05-272-17/+7
|
* * exec.c (make_tempdir) [_WIN32]: Modified to properly handleDavid Shaw2006-05-272-7/+17
| | | | | arbitrarily long temporary directory paths.
* * keygen.c (gen_dsa): Allow generating DSA2 keys (allow specifying sizes >David Shaw2006-05-253-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.
* * exec.c (make_tempdir): Fix bug with a temporary directory on Win32David Shaw2006-05-252-2/+10
| | | | | that is over 256 bytes long. Noted by Israel G. Lugo.
* * gpg.c (reopen_std): New function to reopen fd 0, 1, or 2 if we areDavid Shaw2006-05-232-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.
* * parse-packet.c (dump_sig_subpkt, parse_signature), build-packet.cDavid Shaw2006-05-236-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".