forked from Mirrors/flatpak-builder
tests: Add a second gpg keyring
parent
b33d6fd04f
commit
ec89340a26
|
@ -78,6 +78,9 @@ Flatpak-1.0.*
|
|||
/tests/test-keyring/.gpg-v21-migrated
|
||||
/tests/test-keyring/private-keys-v1.d/
|
||||
/tests/test-keyring/trustdb.gpg
|
||||
/tests/test-keyring2/.gpg-v21-migrated
|
||||
/tests/test-keyring2/private-keys-v1.d/
|
||||
/tests/test-keyring2/trustdb.gpg
|
||||
/tests/hello*.flatpak
|
||||
/tests/platform*.flatpak
|
||||
/tests/repo
|
||||
|
|
|
@ -170,12 +170,17 @@ assert_file_empty() {
|
|||
}
|
||||
|
||||
export FL_GPG_HOMEDIR=${TEST_DATA_DIR}/gpghome
|
||||
export FL_GPG_HOMEDIR2=${TEST_DATA_DIR}/gpghome2
|
||||
mkdir -p ${FL_GPG_HOMEDIR}
|
||||
mkdir -p ${FL_GPG_HOMEDIR2}
|
||||
# This need to be writable, so copy the keys
|
||||
cp $(dirname $0)/test-keyring/*.gpg ${FL_GPG_HOMEDIR}/
|
||||
cp $(dirname $0)/test-keyring2/*.gpg ${FL_GPG_HOMEDIR2}/
|
||||
|
||||
export FL_GPG_ID=7B0961FD
|
||||
export FL_GPG_ID2=B2314EFC
|
||||
export FL_GPGARGS="--gpg-homedir=${FL_GPG_HOMEDIR} --gpg-sign=${FL_GPG_ID}"
|
||||
export FL_GPGARGS2="--gpg-homedir=${FL_GPG_HOMEDIR2} --gpg-sign=${FL_GPG_ID2}"
|
||||
|
||||
setup_repo () {
|
||||
REPONAME=${1:-test}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
These are completely random keys, which include the secret key.
|
||||
Use these for testing gpg signing, do *NOT* ever use these for any
|
||||
real application.
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue