From b41a36e635803f1dc011007e836ae244f9ae04c1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 12 Dec 2014 09:50:12 +0100 Subject: tests: create gpg homedir on the fly GnuPG 2.1 homedir looks different, so just create it on the fly by importing needed private and public keys and ownertrust. This solves an issue with gnupg 2.1 running interactive pinentry when old secret key is present. Signed-off-by: Christian Hesse Signed-off-by: Junio C Hamano --- t/lib-gpg/ownertrust | 4 ++++ t/lib-gpg/random_seed | Bin 600 -> 0 bytes t/lib-gpg/trustdb.gpg | Bin 1360 -> 0 bytes 3 files changed, 4 insertions(+) create mode 100644 t/lib-gpg/ownertrust delete mode 100644 t/lib-gpg/random_seed delete mode 100644 t/lib-gpg/trustdb.gpg (limited to 't/lib-gpg') diff --git a/t/lib-gpg/ownertrust b/t/lib-gpg/ownertrust new file mode 100644 index 000000000..b3e3c4f1c --- /dev/null +++ b/t/lib-gpg/ownertrust @@ -0,0 +1,4 @@ +# List of assigned trustvalues, created Thu 11 Dec 2014 01:26:28 PM CET +# (Use "gpg --import-ownertrust" to restore them) +73D758744BE721698EC54E8713B6F51ECDDE430D:6: +D4BE22311AD3131E5EDA29A461092E85B7227189:3: diff --git a/t/lib-gpg/random_seed b/t/lib-gpg/random_seed deleted file mode 100644 index 95d249f15..000000000 Binary files a/t/lib-gpg/random_seed and /dev/null differ diff --git a/t/lib-gpg/trustdb.gpg b/t/lib-gpg/trustdb.gpg deleted file mode 100644 index 4879ae9a8..000000000 Binary files a/t/lib-gpg/trustdb.gpg and /dev/null differ -- cgit v1.2.1