Closed Bug 1669014 Opened 4 years ago Closed 4 years ago

Use different keys for OpenPGP tests (keys from https://gitlab.com/openpgp-wg/openpgp-samples)

Categories

(MailNews Core :: Security: OpenPGP, enhancement, P1)

enhancement

Tracking

(thunderbird_esr78+ fixed, thunderbird82 affected)

RESOLVED FIXED
83 Branch
Tracking Status
thunderbird_esr78 + fixed
thunderbird82 --- affected

People

(Reporter: KaiE, Assigned: lasana)

References

Details

Attachments

(1 file)

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

I think we might as well change the existing tests to use keys from gitlab.

Assignee: nobody → lasana
Priority: -- → P1
Status: NEW → ASSIGNED
Attached patch 1669014.patchSplinter Review

Changed keys, regenerated emails.

Attachment #9181660 - Flags: review?(mkmelin+mozilla)
Attachment #9181660 - Flags: review?(mkmelin+mozilla) → review+
Summary: Use different keys for OpenPGP tests → Use different keys for OpenPGP tests (keys from https://gitlab.com/openpgp-wg/openpgp-samples)
Target Milestone: --- → 83 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8d0cbdd474a3
Use openpgp.example keys for openpgp browser tests. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9181660 [details] [diff] [review]
1669014.patch

[Triage Comment]
Required for OpenPGP mochitests to run properly on c-esr78.

Attachment #9181660 - Flags: approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: