aboutsummaryrefslogtreecommitdiffstats
path: root/g10/seskey.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Finished ECC integration.ECC-INTEGRATION-2-1Werner Koch2011-02-031-14/+14
| | | | | | | | | | | | 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.
* Truncate the DSA hash; fixes regression.Werner Koch2011-01-211-4/+6
| | | | Removed left over debug code.
* Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-211-127/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed key generation with P-521. Confirmed that signature generation and ↵Andrey Jivsov2011-01-131-2/+2
| | | | verification work.
* Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-061-12/+57
| | | | | | | | | | 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.
* Generating an OpenPGP key cia gpg-agent basically works.Werner Koch2010-04-201-16/+14
|
* Add full Camellia support.David Shaw2009-06-051-6/+6
| | | | | | | | | | | | | | | | | | * configure.ac: Remove Camellia restriction. * gpg.c (main), misc.c (openpgp_cipher_test_algo): Remove Camellia restriction. * misc.c (map_cipher_openpgp_to_gcry), main.h: Add macros for openpgp_cipher_open, openpgp_cipher_get_algo_keylen, and openpgp_cipher_get_algo_blklen to wrap around the corresponding gcry_* functions, but pass the algorithm number through map_cipher_openpgp_to_gcry. This is needed in case the gcry algorithm number doesn't match the OpenPGP number (c.f. Camellia). * encr-data.c, pubkey-enc.c, mainproc.c, cipher.c, encode.c, seskey.c, passphrase.c, seckey-cert.c: Use new openpgp_cipher_* macros here.
* Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch2008-09-291-4/+2
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch2006-11-211-10/+10
| | | | | | | good chance that gpg2 will now work. Other cleanups. Updated gettext.
* bug fixesWerner Koch2006-10-051-1/+3
|
* A couple of fixes. gpg2's key generation does now work.Werner Koch2006-06-301-3/+2
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-76/+117
| | | | | The gpg part does not yet build.
* Adjusted for use with current libgcrypt (1.1.42).Werner Koch2003-07-281-3/+3
|
* * options.h (DBG_CIPHER): Reintroduced it.Werner Koch2003-07-031-2/+6
| | | | | | | | | | | | | | | | | | * seskey.c (encode_session_key): Debug output of the session key. * pubkey-enc.c (get_it): Handle card case. * call-agent.c (agent_scd_pkdecrypt): New. * pkglue.c (pk_encrypt): Add RSA support. * g10.c (main): Default to --use-agent. * keygen.c (show_smartcard): Print info about the public key. (check_smartcard): Check for existing key here. (gen_card_key): And not anymore here. (fpr_is_zero): New. (generate_keypair): Generate both keys for a card. (smartcard_change_url): Nw.
* * app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch2003-07-011-2/+4
| | | | | | | | * keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
* Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch2003-06-271-0/+5
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-181-65/+81
| | | | | | | | | | | to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
* Update head to match stable 1.0David Shaw2002-06-291-57/+47
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-141-6/+14
|
* See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner KochWerner Koch2000-01-311-1/+0
|
* See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch2000-01-241-19/+18
|
* See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1999-12-081-11/+7
|
* See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1999-11-131-5/+5
|
* See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1999-10-261-20/+41
|
* See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1998-12-231-3/+3
|
* .Werner Koch1998-09-181-0/+1
|
* New releaseWerner Koch1998-09-141-1/+19
|
* ready for a new releaseWerner Koch1998-08-081-0/+18
|
* chnages done at the trainWerner Koch1998-08-071-7/+5
|
* syncWerner Koch1998-07-141-0/+1
|
* extensions are now working and fixed a lot of bugsWerner Koch1998-06-151-4/+16
|
* new releaseV0-2-17Werner Koch1998-05-041-2/+2
|
* *** empty log message ***Werner Koch1998-04-301-14/+3
|
* applied Mathews typo and grammar fixesWerner Koch1998-04-141-3/+3
|
* cipher reorganisiertWerner Koch1998-04-071-0/+3
|
* cast5 does now workWerner Koch1998-04-041-0/+1
|
* Renamed to GNUPGV-0-2-8Werner Koch1998-02-241-4/+4
|
* some import functionalityWerner Koch1998-02-161-1/+2
|
* added zlib and reorgnaized some stuffWerner Koch1998-02-121-131/+48
|
* bug fixesWerner Koch1998-02-111-12/+18
|
* added some trust model stuffWerner Koch1998-01-161-8/+5
|
* started with trust stuffWerner Koch1998-01-121-9/+10
|
* patchlevel 2Werner Koch1998-01-071-0/+4
|
* Sylvester VersionWerner Koch1997-12-311-5/+49
|
* added some stuff for signing keysWerner Koch1997-12-161-1/+1
|
* List and check sigs worksWerner Koch1997-12-011-0/+12
|
* ElGamal funktioniert und ist defaultWerner Koch1997-11-241-3/+44
|
* IDEA removed, signing worksWerner Koch1997-11-241-1/+40
|
* initially checkinWerner Koch1997-11-181-0/+101