aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-051-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.
* Add tweaks for the not anymore patented IDEA algorithm.Werner Koch2012-05-081-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.
* Allow creating subkeys using an existing keyWerner Koch2011-11-061-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.
* Extend algo selection menu.Werner Koch2011-02-031-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.
* Finished ECC integration.ECC-INTEGRATION-2-1Werner Koch2011-02-031-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.
* Sample ECC keys and message do now work.Werner Koch2011-02-021-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.
* Reworked the ECC changes to better fit into the Libgcrypt API.Werner Koch2011-01-311-104/+125
| | | | | See ChangeLog for details. Key generation, signing and verification works. Encryption does not yet work. Requires latest Libgcrypt changes.
* More ECDH code cleanupsWerner Koch2011-01-251-25/+32
|
* Editorial cleanups of keygen.cWerner Koch2011-01-251-202/+129
| | | | | Also fixed a regression introduced by me in pubkey_enc.c. Added extra checks. Removed unused code.
* Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-211-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.
* Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-061-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.
* Smartcard related updatesWerner Koch2010-11-171-188/+130
|
* Better support unsigned time_tWerner Koch2010-10-271-1/+1
|
* All tests work are again workingWerner Koch2010-10-141-21/+45
|
* More agent support for gpg.Werner Koch2010-10-131-31/+14
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-1/+1
| | | | | | A couple of forward ported changes. Doc updates.
* Even less prompts for a new key now.Werner Koch2010-09-011-14/+17
|
* Use passphrase caching for import and genkey.Werner Koch2010-09-011-15/+26
|
* Fix preference setting in new keysWerner Koch2010-04-261-3/+22
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-1/+1
|
* Generating an OpenPGP key cia gpg-agent basically works.Werner Koch2010-04-201-797/+459
|
* ./autogen.sh --build-w32ce does now succeed.Werner Koch2010-04-141-6/+5
|
* Use gpg_err_set_errno to assign values to ERRNO.Werner Koch2010-04-011-4/+4
|
* Use macros for iobuf ioctls. Werner Koch2010-03-081-6/+10
|
* Fix bug#1186.Werner Koch2010-02-171-1/+1
|
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-2/+2
| | | | | Collected changes.
* allow for default algorithms in a gpg parameter fileWerner Koch2009-12-041-28/+59
|
* Add gpgconf related dummy options default_pubkey_algo.Werner Koch2009-11-231-0/+2
| | | | | | Add option --skip-hidden-recipients Comment updates.
* Fix bug#1122.Werner Koch2009-09-031-22/+50
| | | | | | Note that msgmerge 0.17 is completely broken as it always prepends a fuzzy null entry to all po files.
* Print status of CRL checks in the audit log.Werner Koch2009-07-231-1/+1
|
* Fix bug 1091.Werner Koch2009-07-201-7/+10
| | | | | | Doc fixes. Replace assert by error message.
* Changed default hash algorithm preferencesWerner Koch2009-07-091-12/+35
|
* Allow generation of DSA2 keys without --enable-dsa2.Werner Koch2009-05-201-11/+3
|
* Fix bug#1056.Werner Koch2009-05-201-1/+1
|
* Changed default algo and size.Werner Koch2009-05-171-86/+136
|
* Made card key generate with backup key work for 2048 bit.Werner Koch2009-05-151-9/+33
| | | | | Improved card key generation prompts.
* Print keyid in gpg --list-packets.Werner Koch2009-05-131-2/+6
| | | | | | Add some not yet code to app-nks.c Changed batch mode expiration time computation
* Update spanish translation.Werner Koch2009-01-081-0/+9
| | | | | | Cleanups. Allow utf-8 in email addresses.
* Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.Werner Koch2008-12-111-1/+2
| | | | | Fix SIG_ID computation.
* Flush keyserver search output.Werner Koch2008-12-091-21/+43
| | | | | | Add trustdb chnages from 1.4. Check algo usage for batch key generation.
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-32/+37
|
* Cehck for expire date overflows.Werner Koch2008-08-111-15/+23
|
* Add controlo statement %ask-passphraseWerner Koch2008-06-161-29/+68
|
* Changes the header presented before requesting the user ID.Werner Koch2008-06-011-3/+22
|
* Allow configuraton of pinentry tooltip.Werner Koch2007-12-041-2/+16
| | | | | Other minor buf fixes.
* Fixed card key generation of gpg2.Werner Koch2007-07-051-823/+954
| | | | | Reveal less information about timings while generating a key.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Included LIBICONV in all Makefiles.Werner Koch2007-01-311-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.
* * parse-packet.c (read_protected_v3_mpi): Make sure to stopWerner Koch2007-01-151-1/+1
| | | | | | | | reading even for corrupted packets. * keygen.c (generate_user_id): Need to allocate one byte more. Reported by Felix von Leitner.
* Fixes for CVE-2006-6235Werner Koch2006-12-061-19/+42
|