diff options
author | Daniel Kahn Gillmor <[email protected]> | 2020-01-23 21:43:13 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2020-01-23 22:57:20 +0000 |
commit | f2aeb2563ba2f55eea7f52041e52062fdc839a64 (patch) | |
tree | 6d2da747e916df3b3734a6261fc425b55ef664e6 | |
parent | core: Add MacOS fallbacks to look for binaries (diff) | |
download | gpgme-f2aeb2563ba2f55eea7f52041e52062fdc839a64.tar.gz gpgme-f2aeb2563ba2f55eea7f52041e52062fdc839a64.zip |
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 -- \
[email protected] [email protected]
You can see the change in field 15 of the "pub" and "sub" output.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
GnuPG-Bug-Id: 4820
-rw-r--r-- | tests/json/t-keylist-secret.out.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json/t-keylist-secret.out.json b/tests/json/t-keylist-secret.out.json index 5da20dbe..109eae3f 100644 --- a/tests/json/t-keylist-secret.out.json +++ b/tests/json/t-keylist-secret.out.json @@ -91,7 +91,7 @@ "can_sign": true, "can_certify": true, "can_authenticate": true, - "secret": true, + "secret": false, "is_qualified": false, "protocol": "OpenPGP", "fingerprint": "D695676BDCEDCC2CDD6152BCFE180B1DA9E3B0B2", |