Skip to content

Commit

Permalink
Test reading openpgpg backend with sq
Browse files Browse the repository at this point in the history
Related: #3341
  • Loading branch information
ffesti authored and dmnks committed Nov 12, 2024
1 parent 69ac8ff commit 5dc1663
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/rpmsigdig.at
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,14 @@ runroot rpmkeys -Kv /data/RPMS/hello-2.0-1.x86_64-signed-with-new-subkey.rpm
],
[])

RPMTEST_CHECK([[
runroot_other sq --cert-store=/usr/lib/sysimage/rpm/pubkeys pki list --gossip 2>&1 | grep -e "^[[:xdigit:]]\{40\}"
]],
[0],
[771B18D3D7BAA28734333C424344591E1964C5FC
],
[])

RPMTEST_CHECK([
runroot_other touch /usr/lib/sysimage/rpm/pubkeys/writelock
runroot_other flock -x /usr/lib/sysimage/rpm/pubkeys/writelock -c "rpmkeys --import /data/keys/rpm.org-rsa-2048-add-subkey.asc"
Expand Down

0 comments on commit 5dc1663

Please sign in to comment.