Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-12-12 11:50:14 +0300
committerJunio C Hamano <gitster@pobox.com>2014-12-13 00:51:54 +0300
commit1e3eefbc8d942f94d59d745bbfe91d28d39e680d (patch)
tree4a94c5f2fd0e9c8dd4c3920b9f4828f988a3a016 /t/lib-gpg.sh
parentc0e0ed6efe497902a2e2ce5fb1586577a27eea1b (diff)
tests: replace binary GPG keyrings with ASCII-armored keys
Importing PGP key public and security ring works, but we do not have all secret keys in one binary blob and all public keys in another. Instead import public and secret keys for one key pair from a text file that holds ASCII-armored export of them. Signed-off-by: Christian Hesse <mail@eworm.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-gpg.sh')
-rwxr-xr-xt/lib-gpg.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh
index 7e077b01c1..b611b78f54 100755
--- a/t/lib-gpg.sh
+++ b/t/lib-gpg.sh
@@ -21,8 +21,7 @@ else
GNUPGHOME="$(pwd)/gpghome"
export GNUPGHOME
gpg --homedir "${GNUPGHOME}" --import \
- "$TEST_DIRECTORY"/lib-gpg/pubring.gpg \
- "$TEST_DIRECTORY"/lib-gpg/secring.gpg
+ "$TEST_DIRECTORY"/lib-gpg/keyring.gpg
gpg --homedir "${GNUPGHOME}" --import-ownertrust \
"$TEST_DIRECTORY"/lib-gpg/ownertrust
test_set_prereq GPG