Closed Bug 1731232 Opened 3 years ago Closed 2 years ago

should allow/suggest key publication on key server

Categories

(MailNews Core :: Security: OpenPGP, enhancement)

enhancement

Tracking

(thunderbird_esr102 wontfix, thunderbird109 fixed)

RESOLVED FIXED
110 Branch
Tracking Status
thunderbird_esr102 --- wontfix
thunderbird109 --- fixed

People

(Reporter: mkmelin, Assigned: KaiE)

References

Details

Attachments

(2 files)

Users may not know about key servers, but publishing the key on a server is many times essential for people to discover your key. We should allow, and suggest for users to publish their public key on a key server.

There's some (unclear how functionally complete) code for this in the tree: https://searchfox.org/comm-central/rev/35c9e2929a5ae37d07192315db3787dc01f73441/mail/extensions/openpgp/content/modules/keyserver.jsm#431

It should also be possible (and in the future recommended) to publish using WKS. Enigmail had quite advanced support for this.

WKS should be a separate bug, because it requires completely different code.

The attached patch implements uploading to VKS and HKP keyserver.

To decide to which keyserver to upload to, the code will look at the new pref mail.openpgp.keyserver_list (added in bug 1640511). It will consider the first entry the highest priority. However, if the entry uses an unsupported protocol, it will skip to the first entry that is supported.

To trigger uploading, you have to open OpenPGP key manager, select one of your personal keys (bold), then use the KeyServer menu and select "publish".

We can consider to add more entry points for uploading in the future, to make it easier discoverable.

Assignee: nobody → kaie
Attachment #9305529 - Attachment description: WIP: Bug 1731232 - Support OpenPGP public key upload to vks and hkp keyserver. → Bug 1731232 - Support OpenPGP public key upload to vks and hkp keyserver. r=PatrickBrunschwig
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

(In reply to andrewg from comment #1)

It should also be possible (and in the future recommended) to publish using WKS. Enigmail had quite advanced support for this.

The Enigmail implementation called functionality from GnuPG.
Because Thunderbird doesn't have GnuPG available by default, it's not as easy for us to do.
Nevertheless, that request is already being tracked in bug 1695048.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Rob, wouldn't have it been more efficient to allow me to simply create a follow-up patch?

Never mind, I realize I still can make an incremental patch, by reusing the existing changes in phabricator, and creating an incremental new revision on top of it.

Rob, given that the string was already commited, should I use different string IDs for the updated strings?

Flags: needinfo?(rob)

(In reply to Kai Engert (:KaiE:) from comment #10)

Rob, given that the string was already commited, should I use different string IDs for the updated strings?

You can use the same IDs because the strings were never exposed for localization.

Flags: needinfo?(rob)
Target Milestone: 109 Branch → 110 Branch

Comment on attachment 9305529 [details]
Bug 1731232 - Support OpenPGP public key upload to vks and hkp keyserver. r=PatrickBrunschwig

I'd appreciate inclusion of this enhancement into comm-beta, because the code was already landed on c-c earlier, it worked fine, and it was backed out only because minor changes were requested by reviewers.

[Approval Request Comment]
Regression caused by (bug #): no
User impact if declined: feature missing, but already announced
Testing completed (on c-c, etc.): was already on c-c earlier
Risk to taking this patch (and alternatives if risky): low

Attachment #9305529 - Flags: approval-comm-beta?
Attachment #9307173 - Flags: approval-comm-beta?

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1006ac91779b
Support OpenPGP public key upload to vks and hkp keyserver. r=PatrickBrunschwig
https://hg.mozilla.org/comm-central/rev/0dffc528c881
Follow-up to address reviewer comments. r=aleca

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED

Comment on attachment 9305529 [details]
Bug 1731232 - Support OpenPGP public key upload to vks and hkp keyserver. r=PatrickBrunschwig

[Triage Comment]
Approved for beta

Attachment #9305529 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9307173 [details]
Bug 1731232 - Follow-up to address reviewer comments. r=aleca

[Triage Comment]
Approved for beta

Attachment #9307173 - Flags: approval-comm-beta? → approval-comm-beta+
Blocks: 1831547
Regressions: 1879822
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: