aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-03Fix bug#1122.Werner Koch1-22/+50
Note that msgmerge 0.17 is completely broken as it always prepends a fuzzy null entry to all po files.
2009-07-23Print status of CRL checks in the audit log.Werner Koch1-1/+1
2009-07-20Fix bug 1091.Werner Koch1-7/+10
Doc fixes. Replace assert by error message.
2009-07-09Changed default hash algorithm preferencesWerner Koch1-12/+35
2009-05-20Allow generation of DSA2 keys without --enable-dsa2.Werner Koch1-11/+3
2009-05-20Fix bug#1056.Werner Koch1-1/+1
2009-05-17Changed default algo and size.Werner Koch1-86/+136
2009-05-15Made card key generate with backup key work for 2048 bit.Werner Koch1-9/+33
Improved card key generation prompts.
2009-05-13Print keyid in gpg --list-packets.Werner Koch1-2/+6
Add some not yet code to app-nks.c Changed batch mode expiration time computation
2009-01-08Update spanish translation.Werner Koch1-0/+9
Cleanups. Allow utf-8 in email addresses.
2008-12-11Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.Werner Koch1-1/+2
Fix SIG_ID computation.
2008-12-09Flush keyserver search output.Werner Koch1-21/+43
Add trustdb chnages from 1.4. Check algo usage for batch key generation.
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-32/+37
2008-08-11Cehck for expire date overflows.Werner Koch1-15/+23
2008-06-16Add controlo statement %ask-passphraseWerner Koch1-29/+68
2008-06-01Changes the header presented before requesting the user ID.Werner Koch1-3/+22
2007-12-04Allow configuraton of pinentry tooltip.Werner Koch1-2/+16
Other minor buf fixes.
2007-07-05Fixed card key generation of gpg2.Werner Koch1-823/+954
Reveal less information about timings while generating a key.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-01-31Included LIBICONV in all Makefiles.Werner Koch1-2/+2
g10/ * passphrase.c (passphrase_get): Set the cancel flag on all error from the agent. Fixes a bug reported by Tom Duerbusch. sm/ * gpgsm.c (main): Let --gen-key print a more informative error message.
2007-01-15 * parse-packet.c (read_protected_v3_mpi): Make sure to stopWerner Koch1-1/+1
reading even for corrupted packets. * keygen.c (generate_user_id): Need to allocate one byte more. Reported by Felix von Leitner.
2006-12-06Fixes for CVE-2006-6235Werner Koch1-19/+42
2006-11-21Final fix which should now pass all tests.Werner Koch1-1/+2
2006-11-21No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch1-11/+11
good chance that gpg2 will now work. Other cleanups. Updated gettext.
2006-10-19FixesWerner Koch1-0/+2
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-1/+1
2006-08-21Migrated more stuff to doc/Werner Koch1-5/+3
Migrated the gpg regression tests. Some changes tp the gpg code to fix bugs and for the use in testing. make distcheck works now with gpg enabled.
2006-08-16With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch1-11/+13
shows no prblems. Needs more testing of course.
2006-07-26Fixed memory allocation bug and typos.Werner Koch1-0/+2
2006-06-30A couple of fixes. gpg2's key generation does now work.Werner Koch1-1/+1
2006-06-27Ported patches from 1.4.x Werner Koch1-29/+94
2006-06-22* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,David Shaw1-1/+28
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-10* keygen.c (gen_card_key): Add optional argument to return a pointerDavid Shaw1-8/+13
(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-05-25* keygen.c (gen_dsa): Allow generating DSA2 keys (allow specifying sizes >David Shaw1-21/+56
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-24Still making gpg2 work.Werner Koch1-2/+2
At least the keyids are now correctly computed again.
2006-05-23g10/ does build again.Werner Koch1-3/+4
2006-05-23* parse-packet.c (dump_sig_subpkt, parse_signature), build-packet.cDavid Shaw1-1/+1
(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-04-28Merged recent changes from 1.4Werner Koch1-5/+5
2006-04-19Continued with merging.Werner Koch1-14/+16
Still does not build.
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-1037/+1940
The gpg part does not yet build.
2006-03-09* packet.h, build-packet.c (sig_to_notation), keygen.cDavid Shaw1-2/+4
(keygen_add_notations): Provide printable text for non-human-readable notation values.
2006-03-08* packet.h, build-packet.c (sig_to_notation), keygen.cDavid Shaw1-1/+4
(keygen_add_notations): Tweak to handle non-human-readable notation values.
2006-03-08* options.h, sign.c (mk_notation_policy_etc), gpg.c (add_notation_data):David Shaw1-2/+46
Use it here for the various notation commands. * packet.h, main.h, keygen.c (keygen_add_notations), build-packet.c (string_to_notation, sig_to_notation) (free_notation): New "one stop shopping" functions to handle notations and start removing some code duplication.
2005-11-10* packet.h: Move some flags to a bitfield. Change all callers.David Shaw1-2/+2
2005-10-26* keygen.c (proc_parameter_file): Default key and subkey usage flags toDavid Shaw1-7/+29
algo capabilities if parameter file doesn't specify them. Noted by Timo Schulz.
2005-10-18Fixed minor card related bugs and enhanced status messagesWerner Koch1-3/+7
2005-10-14* keyedit.c (keyedit_menu, menu_backsign): New "backsign" command toDavid Shaw1-1/+1
add 0x19 backsigs to old keys that don't have them. * misc.c (parse_options): Fix build warning. * main.h, keygen.c (make_backsig): Make public.
2005-10-11* getkey.c (merge_selfsigs_subkey), sig-check.c (signature_check2),David Shaw1-14/+6
keygen.c (make_backsig): Did some backsig interop testing with the PGP folks. All is well, so I'm turning generation of backsigs on for new keys. Checking for backsigs on verification is still off.
2005-08-27* misc.c (openpgp_pk_algo_usage): Default to allowing CERT for signingDavid Shaw1-7/+17
algorithms. * keyedit.c (sign_uids): Don't request a signing key to make a certification. * keygen.c (do_add_key_flags): Force the certify flag on for all primary keys, as the spec requires primary keys must be able to certify (if nothing else, which key is going to issue the user ID signature?) (print_key_flags): Show certify flag. (ask_key_flags, ask_algo): Don't allow setting the C flag for subkeys. * keyid.c (usagestr_from_pk), getkey.c (parse_key_usage): Distinguish between a sign/certify key and a certify-only key.
2005-08-05auto retrieve keys from PKA. Thsi allows to specify an email addressWerner Koch1-7/+2
so that gpg can get the key from DNS. This helps with opportunistic encryption. No integration with the trust modell yet.