Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

[Feature Request]: PGP Encryption / GPG Support / Keybase

Open heywoodlh opened this issue 9 years ago • 95 comments

Can I use GPG to encrypt email in Mailspring yet? Couldn't find anything in the KB and I also couldn't use any plugins to add the functionality myself.

I would have checked out the roadmap to see if there was a plan to implement this but it doesn't seem to be public. #

heywoodlh avatar Oct 04 '17 20:10 heywoodlh

Hey @heywoodlh — thanks for reaching out! There used to be a Keybase plugin for Nylas Mail that added GPG encryption to the app, and theoretically it /should/ still mostly work. In a few months, Mailspring will have a plugin browser built into it and I think it'd be great to have an encryption plugin in there. If anyone has some time to dive in to this, it'd be great!

bengotow avatar Oct 04 '17 21:10 bengotow

In OS X I can't use the menu to install plugins. Is there any way for me to install the plugin manually in Mailspring? I would totally love to dig into it and report back.

heywoodlh avatar Oct 04 '17 21:10 heywoodlh

Oh wow - yeah, it just... doesn't work. I'll see if I can get that fixed.

In the meantime, if you want to install a plugin open ~/Library/Application Support/Mailspring in the Finder. Create a folder called packages there, and put your plugin folder inside it. If you relaunch Mailspring it should find it and attempt to load it!

bengotow avatar Oct 04 '17 21:10 bengotow

Perfect, thank you for the quick responses.

I'll work on getting that plugin installed and see how it goes.

heywoodlh avatar Oct 04 '17 21:10 heywoodlh

I found an open source N1 PGP plugin called Cypher and forked it here.

I placed it in ~/Library/Application Support/Mailspring/packages/ and when I run MailSpring I get an error in the developer's console stating that it cannot find the module 'nylas-export'.

Not sure where that module is, as I cannot seem to find it in the original Nylas Mail repository, in the Mailspring repo, or in the cypher repository that I forked.

Attached is a copy of the error log: nylas-error.txt

I am submitting this here to ask for additional help as I am not a developer and I think this would really be a great feature to add to Mailspring.

I opened an issue on the repository I forked here. Any help fixing this would be appreciated. :)

heywoodlh avatar Oct 05 '17 19:10 heywoodlh

Probably due to config.json always being overridden with these?

    "disabledPackages": [
        "message-view-on-github",
        "personal-level-indicators",
        "phishing-detection",
        "nylas-private-salesforce",
        "github-contact-card",
        "keybase",
        "composer-markdown",
        "composer-scheduler",
        "composer-mail-merge",
        "send-and-archive",
        "main-calendar"
      ]

buildersbrewery avatar Oct 05 '17 23:10 buildersbrewery

@buildersbrewery I'll have to take a look at that tomorrow. Do you have a proposed solution?

heywoodlh avatar Oct 06 '17 03:10 heywoodlh

Seems to be part of a planned paywall (#25, #28, #33)?

buildersbrewery avatar Oct 06 '17 12:10 buildersbrewery

S/MIME support would also be a nice feature to add. :)

alxjsn avatar Oct 06 '17 23:10 alxjsn

👍 for re-adding keybase integration in the future again.

agsdot avatar Oct 24 '17 18:10 agsdot

Would love to see keebase/gpg support!

tim-hm avatar Oct 25 '17 14:10 tim-hm

Just as a note, once gpg support is working, I'll become a paying customer.

deidyomega avatar Nov 13 '17 19:11 deidyomega

I also need this to fully migrate away from firefox.

simotek avatar Feb 06 '18 07:02 simotek

Any news on this feature?

JDsnyke avatar Feb 14 '18 03:02 JDsnyke

Would also love to see this feature. I know Keybase has an open source javascript implementation of PGP (https://github.com/keybase/kbpgp), I even helped implement some features (signing, signing and encryption) onto a website you can find here:

https://thechiefmeat.github.io/pgp/

Seeing as the client uses quite a bit of Javascript already, you should be able to implement kbpgp into the client, I'd even help out if that meant getting this feature done :)

TheChiefMeat avatar Mar 03 '18 12:03 TheChiefMeat

Another +1. I could repeat many statements from the above comments. This is a very important feature for Mailspring to get more users/customers.

SkyCrawl avatar May 05 '18 10:05 SkyCrawl

And another +1. Really looking forward to this feature, so I can use Mailspring as my only mail app.

zaphbbrox avatar May 14 '18 09:05 zaphbbrox

+1. I've been looking for a good looking email client that supports PGP encryption. If Mailspring starts supporting this it would be the perfect mail client.

daanpanis avatar May 14 '18 10:05 daanpanis

Me too! That said, it's a bad day for GPG: https://www.eff.org/deeplinks/2018/05/attention-pgp-users-new-vulnerabilities-require-you-take-action-now

pirhoo avatar May 14 '18 10:05 pirhoo

The EFF and the authors of that paper are doing PGP a disservice. There are some bugs in handling decryption failures in various email clients, PGP itself is mostly fine.

thomwiggers avatar May 14 '18 10:05 thomwiggers