show: add option --gpg-homedir
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
1 parent
f37cbe1fc9
commit
cd93780d97
3 files changed
+15
-1
No files matched your search
@@ -37,6 +37,9 @@ ${OSTREE} show test2 | grep -o 'Found [[:digit:]] signature' > test2-show
|
||||
# tests will actually do verification
|
||||
assert_file_has_content test2-show 'Found 1 signature'
|
||||
|
||||
${OSTREE} show --gpg-homedir=${TEST_GPG_KEYHOME} test2 | grep -o 'Found [[:digit:]] signature' > test2-show
|
||||
assert_file_has_content test2-show 'Found 1 signature'
|
||||
|
||||
# Now sign a commit with 3 different keys
|
||||
cd ${test_tmpdir}
|
||||
${OSTREE} commit -b test2 -s "A GPG signed commit" -m "Signed commit body" --gpg-sign=${TEST_GPG_KEYID_1} --gpg-sign=${TEST_GPG_KEYID_2} --gpg-sign=${TEST_GPG_KEYID_3} --gpg-homedir=${TEST_GPG_KEYHOME} --tree=dir=files
|
||||
|
||||
Reference in new issue
Block a user