Werner Koch
90b0ff23b7
Editorial changes and allow building with old libgcrypts.
...
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.
2011-01-21 12:00:57 +01:00
Andrey Jivsov
b73d8ed06f
Fixed key generation with P-521. Confirmed that signature generation and verification work.
2011-01-12 21:14:45 -08:00
Andrey Jivsov
5761a9ba74
'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 --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
2011-01-10 20:24:14 -08:00
Andrey Jivsov
ded546b4b5
Milestone: Data signing/verification and key signing/verification work with ECDSA.
2011-01-06 15:44:01 -08:00
Andrey Jivsov
e0972d3d96
Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .
...
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.
2011-01-05 17:33:17 -08:00
Werner Koch
3f659600c7
Change last change. Does now work.
2010-12-09 12:57:50 +00:00
Werner Koch
1486dec17b
Change dirmngr timer under W32CE.
...
Fix trustdb open problem under W32CE.
2010-12-09 11:50:22 +00:00
Werner Koch
fcb5f7d08f
s/AES/AES128/ in diagnostics and --list-config
2010-12-02 15:49:02 +00:00
Werner Koch
b3f9e2130e
Change stack size for Wince.
...
Allow for a longer agent atartup under wince.
Print gpg output via estream.
2010-11-23 18:46:41 +00:00
Werner Koch
0103a53aa6
Smartcard related updates
2010-11-17 13:21:24 +00:00
David Shaw
b4da5a4150
* pkclist.c (select_algo_from_prefs): Make sure the scores can't
...
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.
2010-10-29 19:49:54 +00:00
Werner Koch
2e82b095cd
Better support unsigned time_t
2010-10-27 11:26:53 +00:00
Werner Koch
02e4c3cb7e
Re-implemented GPG's --passwd command and improved it.
2010-10-26 09:10:29 +00:00
Werner Koch
c212133918
Remove cruft.
...
Make --gen-revoke work
2010-10-21 10:25:03 +00:00
Werner Koch
25b1e76b44
Enable i18n for W32.
2010-10-20 15:06:50 +00:00
Werner Koch
cc99c37549
Make public key data structure easier to read.
...
Check vor v1 card while signing.
2010-10-20 11:33:50 +00:00
Werner Koch
ff59089979
replace some sprintf by bin2hex.
2010-10-18 13:54:42 +00:00
Werner Koch
6872919efe
Fix a signing problem with the card
2010-10-18 12:59:19 +00:00
Werner Koch
764e88d4df
All tests work are again working
2010-10-14 16:34:31 +00:00
Werner Koch
54591341a4
More agent support for gpg.
2010-10-13 15:57:08 +00:00
Werner Koch
a78335c9ce
Add new option --with-keygrip
2010-10-08 11:11:08 +00:00
Werner Koch
002b30e75c
Import fixes.
...
new otion for watchgnupg
2010-10-06 11:29:10 +00:00
Werner Koch
bfbd80feb9
Exporting secret keys via gpg-agent is now basically supported.
...
A couple of forward ported changes.
Doc updates.
2010-10-01 20:33:53 +00:00
David Shaw
aeb31977ec
* options.skel: Make the example for force-v3-sigs match reality (it
...
has defaulted to off since 2007-10-25).
2010-09-28 16:17:30 +00:00
Werner Koch
4fdd83b401
Fix standard directories for Wince.
...
Typo fix.
2010-09-13 10:17:04 +00:00
Werner Koch
299ed4c9e2
Removed more secret key related code.
...
It builds fine and passes some of the tests but there are quite some
features which don't work yet.
2010-09-06 19:57:42 +00:00
Werner Koch
daab9aff3a
Merge secret keys during import
2010-09-02 15:11:51 +00:00
Werner Koch
a0b9ebfb7d
Even less prompts for a new key now.
2010-09-01 12:49:05 +00:00
Werner Koch
9a9b3da58f
Use passphrase caching for import and genkey.
2010-09-01 09:48:35 +00:00
Werner Koch
87fac99112
Import OpenPGP keys into the agent.
2010-08-31 15:58:39 +00:00
Werner Koch
34dde96669
Fix regression in logging.
...
Add a registry key to enable catch-all remote debugging for W32.
Replace more stdio stuff by estream.
2010-08-18 19:25:15 +00:00
Werner Koch
a22c38baad
Some work on the dirmngr
2010-07-23 16:16:14 +00:00
Werner Koch
006fd75aea
Avoid using the protect-tool to import pkcs#12.
2010-06-17 15:44:44 +00:00
Werner Koch
db0fd50da1
use estream for status output.
2010-06-07 17:04:50 +00:00
Werner Koch
bbe388b5db
Add unfinished gpgtar.
...
Collected changes and ports of bug fixes from stable.
2010-06-07 13:33:02 +00:00
Werner Koch
b9f2c0daaf
Fix for bug 1223
2010-05-07 13:13:56 +00:00
Werner Koch
03d34be425
Provide a useful pinentry prompt.
2010-04-27 14:11:41 +00:00
Werner Koch
31bbe71ad6
Fix preference setting in new keys
2010-04-26 11:53:14 +00:00
Werner Koch
8e5010a958
Decryption and signi via agent is now implemented.
2010-04-23 11:36:59 +00:00
Werner Koch
ac823ac671
Re-indent and changed return type.
2010-04-21 17:30:07 +00:00
Werner Koch
a1412b05de
More changes on the way to remove secring.gpg.
2010-04-21 16:26:17 +00:00
Werner Koch
3af8efd595
Reindented
2010-04-20 18:19:19 +00:00
Werner Koch
21b0a955be
Generating an OpenPGP key cia gpg-agent basically works.
2010-04-20 17:57:50 +00:00
Werner Koch
53c636c4c6
./autogen.sh --build-w32ce does now succeed.
2010-04-14 14:39:16 +00:00
Werner Koch
31d7bdfe77
Whole lot of changes to support CE.
2010-04-14 11:24:02 +00:00
Werner Koch
f3839fe81d
Use gpg_err_set_errno to assign values to ERRNO.
2010-04-01 13:24:55 +00:00
Werner Koch
492f08ff68
Minor cleanups
2010-03-29 12:57:11 +00:00
Werner Koch
f080b353ed
More changes for CE. gpgsm does now build and run a keylisting.
2010-03-24 12:15:30 +00:00
Werner Koch
e64038608b
More chnages to use estream. Add a way to replace the standard
...
descriptors.
2010-03-22 12:46:05 +00:00
Werner Koch
fb2ba98963
Finished the bulk of changes to use estream in most places instead of
...
stdio.
2010-03-15 11:15:45 +00:00