top | item 11752681

Roundcube Webmail 1.2.0 released with PGP support

218 points| weeha | 9 years ago |roundcube.net | reply

67 comments

order
[+] benbristow|9 years ago|reply
Rainloop already has this. http://www.rainloop.net/

Been using it for a year or so now, it's fantastic and has never let me down.

[+] gravypod|9 years ago|reply
I came here to comment about this. Rainloop is amazing.

It also has some extra security features for the end user. For instance, you can tell Rainloop to proxy images from the email and serve them to you instead of your browser getting them from a remote source. It's amazing because you get faster load times and don't leak your desktop IP, only whatever server your running Rainloop on.

The only thing it's lacking is PGP, which is very sad.

[+] mrmondo|9 years ago|reply
That does look nice, looks like they've come quite a way very quickly too. Still a little put off by the idea of host PHP apps for such critical systems but hats probably my internal bias towards using Ruby/Python/Go.
[+] rmoriz|9 years ago|reply
I wish someone would do this for S/MIME. S/MIME has native support in many MUAs, even Mail.app on iOS. http://smime.io/

https://github.com/roundcube/roundcubemail/issues/4977

[+] noinsight|9 years ago|reply
I'm waiting for Let's Encrypt to start offering S/MIME certificates.
[+] lmm|9 years ago|reply
Can you get a free S/MIME certificate? Even if you could, S/MIME leaves you dependent on CA infrastructure that's often state-controlled.
[+] grinich|9 years ago|reply
Is S/MIME really that widely used? It seems to be sort of widely deployed, but not necessarily understood or required by users in secure environments.
[+] embik|9 years ago|reply
For everyone who (like me) wondered what happened to "Roundcube Next", they released a statement 8 days ago[1] about it. Sounds like they had personal problems getting in the way. Glad to see the project is still alive.

[1] https://www.indiegogo.com/projects/roundcube-next--2#/update...

[+] teekert|9 years ago|reply
Thanx for the update, I tweeted them repeatedly, never getting any reply. It looks pretty bad that the last tweet is so old. In the meantime, I've been using Nylas N1 (local mail client) and ownCloud mail (webmail), both have become pretty good!
[+] Sephr|9 years ago|reply
It's nice to hear about the server-side PGP support (searching!), although it's unfortunate that the client-side solution, Mailvelope (or more specifically, the OpenPGP.js library it uses), still doesn't support any ECC algorithms.

Fortunately Google's End-to-End extension does support ECC algorithms (no idea if it integrates with Roundcube though), but it seems like it still isn't ready for production distribution on the Chrome Web Store yet.

[+] mikekchar|9 years ago|reply
I may be wrong (and hope to be corrected!), but I think that End-to-End is never expected to be in the Chrome Web Store. I think they feel that this kind of encryption is too complicated for the average user. It's intended more for "power users" who already know that they want it.
[+] xvilka|9 years ago|reply
I recommend to try also Mailpile [1], which was built with security in mind.

[1] https://www.mailpile.is/

[+] bildung|9 years ago|reply
As far as I understood Mailpile is a mail user agent, so not comparable. Roundcube runs on a server, Mailpile runs on your own computer.
[+] belorn|9 years ago|reply
I will be doing that as soon the 1.0 release is out and available as a debian package. Any idea how stable the current beta version is?
[+] arviewer|9 years ago|reply
I guess this means you have to upload your private key to the server. I always wonder what happens when the key is copied and used by someone else. Can you revoke the key? What happens to sent and received messages from the past? Do you still need the old key (private or public) to read those? Is there a private master key that can create a private sub key that can be used to upload to that server?
[+] elgaton|9 years ago|reply
Encryption is also supported via a browser plugin, so it's not necessary to upload the private key to the server. Regarding your questions: 1) yes, you can revoke the key by generating a revocation certificate and publishing it on a public keyserver (of course, your correspondents would need to refresh the public key from the keyserver to know it was revoked, which is something they might not do); 2) sent and received messages from the past, unfortunately, are readable by the person who is in possession of the private key, if such key is not protected by a strong password; 3) yes, you still need the old private key to read the old messages; 4) you can generate a master key (to be kept strictly offline) and several, frequently rotating subkeys for encryption purposes. It's not a silver bullet solution (in the sense that a thief would still have access to all your subkeys, meaning he could read all your messages up to the point the keys are stolen, but it mitigates the damage somehow). See here: https://alexcabal.com/creating-the-perfect-gpg-keypair
[+] d33|9 years ago|reply
Yes, you can revoke the key and publish the revocation. This means that it will be flagged as revoked in the server keys and assuming that senders keep their GPG keybase up to date with server keys, they'll get a warning that this key is out of date. All e-mails already encrypted with the key can still be decrypted though.

As for the second part of your post, you're probably asking about this:

https://alexcabal.com/creating-the-perfect-gpg-keypair/

[+] davidcollantes|9 years ago|reply
If you generated a revocation certificate, yes, you can revoke it. Otherwise no. The private key is protected (should be) by a password, so even in the event it gets compromised it should be OK.

Encrypted messages from the past are unreadable, unless you have the private key. No private "master" that I know of.

[+] fahrradflucht|9 years ago|reply
If you don't use the browser extension you would probably only want to use this feature if you control that Roundcube instance yourself because yes if you upload it to the server and your key gets lost all past and future communication with that key is only as secure as your keys password.
[+] remael|9 years ago|reply
You don't have to upload the key. It also supports the mailvelope browser extension.
[+] stephenr|9 years ago|reply
Actually I think it means support for browser plugins that will handle the PGP part.
[+] xrorre|9 years ago|reply
Here's an old XSS exploit for Roundcube from 2013:

https://www.intelligentexploit.com/view-details.html?id=1696...

I still use RC despite the long history of XSS attacks against it. Luckily RC uses progressive enhancement, so it still works with JS turned off. I just assume emails can still execute JS in 2016? Perhaps it's wrong of me to use RC with JS turned off as a preventative measure, but you have to adore that user interface! It's the only reason I choose RC over other self-hosted email web apps (and there are few to choose from in this space). I like the simplicity of Squirrel-mail, but Roundcube looks and feels too good not to use.

[+] dguido|9 years ago|reply
You're right. Before any integration of a server-side PGP key like this, they ought to have deployed some basic hygiene like a strict Content Security Policy (CSP) and a better sanitization library like HTMLpurifier. I don't trust webmail software, and definitely not PHP webmail software, to hold my keys for me otherwise.
[+] ryanlol|9 years ago|reply
What about the various RCE bugs, do those not worry you?
[+] bechampion|9 years ago|reply
ha i remember long time ago chasing for the perfect webmail system.. before gmail of course. Horde,Roundcube, squirrel god... I've never found the perfect one!
[+] ryanlol|9 years ago|reply
How about OWA? Despite requiring windows, it's a pretty solid product.
[+] Tharkun|9 years ago|reply
Zimbra works remarkably well.
[+] zby|9 years ago|reply
If PGP was managed by the browser we would be able to sign everything we post on the web, not just the emails.
[+] lmm|9 years ago|reply
There are extensions that do this. A standardized interface between site and browser-managed crypto is what's really needed though.
[+] mrmondo|9 years ago|reply
I get the feeling we need a 'gogs of a webmail app'
[+] BorisMelnik|9 years ago|reply
nice, I use Roundcube a lot for new clients looking to set up their email for the first time. Glad to support this project, and really stoked it has PGP.
[+] tiatia|9 years ago|reply
Nice.

But I prefer Afterlogic http://www.afterlogic.com/

Wish I was open source/freeware

[+] mrmondo|9 years ago|reply
Hmmm... They give out an option of PHP or .NET, not sure I'd really like to run either of those?