aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Finished ECC integration.ECC-INTEGRATION-2-1Werner Koch2011-02-035-191/+219
| | | | | | | | | | | | 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.
* Compute the fingerprint for ECDH only on demand.Werner Koch2011-02-024-79/+90
| | | | | This also fixes a failed assertion when using a v3 key where the fingerprint size is not 20.
* Sample ECC keys and message do now work.Werner Koch2011-02-029-252/+504
| | | | | | | | 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.
* Move OpenPGP OID helpers to common/.Werner Koch2011-01-313-205/+3
| | | | | | | This is needed so that the agent will be able to export and import OpenPGP secret keys. Add test case. Removed unused function.
* Fixed the ECC interface to Libgcrypt to be ABI compatible with the previous ↵Werner Koch2011-01-317-144/+115
| | | | | | | | | | | | | | | | version. Quite some changes were needed but in the end we have less code than before. Instead of trying to do everything with MPIs and pass them back and forth between Libgcrypt and GnuPG, we know use the S-expression based interface and make heavy use of our opaque MPI feature. Encryption, decryption, signing and verification work with self-generared keys. Import and export does not yet work; thus it was not possible to check the test keys at https://sites.google.com/site/brainhub/pgpecckeys .
* Reworked the ECC changes to better fit into the Libgcrypt API.Werner Koch2011-01-3110-356/+613
| | | | | See ChangeLog for details. Key generation, signing and verification works. Encryption does not yet work. Requires latest Libgcrypt changes.
* Function name cleanupsWerner Koch2011-01-267-141/+142
| | | | Also nuked some trailing spaces.
* Started with some code cleanups in ECDH.Werner Koch2011-01-255-136/+158
| | | | | | The goal is to have the ECDH code more uniform with the other algorithms. Also make error messages and variable names more similar to other places.
* More ECDH code cleanupsWerner Koch2011-01-254-101/+72
|
* Editorial cleanups of keygen.cWerner Koch2011-01-256-254/+163
| | | | | Also fixed a regression introduced by me in pubkey_enc.c. Added extra checks. Removed unused code.
* Merge branch 'master' into ECC-INTEGRATION-2-1Werner Koch2011-01-2412-924/+1352
|\
| * All standard keyserver commands are now using dirmngr.Werner Koch2011-01-206-694/+300
| |
| * Keyserver search and get basically works again.Werner Koch2011-01-187-305/+749
| |
| * Initial code checking for backup - not yet working.Werner Koch2011-01-109-58/+436
| |
* | Fix regression introduced by "editing only change".Werner Koch2011-01-241-1/+1
| | | | | | | | Signing and verification using a new key works again.
* | Truncate the DSA hash; fixes regression.Werner Koch2011-01-213-7/+8
| | | | | | | | Removed left over debug code.
* | Make most of the selftests work.Werner Koch2011-01-213-19/+8
| | | | | | | | | | Note that there is still a problem with tests/openpgp/sigs.test while using the option --digest-algo SHA256.
* | Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-2117-706/+801
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | 'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 ↵Andrey Jivsov2011-01-116-131/+73
| | | | | | | | | | | | | | | | --debug 15 _e.asc', as well as decoding of an old message posted on https://sites.google.com/site/brainhub/pgpecckeys work. This is the milestone 2 that brings in ECDH support from http://code.google.com/p/gnupg-ecc/source/detail?r=15 . This corresponds to the commit 899386826c85f1e757e75bcc5d5b2159d05676a0 in libgcrypt
* | Milestone: Data signing/verification and key signing/verification work with ↵Andrey Jivsov2011-01-061-1/+1
| | | | | | | | ECDSA.
* | Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-0623-153/+1370
|/ | | | | | | | | | 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.
* Change last change. Does now work.Werner Koch2010-12-092-4/+19
|
* Change dirmngr timer under W32CE.Werner Koch2010-12-092-0/+23
| | | | | Fix trustdb open problem under W32CE.
* s/AES/AES128/ in diagnostics and --list-configWerner Koch2010-12-022-1/+5
|
* Change stack size for Wince.Werner Koch2010-11-235-69/+96
| | | | | | Allow for a longer agent atartup under wince. Print gpg output via estream.
* Smartcard related updatesWerner Koch2010-11-179-298/+237
|
* * pkclist.c (select_algo_from_prefs): Make sure the scores can'tDavid Shaw2010-10-292-17/+43
| | | | | | | | | | | | overflow when picking an algorithm (not a security issue since we can't pick something not present in all preference lists, but we might pick something that isn't scored first choice). * pkclist.c (select_algo_from_prefs): Slightly improve the handling of MD5 in preference lists. Instead of replacing MD5 with SHA-1, just remove MD5 from the list altogether, and let the next-highest ranked algorithm be chosen.
* Better support unsigned time_tWerner Koch2010-10-273-7/+17
|
* Re-implemented GPG's --passwd command and improved it.Werner Koch2010-10-267-221/+183
|
* Remove cruft.Werner Koch2010-10-216-34/+28
| | | | | Make --gen-revoke work
* Enable i18n for W32.Werner Koch2010-10-202-1/+4
|
* Make public key data structure easier to read.Werner Koch2010-10-2018-134/+222
| | | | | Check vor v1 card while signing.
* replace some sprintf by bin2hex.Werner Koch2010-10-182-17/+15
|
* Fix a signing problem with the cardWerner Koch2010-10-182-53/+27
|
* All tests work are again workingWerner Koch2010-10-144-25/+60
|
* More agent support for gpg.Werner Koch2010-10-1315-252/+308
|
* Add new option --with-keygripWerner Koch2010-10-084-5/+42
|
* Import fixes.Werner Koch2010-10-062-5/+20
| | | | | new otion for watchgnupg
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-0132-412/+1105
| | | | | | A couple of forward ported changes. Doc updates.
* * options.skel: Make the example for force-v3-sigs match reality (itDavid Shaw2010-09-282-6/+12
| | | | | has defaulted to off since 2007-10-25).
* Fix standard directories for Wince.Werner Koch2010-09-131-6/+1
| | | | | Typo fix.
* Removed more secret key related code.Werner Koch2010-09-0620-1992/+1353
| | | | | | It builds fine and passes some of the tests but there are quite some features which don't work yet.
* Merge secret keys during importWerner Koch2010-09-022-28/+23
|
* Even less prompts for a new key now.Werner Koch2010-09-0111-51/+84
|
* Use passphrase caching for import and genkey.Werner Koch2010-09-015-26/+88
|
* Import OpenPGP keys into the agent.Werner Koch2010-08-3112-254/+672
|
* Fix regression in logging.Werner Koch2010-08-182-81/+90
| | | | | | Add a registry key to enable catch-all remote debugging for W32. Replace more stdio stuff by estream.
* Some work on the dirmngrWerner Koch2010-07-232-0/+8
|
* Avoid using the protect-tool to import pkcs#12.Werner Koch2010-06-172-4/+5
|