1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00
gnupg/tests/openpgp
Werner Koch 8fee6c1ce6 gpg: Finish experimental support for Ed25519.
* agent/cvt-openpgp.c (try_do_unprotect_arg_s): Add field "curve".
(get_keygrip): Add and use arg CURVE.
(convert_secret_key): Ditto.
(convert_transfer_key): Ditto.
(get_npkey_nskey): New.
(prepare_unprotect): Replace gcrypt functions by
get_npkey_nskey.  Allow opaque MPIs.
(do_unprotect): Use CURVE instead of parameters.
(convert_from_openpgp_main): Ditto.
(convert_to_openpgp):  Simplify.
* g10/import.c (one_mpi_from_pkey): Remove.
(transfer_secret_keys): Rewrite to use the curve instead of the
parameters.
* g10/parse-packet.c (parse_key): Mark protected MPIs with USER1 flag.

* common/openpgp-oid.c (openpgp_curve_to_oid): Allow the use of
 "NIST P-256" et al.
* g10/keygen.c (ask_curve): Add arg ALGO.
(generate_keypair): Rewrite the ECC key logic.

* tests/openpgp/ecc.test: Provide the "ecc" passphrase.
2014-05-07 13:27:43 +02:00
..
privkeys All tests work are again working 2010-10-14 16:34:31 +00:00
samplekeys Add ECC sign, verify, encrypt and decrypt tests 2011-02-11 09:59:16 +01:00
armdetach.test Ported changes from 1.4. 2007-10-25 09:06:21 +00:00
armdetachm.test Ported changes from 1.4. 2007-10-25 09:06:21 +00:00
armencrypt.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
armencryptp.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
armor.test Add unfinished gpgtar. 2010-06-07 13:33:02 +00:00
armsignencrypt.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
armsigs.test Ported changes from 1.4. 2007-10-25 09:06:21 +00:00
bug537-test.data.asc Fix for bug 537 2006-10-02 11:54:35 +00:00
bug894-test.asc Fix a bug in the ambigious name detection. 2008-03-20 15:31:43 +00:00
bug1223-bogus.asc Fix for bug 1223 2010-05-07 13:13:56 +00:00
bug1223-good.asc Fix for bug 1223 2010-05-07 13:13:56 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
clearsig.test Add gpgsm server command GETINFO agent-check. 2008-09-30 10:30:20 +00:00
conventional-mdc.test Do not mix test result with progress lines. 2012-04-05 20:36:04 +02:00
conventional.test Do not mix test result with progress lines. 2012-04-05 20:36:04 +02:00
decrypt-dsa.test All tests work are again working 2010-10-14 16:34:31 +00:00
decrypt.test All tests work are again working 2010-10-14 16:34:31 +00:00
defs.inc gpg: Reject signatures made with MD5. 2014-03-17 18:14:23 +01:00
detach.test Ported changes from 1.4. 2007-10-25 09:06:21 +00:00
detachm.test Ported changes from 1.4. 2007-10-25 09:06:21 +00:00
ecc.test gpg: Finish experimental support for Ed25519. 2014-05-07 13:27:43 +02:00
encrypt-dsa.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
encrypt.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
encryptp.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
finish.test All tests work are again working 2010-10-14 16:34:31 +00:00
genkey1024.test All tests work are again working 2010-10-14 16:34:31 +00:00
gpg-agent.conf.tmpl Remove debug options 2010-10-14 16:36:47 +00:00
gpg.conf.tmpl gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
import.test Fix minor compiler warnings. 2013-11-15 15:49:34 +01:00
Makefile.am Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
mds.test tests: Handle disabled algorithms. 2014-02-10 10:41:48 +01:00
mkdemodirs All tests work are again working 2010-10-14 16:34:31 +00:00
multisig.test All tests work are again working 2010-10-14 16:34:31 +00:00
pgp263-test.pub.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
pgp263-test.sec.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
pinentry.sh Remove debug code from regression test pinentry 2011-02-10 20:54:37 +01:00
plain-1-pgp.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
plain-1.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
plain-1o.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
plain-2.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
plain-2o.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
plain-3.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
plain-3o.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
pubdemo.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
pubring.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
pubring.pkr.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
seat.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
secdemo.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
secring.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
secring.skr.asc Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
signdemokey Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
signencrypt-dsa.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
signencrypt.test gpg: Allow building without any trust model support. 2014-02-10 17:46:40 +01:00
sigs-dsa.test tests: Handle disabled algorithms. 2014-02-10 10:41:48 +01:00
sigs.test Do not mix test result with progress lines. 2012-04-05 20:36:04 +02:00
verify.test Ported changes from 1.4. 2007-10-25 09:06:21 +00:00
version.test Add ECC import regression tests and fixed a regression. 2011-02-10 20:45:37 +01:00