mirror of https://github.com/sobolevn/git-secret
Issue 607 fix expired test key (#608)
* updated fixture key for user3, fixes #607 * update tests/fixtures/gpg/README.md * mention fix of #607 and #609 in changelog * use shellcheck 0.7.1, not 'latest' for #609pull/611/head
parent
fb1aa1742b
commit
bdc3560897
@ -1,29 +1,35 @@
|
|||||||
== public/private key pairs for test keys
|
== public/private key pairs for test keys
|
||||||
|
|
||||||
|
* git-secret test keys are named user1@gitsecret.io through
|
||||||
|
user5@gitsecret.io
|
||||||
|
|
||||||
|
* All test keysets have the passphrases 'userNpass' I.E., 'user3pass'
|
||||||
|
for user3@gitsecret.io.
|
||||||
|
|
||||||
|
* The public/private key sets were exported with (for example)
|
||||||
|
`gpg --export --armor user4 > tests/fixtures/gpg/user4/public.key`
|
||||||
|
and
|
||||||
|
`gpg --export-secret-keys --armor user4 > tests/fixtures/gpg/user4/private.key`
|
||||||
|
|
||||||
* user1 and user2 are normal gpg key sets for user1@gitsecret.io and
|
* user1 and user2 are normal gpg key sets for user1@gitsecret.io and
|
||||||
user2@gitsecret.io. They have the passphrases 'user1pass' and 'user2pass',
|
user2@gitsecret.io, and have the passphrases 'user1pass' and 'user2pass'.
|
||||||
respectively.
|
|
||||||
user1 is not currently used.
|
|
||||||
|
|
||||||
* user3 was created by `gpg --quick-generate user3@gitsecret.io`
|
* user3 was created by `gpg --quick-generate user3@gitsecret.io`
|
||||||
and therefore has only an email associated with it (no username).
|
and therefore has only an email associated with it (no username).
|
||||||
It has the passphrase 'user3pass' as the tests expect.
|
This user was created to fix
|
||||||
This user was created to fix https://github.com/sobolevn/git-secret/issues/227 ,
|
https://github.com/sobolevn/git-secret/issues/227,
|
||||||
"keys with no info but the email address not recognized by whoknows"
|
"keys with email address but no name not recognized by whoknows".
|
||||||
|
The passphrase is 'user3pass'.
|
||||||
|
|
||||||
* user4 was created with `gpg --gen-key`, using the name 'user4'
|
* user4 was created with `gpg --gen-key`, using the name 'user4'
|
||||||
and the email address user4@gitsecret.io. As the tests expect,
|
and the email address user4@gitsecret.io, and is also set to
|
||||||
it has the passphrase 'user4pass'.
|
expire on 2018-09-23.
|
||||||
|
To set the key's expiry, I used the
|
||||||
It is also set to expire on 2018-09-23. To make keys expire, I used the
|
`gpg --edit-key user@email` command's `expiry` function.
|
||||||
`gpg --edit-key user@email` command's `expiry` function.
|
The passphrase is 'user4pass'.
|
||||||
|
|
||||||
The public and private key for user4 were exported with
|
|
||||||
`gpg --export --armor user4 > tests/fixtures/gpg/user4/public.key`
|
|
||||||
and
|
|
||||||
`gpg --export-secret-keys --armor user4 > tests/fixtures/gpg/user4/private.key`
|
|
||||||
|
|
||||||
* user5 was created for issue #527 using `gpg --full-generate-key`.
|
* user5 was created for issue #527, where keys were being rejected if they
|
||||||
with name 'user5', no email address, the comment 'comment comment', and
|
didn't have an email address, and had whitespace in their 'comment'.
|
||||||
the passphrase 'user5pass'. Keys were exported as above.
|
using `gpg --full-generate-key` with name 'user5', no email address,
|
||||||
|
the comment 'comment comment', and the passphrase 'user5pass'.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue