Use different keys for OpenPGP tests (keys from https://gitlab.com/openpgp-wg/openpgp-samples )
Categories
(MailNews Core :: Security: OpenPGP, enhancement, P1)
Tracking
(thunderbird_esr78+ fixed, thunderbird82 affected)
People
(Reporter: KaiE, Assigned: lasana)
References
Details
Attachments
(1 file)
|
214.63 KB,
patch
|
mkmelin
:
review+
rjl
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
Thank you for creating the initial OpenPGP tests in bug 1651492, that is an important starting point.
I notice that all keys are of type RSA. It would be good to use keys for both RSA and ECC, to ensure we test that both work.
For additional tests, I'd prefer to use the test keys that have been published at https://gitlab.com/openpgp-wg/openpgp-samples
Reasons:
As part of earlier bug reports, I have already been given real world test messages that used the above keys, so if we want to include them in automated testing, we'll have to include the above keys in our test suite, too.
Because those keys also use the Alice/Bob names, it might be a little confusing to have different keys in those names.
So one detail we'll have to decide is: Should we change the existing tests to use the keys from gitlab? Or should we have a separate area for test messages and keys that use the gitlab keys?
Another minor detail: Some filenames use "autocrypt". I think the focus of those message is to test an attached key, which we currently send as both attachment and as an autocrypt header. Maybe it would make sense to rename -autocrypt.eml to -with-key.eml
Comment 1•5 years ago
|
||
I think we might as well change the existing tests to use keys from gitlab.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
Changed keys, regenerated emails.
| Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8d0cbdd474a3
Use openpgp.example keys for openpgp browser tests. r=mkmelin
Comment 5•5 years ago
|
||
| bugherder uplift | ||
Thunderbird 78.4.1:
https://hg.mozilla.org/releases/comm-esr78/rev/8de0d8b7b512
Comment 6•5 years ago
|
||
Comment on attachment 9181660 [details] [diff] [review]
1669014.patch
[Triage Comment]
Required for OpenPGP mochitests to run properly on c-esr78.
Description
•