1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00
gnupg/tests/openpgp/samplekeys
Neal H. Walfield cedbd4709e gpg: Use the matching key if the search description is exact.
* g10/gpg.c (check_user_ids): If the search description is for an
exact match (a keyid or fingerprint that ends in '!'), then use the
matching key, not the primary key.
* tests/openpgp/Makefile.am (TESTS): Add use-exact-key.test.
(priv_keys): Add privkeys/00FE67F28A52A8AA08FFAED20AF832DA916D1985.asc,
privkeys/1DF48228FEFF3EC2481B106E0ACA8C465C662CC5.asc,
privkeys/A2832820DC9F40751BDCD375BB0945BA33EC6B4C.asc,
privkeys/ADE710D74409777B7729A7653373D820F67892E0.asc and
privkeys/CEFC51AF91F68A2904FBFF62C4F075A4785B803F.asc.
(sample_keys): Add
samplekeys/E657FB607BB4F21C90BB6651BC067AF28BC90111.asc.
* tests/openpgp/privkeys/00FE67F28A52A8AA08FFAED20AF832DA916D1985.asc:
New file.
* tests/openpgp/privkeys/1DF48228FEFF3EC2481B106E0ACA8C465C662CC5.asc:
New file.
* tests/openpgp/privkeys/A2832820DC9F40751BDCD375BB0945BA33EC6B4C.asc:
New file.
* tests/openpgp/privkeys/ADE710D74409777B7729A7653373D820F67892E0.asc:
New file.
* tests/openpgp/privkeys/CEFC51AF91F68A2904FBFF62C4F075A4785B803F.asc:
New file.
* tests/openpgp/samplekeys/E657FB607BB4F21C90BB6651BC067AF28BC90111.asc:
New file.
* tests/openpgp/use-exact-key.test: New file.
* tests/openpgp/version.test: Install the new private keys.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Reported-by: Reported-by: Kristian Fiskerstrand
  <kristian.fiskerstrand@sumptuouscapital.com>
Fixes-commit: 10cca02
2015-12-03 00:00:54 +01:00
..
dda252ebb8ebe1af-1.asc tests: Add sample keys with colliding long keu ids. 2014-10-13 13:57:00 +02:00
dda252ebb8ebe1af-2.asc tests: Add sample keys with colliding long keu ids. 2014-10-13 13:57:00 +02:00
e2e-p256-1-clr.asc tests: Two new OpenPGP test keys from E2E. 2015-10-05 10:58:00 +02:00
e2e-p256-1-prt.asc tests: Two new OpenPGP test keys from E2E. 2015-10-05 10:58:00 +02:00
E657FB607BB4F21C90BB6651BC067AF28BC90111.asc gpg: Use the matching key if the search description is exact. 2015-12-03 00:00:54 +01:00
ecc-sample-1-pub.asc Sample ECC keys and message do now work. 2011-02-02 15:48:54 +01:00
ecc-sample-1-sec.asc Sample ECC keys and message do now work. 2011-02-02 15:48:54 +01:00
ecc-sample-2-pub.asc Add ECC import regression tests and fixed a regression. 2011-02-10 20:45:37 +01:00
ecc-sample-2-sec.asc Add ECC import regression tests and fixed a regression. 2011-02-10 20:45:37 +01:00
ecc-sample-3-pub.asc Add ECC import regression tests and fixed a regression. 2011-02-10 20:45:37 +01:00
ecc-sample-3-sec.asc Add ECC import regression tests and fixed a regression. 2011-02-10 20:45:37 +01:00
eddsa-sample-1-pub.asc gpg: Use algorithm id 22 for EdDSA. 2014-09-12 11:31:49 +02:00
eddsa-sample-1-sec.asc gpg: Use algorithm id 22 for EdDSA. 2014-09-12 11:31:49 +02:00
no-creation-time.gpg Add a sample key. 2009-01-13 14:01:56 +00:00
README gpg: Use the matching key if the search description is exact. 2015-12-03 00:00:54 +01:00
whats-new-in-2.1.asc tests: More OpenPGP test keys 2015-05-16 12:20:02 +02:00

no-creation-time.gpg   A key with a zero creation time.
ecc-sample-1-pub.asc   A NIST P-256 ECC sample key.
ecc-sample-1-sec.asc   Ditto, but the secret keyblock.
ecc-sample-2-pub.asc   A NIST P-384 ECC sample key.
ecc-sample-2-sec.asc   Ditto, but the secret keyblock.
ecc-sample-3-pub.asc   A NIST P-521 ECC sample key.
ecc-sample-3-sec.asc   Ditto, but the secret keyblock.
eddsa-sample-1-pub.asc An Ed25519 sample key.
eddsa-sample-1-sec.asc Ditto, but as protected secret keyblock.
dda252ebb8ebe1af-1.asc rsa4096 key 1
dda252ebb8ebe1af-2.asc rsa4096 key 2 with a long keyid collision.
whats-new-in-2.1.asc   Collection of sample keys.
e2e-p256-1-clr.asc     Google End-end-End test key (no protection)
e2e-p256-1-prt.asc     Ditto, but protected with passphrase "a".
E657FB607BB4F21C90BB6651BC067AF28BC90111.asc Key with subkeys (no protection)