tests/json: Bravo key does not have secret key material

* tests/json/t-keylist-secret.out.json: indicate correctly that the
"Bravo" test key does not have secret key material.

--

Some older versions of GnuPG are buggy, and will claim "secret: true"
for this key, even though the keyring in question has no secret key
material for it.

The underlying call to gpg looks something like:

    gpg --with-colons --with-secret --list-keys -- \
        alpha@example.net bravo@example.net

You can see the change in field 15 of the "pub" and "sub" output.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Gbp-Pq: Name 0005-tests-json-Bravo-key-does-not-have-secret-key-materi.patch
This commit is contained in:
Daniel Kahn Gillmor 2020-01-23 16:43:13 -05:00 committed by openKylinBot
parent c69cd58c65
commit 13b795b14a
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
"can_sign": true,
"can_certify": true,
"can_authenticate": true,
"secret": true,
"secret": false,
"is_qualified": false,
"protocol": "OpenPGP",
"fingerprint": "D695676BDCEDCC2CDD6152BCFE180B1DA9E3B0B2",