aboutsummaryrefslogtreecommitdiffstats
path: root/g10/seskey.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-02-03Finished ECC integration.ECC-INTEGRATION-2-1Werner Koch1-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.
2011-01-21Truncate the DSA hash; fixes regression.Werner Koch1-4/+6
Removed left over debug code.
2011-01-21Editorial changes and allow building with old libgcrypts.Werner Koch1-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.
2011-01-13Fixed key generation with P-521. Confirmed that signature generation and ↵Andrey Jivsov1-2/+2
verification work.
2011-01-06Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov1-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.
2010-04-20Generating an OpenPGP key cia gpg-agent basically works.Werner Koch1-16/+14
2009-06-05Add full Camellia support.David Shaw1-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.
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-4/+2
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-11-21No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch1-10/+10
good chance that gpg2 will now work. Other cleanups. Updated gettext.
2006-10-05bug fixesWerner Koch1-1/+3
2006-06-30A couple of fixes. gpg2's key generation does now work.Werner Koch1-3/+2
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-76/+117
The gpg part does not yet build.
2006-03-30Update copyrightDavid Shaw1-1/+2
2006-03-30* main.h, seskey.c (encode_md_value): Modify to allow a q size greaterDavid Shaw1-26/+66
than 160 bits as per DSA2. This will allow us to verify and issue DSA2 signatures for some backwards compatibility once we start generating DSA2 keys. * sign.c (do_sign), sig-check.c (do_check): Change all callers. * sign.c (do_sign): Enforce the 160-bit check for new signatures here since encode_md_value can handle non-160-bit digests now. This will need to come out once the standard for DSA2 is firmed up.
2005-07-27Converted all m_free to xfree etc.Werner Koch1-6/+6
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2004-08-19(encode_session_key): Changed the zero random byteWerner Koch1-2/+5
substituting code to actually do clever things. Thanks to Matthias Urlichs for noting the implementation problem.
2003-12-04* options.h, g10.c (main), main.h, seskey.c (do_encode_md,David Shaw1-6/+6
encode_md_value), sig-check.c (do_check), sign.c (do_sign): Remove --emulate-md-encode-bug as it only applied to Elgamal signatures, which are going away.
2003-11-21* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.David Shaw1-1/+10
* misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by Tommi Vainikainen. (string_to_compress_algo): Include multi-string for "uncompressed|none".
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch1-3/+3
2003-07-03* options.h (DBG_CIPHER): Reintroduced it.Werner Koch1-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.
2003-07-01* app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch1-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.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-0/+5
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-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.
2002-06-29Update head to match stable 1.0David Shaw1-57/+47
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-6/+14
2000-01-31See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner KochWerner Koch1-1/+0
2000-01-24See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch1-19/+18
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-11/+7
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-5/+5
1999-10-26See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1-20/+41
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-09-18.Werner Koch1-0/+1
1998-09-14New releaseWerner Koch1-1/+19
1998-08-08ready for a new releaseWerner Koch1-0/+18
1998-08-07chnages done at the trainWerner Koch1-7/+5
1998-07-14syncWerner Koch1-0/+1
1998-06-15extensions are now working and fixed a lot of bugsWerner Koch1-4/+16
1998-05-04new releaseV0-2-17Werner Koch1-2/+2
1998-04-30*** empty log message ***Werner Koch1-14/+3
1998-04-14applied Mathews typo and grammar fixesWerner Koch1-3/+3
1998-04-07cipher reorganisiertWerner Koch1-0/+3
1998-04-04cast5 does now workWerner Koch1-0/+1
1998-02-24Renamed to GNUPGV-0-2-8Werner Koch1-4/+4
1998-02-16some import functionalityWerner Koch1-1/+2
1998-02-12added zlib and reorgnaized some stuffWerner Koch1-131/+48
1998-02-11bug fixesWerner Koch1-12/+18
1998-01-16added some trust model stuffWerner Koch1-8/+5
1998-01-12started with trust stuffWerner Koch1-9/+10