summaryrefslogtreecommitdiff
path: root/t/lib-gpg/gpgsm_cert.p12
diff options
context:
space:
mode:
authorLibravatar Henning Schild <henning.schild@siemens.com>2018-07-20 10:28:07 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-20 08:41:42 -0700
commit53fc999306af60213e18b3ffd4c0347e4a88af0a (patch)
tree93da297efbc28c5d9a0d04ee767d1e02fd5cb29c /t/lib-gpg/gpgsm_cert.p12
parentgpg-interface: introduce new signature format "x509" using gpgsm (diff)
downloadtgif-53fc999306af60213e18b3ffd4c0347e4a88af0a.tar.xz
gpg-interface t: extend the existing GPG tests with GPGSM
Add test cases to cover the new X509/gpgsm support. Most of them resemble existing ones. They just switch the format to x509 and set the signingkey when creating signatures. Validation of signatures does not need any configuration of git, it does need gpgsm to be configured to trust the key(-chain). Several of the testcases build on top of existing gpg testcases. The commit ships a self-signed key for committer@example.com and configures gpgsm to trust it. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-gpg/gpgsm_cert.p12')
-rw-r--r--t/lib-gpg/gpgsm_cert.p12bin0 -> 2652 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/t/lib-gpg/gpgsm_cert.p12 b/t/lib-gpg/gpgsm_cert.p12
new file mode 100644
index 0000000000..94ffad0d31
--- /dev/null
+++ b/t/lib-gpg/gpgsm_cert.p12
Binary files differ