Browse Source
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>maint


7 changed files with 178 additions and 5 deletions
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
Key-Type: RSA |
||||
Key-Length: 2048 |
||||
Key-Usage: sign |
||||
Serial: random |
||||
Name-DN: CN=C O Mitter, O=Example, SN=C O, GN=Mitter |
||||
Name-Email: committer@example.com |
||||
Not-Before: 1970-01-01 00:00:00 |
||||
Not-After: 3000-01-01 00:00:00 |
Binary file not shown.
Loading…
Reference in new issue