summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-04305-5592/+5385
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Let autogen.sh check the git configWerner Koch2011-02-042-15/+41
| | | | | | | | To avoid checking in trailing scripts the autogen.sh script now enables the standard pre-commit hook, which check for this. Add a cleanpo filter if not yet set. This works with together with po/.gitattributes.
* Removed deprecated SIGEXPIRED status line.Werner Koch2011-02-043-7/+15
|
* Fix test for gcry_pk_get_curve.Werner Koch2011-02-036-36/+48
| | | | | Add a compatibility fixes for the non-curve case. Remove -lber from the dirmngr link line.
* Add a DECRYPTION_INFO status.Werner Koch2011-02-035-63/+81
| | | | | | | DECRYPTION_INFO <mdc_method> <sym_algo> Print information about the symmetric encryption algorithm and the MDC method. This will be emitted even if the decryption fails.
* Relax mailbox name checking. Fixes bug#1315.Werner Koch2011-02-032-41/+43
|
* Extend algo selection menu.Werner Koch2011-02-033-42/+75
| | | | | | | 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.
* Update copyright yearWerner Koch2011-02-036-107/+114
| | | | Nuked some trailing spaces.
* Merge branch 'ECC-INTEGRATION-2-1'ecc-integration-doneWerner Koch2011-02-0351-3034/+3137
|\
| * Finished ECC integration.Werner Koch2011-02-0311-293/+337
| | | | | | | | | | | | | | | | | | | | | | | | 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-0219-355/+691
| | | | | | | | | | | | | | | | 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-3110-242/+393
| | | | | | | | | | | | | | 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-319-147/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3112-358/+621
| | | | | | | | | | See ChangeLog for details. Key generation, signing and verification works. Encryption does not yet work. Requires latest Libgcrypt changes.
| * Update gitignoreWerner Koch2011-01-262-2088/+9
| |
| * Update gitignore to the one used in tye 2.0 branch.Werner Koch2011-01-261-1/+122
| |
| * Update gitignore and add attributes to po/Werner Koch2011-01-262-0/+9
| |
| * 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.
| * Fix another stupid bug ECDH detection bugWerner Koch2011-01-241-1/+1
| | | | | | | | | | Again reported by Johan van Selst. Let's see whether this one is okay.
| * Fix ECDH configure testWerner Koch2011-01-242-6/+1
| |
| * Merge branch 'master' into ECC-INTEGRATION-2-1Werner Koch2011-01-2449-1629/+3536
| |\
| * | 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-216-35/+29
| | | | | | | | | | | | | | | 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-2129-765/+875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <wk@g10code.com> * configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP. (HAVE_GCRY_PK_ECDH): Add new test. [agent/] 2011-01-21 Werner Koch <wk@g10code.com> * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New. [include/] 2011-01-21 Werner Koch <wk@g10code.com> * cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros because we now require libgcrypt 1.4.6. (GCRY_PK_ECDH): Add replacement.
| * | Add ignore fileWerner Koch2011-01-151-0/+12
| | |
| * | Fixed key generation with P-521. Confirmed that signature generation and ↵Andrey Jivsov2011-01-135-16/+27
| | | | | | | | | | | | 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
| * | Fix bug #1311.Werner Koch2011-01-103-2/+11
| | |
| * | Milestone: Data signing/verification and key signing/verification work with ↵Andrey Jivsov2011-01-072-2/+2
| | | | | | | | | | | | ECDSA.
| * | Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-0634-176/+1497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Make sure that --disable-optimization works in its attempt to replace -Ox ↵Andrey Jivsov2011-01-061-1/+1
| | | | | | | | | | | | with -O0.
* | | Add gitattributesWerner Koch2011-01-261-0/+7
| | |
* | | Fixed problem with unplugging card readers.Werner Koch2011-01-253-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From Grant Olsons's mail to gnupg-devel@: This is three-quarters NIIBE and one-quarter me, but I though it would be easier to have a single complete patch that applies to STABLE-BRANCH-2-0 than two patches floating around. This is basically NIIBE Yatuka's patch here: http://lists.gnupg.org/pipermail/gnupg-devel/2010-November/025828.html Plus another check that closes down the reader explicitly if we get a SW_HOST_NO_READER error, so that an unplugged reader doesn't hold onto the first slot, preventing us from getting to the active plugged reader.
* | | Detect non operational readers.Werner Koch2011-01-255-10/+52
| | | | | | | | | | | | Backport from 2.0.
* | | Fix setting of default homedir for WinceWerner Koch2011-01-252-1/+3
| | | | | | | | | | | | | | | Accidentally used == for assignment. Not a problem in our test environment because we use /gnupg as home directory anyway.
* | | Make dirmngr more battery friendly.Werner Koch2011-01-254-124/+199
| |/ |/| | | | | | | | | | | Similar to gpg-agent, dirmngr's wait timeouts are now synced to the full second. Increased ldap helper thread timeout to 2 seconds. Nuked some white spaces.
* | Remove keyserver/ from the build system.Werner Koch2011-01-203-6/+12
| |
* | Fix for bug#1313. de.po update.Werner Koch2011-01-205-253/+260
| |
* | Merge branch 'master' into keyserver-via-dirmngrWerner Koch2011-01-2014-43/+97
|\ \
| * | Fixed a CR/LF problem on WindowsWerner Koch2011-01-192-3/+10
| | |
| * | Use estream for dirmngr's --gpgconf-list.Werner Koch2011-01-197-33/+67
| | | | | | | | | | | | Change insalled name of gpg2 for Wince.
| * | Fix computation of NEWSIZE in es_func_mem_write.Werner Koch2011-01-182-1/+5
| | | | | | | | | | | | The function used to fail and return EINVAL when enlarging the buffer.
| * | ifset parts which are not in GnuPG 2.0Werner Koch2011-01-133-4/+13
| | |
| * | Add ignore fileWerner Koch2011-01-101-0/+12
| | |
| * | Fix bug #1311.Werner Koch2011-01-103-2/+11
| |/