[kmail2] [Bug 381579] New: add and handle Openpgp header

kolAflash bugzilla_noreply at kde.org
Fri Jun 23 15:38:53 BST 2017


https://bugs.kde.org/show_bug.cgi?id=381579

            Bug ID: 381579
           Summary: add and handle Openpgp header
           Product: kmail2
           Version: 5.3.0
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: crypto
          Assignee: kdepim-bugs at kde.org
          Reporter: kolAflash at kolahilft.de
  Target Milestone: ---

Please add a Openpgp header if the user has configured a PGP key.


E.g.:

Openpgp: id=01234567890ABCDEF01234567890ABCDEF012345;
url=https://dropbox.com/url/set/by/user.asc


Enigmail (PGP for Thunderbird) already does so.

https://enigmail.net

https://sourceforge.net/p/enigmail/source/ci/9f642b2286a38a06982fb3dd25dcff2b276e2fdb/tree/ui/content/enigmailMsgComposeOverlay.js#l4287

Enigmail already uses the described format, with one exception. There's a LF
before the url= part. I'm not sure why there is a LF and if KMail should copy
that.

Openpgp: id=01234567890ABCDEF01234567890ABCDEF012345;
 url=https://dropbox.com/url/set/by/user.asc


The first field id= can be automatically generated from the PGP key the user
has configured for this account. Please use the full key fingerprint, not just
8 or 16 characters.

The second field url= needs a configuration option, where the user can enter a
URL at which he has uploaded his key. If the user doesn't set this
configuration option, the url= field shouldn't be there. (not everybody uploads
his PGP key somewhere)


Second part happens on receiving an E-Mail. KMail should check for the Openpgp
header and offer the user to import the key from the given URL or via key-id
from the public keyserver. DON'T automatically import, but ask the user first.


--


I tried to manually add the header by the KMail settings->headers section. But
those headers are globally for all email accounts. And I'm using multiple email
accounts with different PGP keys.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list