-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added match for new key in updater
- Loading branch information
1 parent
2011565
commit 59d82df
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -948,7 +948,9 @@ def update(args: argparse.Namespace) -> int: | |
good_sig_text = ['Good signature from "SecureDrop Release Signing ' + | ||
'Key"', | ||
'Good signature from "SecureDrop Release Signing ' + | ||
'Key <[email protected]>"'] | ||
'Key <[email protected]>"', | ||
'Good signature from "SecureDrop Release Signing ' + | ||
'Key <[email protected]>"'] | ||
bad_sig_text = 'BAD signature' | ||
gpg_lines = sig_result.split('\n') | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,6 +274,25 @@ def test_get_release_key_from_valid_keyserver(self, tmpdir, caplog): | |
b'Signing Key ' | ||
b'<[email protected]>"\n', | ||
b'gpg: Signature made Thu 20 Jul ' | ||
b'2017 08:12:25 PM EDT\n' | ||
b'gpg: using RSA key ' | ||
b'2359E6538C0613E652955E6C188EDD3B7B22E6A3\n' | ||
b'gpg: Good signature from "SecureDrop Release ' | ||
b'Signing Key ' | ||
b'<[email protected]>"\n', | ||
b'gpg: Signature made Thu 20 Jul ' | ||
b'2017 08:12:25 PM EDT\n' | ||
b'gpg: using RSA key ' | ||
b'2359E6538C0613E652955E6C188EDD3B7B22E6A3\n' | ||
b'gpg: Good signature from "SecureDrop Release ' | ||
b'Signing Key" [unknown]\n' | ||
b'gpg: aka "SecureDrop Release ' | ||
b'Signing Key ' | ||
b'<[email protected]>" ' | ||
b'[unknown]\n', | ||
b'gpg: Signature made Thu 20 Jul ' | ||
b'2017 08:12:25 PM EDT\n' | ||
b'gpg: using RSA key ' | ||
|