aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/import-incomplete/primary+uid-sig.asc
diff options
context:
space:
mode:
authorVincent Breitmoser <[email protected]>2019-06-13 19:27:41 +0000
committerDaniel Kahn Gillmor <[email protected]>2019-06-14 16:07:27 +0000
commit4c40bfa90bda748e5dada0bb1cc8fae14d744f07 (patch)
treef05f690e2d1681dea439652f587a239dd8426cb2 /tests/openpgp/import-incomplete/primary+uid-sig.asc
parentfix up 6562de7475b21cd03c7b1a83a591fa563c589f5b (diff)
downloadgnupg-4c40bfa90bda748e5dada0bb1cc8fae14d744f07.tar.gz
gnupg-4c40bfa90bda748e5dada0bb1cc8fae14d744f07.zip
tests: add test cases for import without uid
This commit adds a test case that does the following, in order: - Import of a primary key plus user id - Check that import of a subkey works, without a user id present in the imported key - Check that import of a subkey revocation works, without a user id or subkey binding signature present in the imported key - Check that import of a primary key revocation works, without a user id present in the imported key -- Note that this test currently fails. The following changesets will fix gpg so that the tests pass. GnuPG-Bug-id: 4393 Signed-Off-By: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'tests/openpgp/import-incomplete/primary+uid-sig.asc')
-rw-r--r--tests/openpgp/import-incomplete/primary+uid-sig.asc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/openpgp/import-incomplete/primary+uid-sig.asc b/tests/openpgp/import-incomplete/primary+uid-sig.asc
new file mode 100644
index 000000000..134607d0e
--- /dev/null
+++ b/tests/openpgp/import-incomplete/primary+uid-sig.asc
@@ -0,0 +1,10 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Comment: [C] primary key and self-sig expiring in 2024 (no user ID)
+
+mDMEXNmUGRYJKwYBBAHaRw8BAQdA75R8VlchvmEd2Iz/8l07RoKUaUPDB71Ao1zZ
+631VAN2IlgQTFggAPgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBLRpj5W8
+2H/gSMzKKQhD2paaqNr7BQJc2ZR1BQkJZgHcAAoJEAhD2paaqNr79soA/0lWkUsu
+3NLwgbni6EzJxnTzgeNMpljqNpipHAwfix9hAP93AVtFdC8g7hdUZxawobl9lnSN
+9ohXOEBWvdJgVv2YAg==
+=KWIK
+-----END PGP PUBLIC KEY BLOCK-----