aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-11/+11
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2012-05-08Add tweaks for the not anymore patented IDEA algorithm.Werner Koch1-7/+1
* g10/keygen.c (keygen_set_std_prefs): Include IDEA only in PGP2 compatibility mode. * g10/misc.c (idea_cipher_warn): Remove. Also remove all callers. * common/status.h (STATUS_RSA_OR_IDEA): Remove. Do not emit this status anymore. -- To keep the number of actually used algorithms low, we want to support IDEA only in a basically read-only way (unless --pgp2 is used during key generation). It does not make sense to suggest the use of this old 64 bit blocksize algorithm. However, there is old data available where it might be helpful to have IDEA available.
2011-11-06Allow creating subkeys using an existing keyWerner Koch1-8/+178
This works by specifying the keygrip instead of an algorithm (section number 13) and requires that the option -expert has been used. It will be easy to extend this to the primary key.
2011-02-03Extend algo selection menu.Werner Koch1-4/+29
This allows to add an ECC key and to set the capabilities of an ECDSA key. Fix printing of the ECC algorithm when creating a signature.
2011-02-03Finished ECC integration.ECC-INTEGRATION-2-1Werner Koch1-132/+133
Wrote the ChangeLog 2011-01-13 entry for Andrey's orginal work modulo the cleanups I did in the last week. Adjusted my own ChangeLog entries to be consistent with that entry. Nuked quite some trailing spaces; again sorry for that, I will better take care of not saving them in the future. "git diff -b" is useful to read the actual changes ;-). The ECC-INTEGRATION-2-1 branch can be closed now.
2011-02-02Sample ECC keys and message do now work.Werner Koch1-17/+40
Import and export of secret keys does now work. Encryption has been fixed to be compatible with the sample messages. This version tests for new Libgcrypt function and thus needs to be build with a new Libgcrypt installed.
2011-01-31Reworked the ECC changes to better fit into the Libgcrypt API.Werner Koch1-104/+125
See ChangeLog for details. Key generation, signing and verification works. Encryption does not yet work. Requires latest Libgcrypt changes.
2011-01-25More ECDH code cleanupsWerner Koch1-25/+32
2011-01-25Editorial cleanups of keygen.cWerner Koch1-202/+129
Also fixed a regression introduced by me in pubkey_enc.c. Added extra checks. Removed unused code.
2011-01-21Editorial changes and allow building with old libgcrypts.Werner Koch1-1/+1
Changed order of some conditional to make to put the special case into the true branch. Indentation changes. Minor other changes to make the ECC code more similar to the rest of our code. It builds but many sefltests still fail. Need to fix that before using it with an ECDH enabled libgcrypt. [/] 2011-01-21 Werner Koch <[email protected]> * configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP. (HAVE_GCRY_PK_ECDH): Add new test. [agent/] 2011-01-21 Werner Koch <[email protected]> * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New. [include/] 2011-01-21 Werner Koch <[email protected]> * cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros because we now require libgcrypt 1.4.6. (GCRY_PK_ECDH): Add replacement.
2011-01-06Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov1-29/+252
The following works: gpg2 --gen-key (ECC) gpg2 --list-keys gpg2 --list-packets ~/.gnupg/pubring.gpg gpg2 --list-packets <private key from http://sites.google.com/site/brainhub/pgpecckeys> ECDH doesn't work yet as the code must be re-written to adjust for gpg-agent refactoring.
2010-11-17Smartcard related updatesWerner Koch1-188/+130
2010-10-27Better support unsigned time_tWerner Koch1-1/+1
2010-10-14All tests work are again workingWerner Koch1-21/+45
2010-10-13More agent support for gpg.Werner Koch1-31/+14
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-1/+1
A couple of forward ported changes. Doc updates.
2010-09-01Even less prompts for a new key now.Werner Koch1-14/+17
2010-09-01Use passphrase caching for import and genkey.Werner Koch1-15/+26
2010-04-26Fix preference setting in new keysWerner Koch1-3/+22
2010-04-21More changes on the way to remove secring.gpg.Werner Koch1-1/+1
2010-04-20Generating an OpenPGP key cia gpg-agent basically works.Werner Koch1-797/+459
2010-04-14./autogen.sh --build-w32ce does now succeed.Werner Koch1-6/+5
2010-04-01Use gpg_err_set_errno to assign values to ERRNO.Werner Koch1-4/+4
2010-03-08Use macros for iobuf ioctls. Werner Koch1-6/+10
2010-02-17Fix bug#1186.Werner Koch1-1/+1
2010-01-08Add dummu option --passwd for gpg.Werner Koch1-2/+2
Collected changes.
2009-12-04allow for default algorithms in a gpg parameter fileWerner Koch1-28/+59
2009-11-23Add gpgconf related dummy options default_pubkey_algo.Werner Koch1-0/+2
Add option --skip-hidden-recipients Comment updates.
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