git-secret/tests/fixtures/gpg
Josh Rabinowitz 9e975e4eed make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267)
* name keys after emails, not usernames

* use emails to specify users

* rename and add function to get emails from keyrings
* rename directories holding gpg test fixtures

* deny emails that aren't in the keyring, and test.

* require 'killperson' emails to exist in keyring

* change test to reflect killperson must use email

* remove no-longer-needed test function

* factor function _assert_keychain_contains_emais()

* fix/make lint happy
2018-09-26 00:08:44 +03:00
..
attacker1@gitsecret.io make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267) 2018-09-26 00:08:44 +03:00
user1@gitsecret.io make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267) 2018-09-26 00:08:44 +03:00
user2@gitsecret.io make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267) 2018-09-26 00:08:44 +03:00
user3@gitsecret.io make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267) 2018-09-26 00:08:44 +03:00
README.md fix for keys with only emails, and no usernames. Closes #227 (#240) 2018-07-17 12:01:16 -04:00

== public/private key pairs for test keys

  • user1 and user2 are normal gpg key sets for user1@gitsecret.io and user2@gitsecret.io. They have the passwords 'user1pass' and 'user2pass', respectively.

  • user3 was created by gpg --quick-generate user3@gitsecret.io and therefore has only an email associated with it (no username).
    It has the password 'user3pass' as the tests expect. This user was created to fix https://github.com/sobolevn/git-secret/issues/227 , "keys with no info but the email address not recognized by whoknows"