tests: add test cases for import without uid
authorVincent Breitmoser <look@my.amazin.horse>
Thu, 13 Jun 2019 19:27:41 +0000 (21:27 +0200)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commit5ce8882035b0db39af77c9a60c51cf638777787d
tree353a8c41d3fcb10837e5cd9aaddb2c012932dbb7
parentc07d5fa90bcc7a58fc2df7db06c0c24ca23a6f14
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 <dkg@fifthhorseman.net>
Gbp-Pq: Topic import-merge-without-userid
Gbp-Pq: Name tests-add-test-cases-for-import-without-uid.patch
tests/openpgp/Makefile.am
tests/openpgp/import-incomplete.scm [new file with mode: 0755]
tests/openpgp/import-incomplete/primary+revocation.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+subkey+sub-revocation.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+subkey+sub-sig.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+uid-sig.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+uid.asc [new file with mode: 0644]