News for hackers. Stuff that matters.
Re:Nylas Mail is now free by karim on Tuesday January 17, 2017 @10:59AM (#13418562)
Hey – I'm an engineer at Nylas. To add to what you said, the newly released Basic edition does all email syncing client-side, and uses our servers for minimal things (i.e: auth).
Re:Nylas Mail is now free by maglavaitss on Tuesday January 17, 2017 @11:16AM (#13418718)
How about not using your servers for anything?
Re:Nylas Mail is now free by karim on Tuesday January 17, 2017 @11:40AM (#13418904)
Unfortunately, we have to use an intermediate server to use Google OAuth.
Re:Nylas Mail is now free by jamesgeck0 on Tuesday January 17, 2017 @02:16PM (#13420238)
If a malicious party successfully attacked the Nylas auth servers, how much of my email data would they be able to get? All of it?
Re:Nylas Mail is now free by Fnoord on Tuesday January 17, 2017 @02:50PM (#13420543)
The backend speaks SMTP, IMAP, and HTTP. It is basically a glue (or proxy) between SMTP/IMAP (including those protocols over TLS) and HTTP. Nylas Pro talks HTTP to the glue (I assume that is using TLS, so HTTPS). Nylas Mail also talks HTTP to the backend, but the backend runs locally, so you're self hosting the backend. I suppose this has a performance loss. (With Nylas Pro, you can set a separate backend server if you desire but that requires work. That is a really cool feature for a business though.)

So I would assume you are hosed. The passwords need to be stored plaintext.

Re:Nylas Mail is now free by jamesgeck0 on Tuesday January 17, 2017 @04:42PM (#13421569)
I don't think the free version of Nylas Mail is storing IMAP passwords, plaintext or otherwise. For Gmail, at least.

1. You never enter them into the client. It uses Oauth to authenticate.

2. By the comment here, it seems that they're using Google's Gmail API. https://news.ycombinator.com/item?id=13417904

Re:Nylas Mail is now free by Fnoord on Wednesday January 18, 2017 @08:40AM (#13426204)
Oh, it does save the password.

Oauth makes sense that there's no password saved. A unique key is saved which is authenticated with Google. If this key leaks, you are hosed, too, but at least you can revoke that key.

I tried grep mypasswd ~/.nylas-mail/* and grep said Binary file shared.sqlite matches. This did not occur in ~/.nylas it makes sense and it is inevitable, a client like Thunderbird suffers from the same.

It can be circumvented by saving the password encrypted and decrypting it using a master password. That is akin to how LastPass and Mozilla save their cloud data.

Using containers etc would also lower the threat.

In a way its good the password is saved locally. The engine also runs locally. It moves the threat model to the client, away from Nylas servers. Kudos.

Re:Nylas Mail is now free by juriansluiman on Tuesday January 17, 2017 @03:32PM (#13420894)
The app looks great, but I just am not in favor of piping everything I have with email through your servers. Just a standalone app as basic version with opt-in for Google OAUth would justify its use case.