summary refs log tree commit diff
path: root/tests/discovery.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-26 23:20:26 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-04 09:56:12 +0200
commitefe1f0122c61b8932671d07419f0200c170a994e (patch)
tree970bd488de86bc1009dabc3c64e6d59f7ceeb5c5 /tests/discovery.scm
parent7b2b3a13cc2d9b043f37b2e7ba0f147c08de8fad (diff)
downloadguix-efe1f0122c61b8932671d07419f0200c170a994e.tar.gz
openpgp: Add 'lookup-key-by-fingerprint'.
* guix/openpgp.scm (<openpgp-keyring>)[table]: Rename to...
[ids]: ... this.
[fingerprints]: New field.
(keyring-insert, lookup-key-by-fingerprint): New procedures.
(%empty-keyring): Adjust.
(get-openpgp-keyring): Manipulate KEYRING instead of its vhash, use
'keyring-insert'.
* tests/openpgp.scm ("get-openpgp-keyring"): Test
'lookup-key-by-fingerprint'.
Diffstat (limited to 'tests/discovery.scm')
0 files changed, 0 insertions, 0 deletions