mirror of
https://github.com/git/git.git
synced 2024-12-04 23:44:14 +08:00
53fc999306
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>
9 lines
212 B
Plaintext
9 lines
212 B
Plaintext
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
|