aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-06-16* keygen.c (make_backsig): Make sure that the backsig was builtDavid Shaw1-49/+53
successfully before we try and use it.
2004-05-11(do_generate_keypair, read_parameter_file): ReallyWerner Koch1-0/+17
close the files. (do_generate_keypair): Create the secret key file using safe permissions. Noted by Atom Smasher.
2004-04-23* keygen.c (make_backsig): If DO_BACKSIGS is not defined, do not createDavid Shaw1-0/+2
backsigs. * getkey.c (merge_selfsigs_subkey): Find 0x19 backsigs on subkey selfsigs and verify they are valid. If DO_BACKSIGS is not defined, fake this as always valid. * packet.h, parse-packet.c (parse_signature): Make parse_signature non-static so we can parse 0x19s in self-sigs. * main.h, sig-check.c (check_backsig): Check a 0x19 signature. (signature_check2): Give a backsig warning if there is no or a bad 0x19 with signatures from a subkey.
2004-04-13* keygen.c (make_backsig): New function to add a backsig to a binding sigDavid Shaw1-9/+109
of signing subkeys. Currently disabled. (write_keybinding): Call it here, for signing subkeys only. * sign.c (make_keysig_packet): Allow generating 0x19 signatures (same as 0x18 or 0x28, but used for backsigs). * packet.h, build-packet.c (build_sig_subpkt): Add new SIGSUBPKT_SIGNATURE type for embedded signatures.
2004-03-18* keygen.c (write_keybinding, do_generate_keypair, generate_subkeypair):David Shaw1-30/+38
Keep track of the unprotected subkey secret key so we can make a backsig with it.
2004-03-18* keygen.c (gen_elg, gen_dsa, gen_rsa, do_create, do_generate_keypair,David Shaw1-19/+23
generate_subkeypair): New is_subkey argument to set whether a generated key is a subkey. Do not overload the ret_sk. This is some early cleanup to do backsigs for signing subkeys.
2003-11-29* keygen.c (ask_algo): Remove ability to generate Elgamal sign+encryptDavid Shaw1-23/+6
keys.
2003-07-16* keygen.c (do_add_key_flags): Don't set the certify flag for subkeys.David Shaw1-1/+19
(ask_algo): Provide key flags for DSA, Elgamal_e, and Elgamal subkeys. (generate_keypair): Provide key flags for the default DSA/Elgamal keys.
2003-06-18* keygen.c (ask_user_id): Make --allow-freeform-uid apply to the emailDavid Shaw1-4/+6
field as well as the name field, and allow mixing fields when it is set.
2003-06-07Make sure that only ascii is passed to isfoo functions.Werner Koch1-8/+8
2003-05-22* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw1-2/+2
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, hkp.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
2003-04-09* passphrase .c (agent_get_passphrase): New arg CANCELED.Werner Koch1-5/+8
(passphrase_to_dek): Ditto. Passed to above. Changed all callers to pass NULL. * seckey-cert.c (do_check): New arg CANCELED. (check_secret_key): Terminate loop when canceled. * keyedit.c (change_passphrase): Pass ERRTEXT untranslated to passphrase_to_dek and translate where appropriate. * seckey-cert.c (check_secret_key): Ditto. * keygen.c (ask_passphrase): Ditto. * passphrase.c (agent_get_passphrase): Translate the TRYAGAIN_TEXT. Switch the codeset to utf-8.
2003-03-04* options.skel: Add explantion and commented-outDavid Shaw1-2/+2
"no-mangle-dos-filenames". * mainproc.c (proc_encrypted): Make string translatable. * keygen.c (keygen_set_std_prefs): Include AES192, and AES256 in default prefs.
2002-12-26* keygen.c (keygen_add_key_expire): Properly handle updating a keyDavid Shaw1-0/+6
expiration to a no-expiration value. * keyedit.c (enable_disable_key): Comment. * import.c (import_one): When in interactive mode and --verbose, don't repeat some key information twice.
2002-12-06* keygen.c (ask_algo): Make the Elgamal sign+encrypt warning stronger, andDavid Shaw1-10/+14
remove the RSA sign+encrypt warning. * import.c (import_one): Warn when importing an Elgamal primary that this may take some time (to verify self-sigs). (chk_self_sigs): Try and cache all self-sigs so the keyblock is written to the keyring with a good rich cache.
2002-12-04* main.h, keyedit.c, keygen.c: Back out previous (2002-12-01) change.David Shaw1-40/+21
Minimal isn't always best. * sign.c (update_keysig_packet): Use the current time rather then a modification of the original signature time. Make sure that this doesn't cause a time warp. * keygen.c (keygen_add_key_expire): Properly handle a key expiration date in the past (use a duration of 0). * keyedit.c (menu_expire): Use update_keysig_packet so any sig subpackets are maintained during the update. * build-packet.c (build_sig_subpkt): Mark sig expired or unexpired when the sig expiration subpacket is added. (build_sig_subpkt_from_sig): Handle making an expiration subpacket from a sig that has already expired (use a duration of 0).
2002-12-01* keyedit.c (menu_expire): Don't lose key flags when changing theDavid Shaw1-18/+40
expiration date of a subkey. This is not the most optimal solution, but it is minimal change on the stable branch. * main.h, keygen.c (do_copy_key_flags): New function to copy key flags, if any, from one sig to another. (do_add_key_expire): New function to add key expiration to a sig. (keygen_copy_flags_add_expire): New version of keygen_add_key_expire that also copies key flags. (keygen_add_key_flags_and_expire): Use do_add_key_expire. * import.c (fix_hkp_corruption): Comment.
2002-10-12* keygen.c (print_status_key_created): New.Werner Koch1-2/+30
(do_generate_keypair): Use it to print the fingerprint. (generate_subkeypair): Likewise.
2002-09-11* g10.c, options.h: Removed option --emulate-checksum-bug.Werner Koch1-6/+6
* misc.c (checksum_u16_nobug): Removed. (checksum_u16): Removed the bug emulation. (checksum_mpi): Ditto. (checksum_mpi_counted_nbits): Removed and replaced all calls with checksum_mpi. * parse-packet.c (read_protected_v3_mpi): New. (parse_key): Use it here to store it as an opaque MPI. * seckey-cert.c (do_check): Changed the v3 unprotection to the new why to store these keys. (protect_secret_key): Likewise. * build-packet.c (do_secret_key): And changed the writing.
2002-06-29Update head to match stable 1.0David Shaw1-399/+902
2000-11-14Some configuration changesWerner Koch1-4/+5
2000-10-11Add features packet and fixes MIPS3.Werner Koch1-0/+3
2000-10-10Changed keyring handling - saving still does not work.Werner Koch1-8/+0
Added new cipher mode and updated cipher test program.
2000-10-06See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner KochWerner Koch1-2/+2
2000-10-04See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner KochWerner Koch1-3/+0
2000-09-18See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch1-3/+7
2000-07-31See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner KochWerner Koch1-85/+37
2000-07-28See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner KochWerner Koch1-1/+6
2000-07-25See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner KochWerner Koch1-21/+32
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-111/+843
2000-01-31See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner KochWerner Koch1-18/+30
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-31/+140
2000-01-24See ChangeLog: Mon Jan 24 22:24:38 CET 2000 Werner KochWerner Koch1-3/+5
2000-01-24See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch1-50/+53
1999-12-31See ChangeLog: Fri Dec 31 12:48:31 CET 1999 Werner KochWerner Koch1-4/+5
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-3/+3
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-13/+13
1999-10-26See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1-2/+2
1999-09-01See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner KochWerner Koch1-3/+2
1999-07-07See ChangeLog: Wed Jul 7 13:23:40 CEST 1999 Werner KochWerner Koch1-1/+13
1999-07-01See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1-2/+2
1999-06-16See ChangeLog: Wed Jun 16 20:16:21 CEST 1999 Werner KochWerner Koch1-2/+2
1999-04-07See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner KochWerner Koch1-3/+15
1999-03-14See ChangeLog: Sun Mar 14 19:34:36 CET 1999 Werner KochWerner Koch1-2/+2
1999-03-02See ChangeLog: Tue Mar 2 16:44:57 CET 1999 Werner KochWerner Koch1-0/+8
1999-02-28See ChangeLog: Sun Feb 28 19:11:00 CET 1999 Werner KochWerner Koch1-5/+5
1999-02-16See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1-1/+1
1999-02-10See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1-4/+2
1999-01-19See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1-1/+1
1999-01-12See ChangeLog: Tue Jan 12 11:17:18 CET 1999 Werner KochWerner Koch1-0/+14