MatthiasPfau
We already stated that we are going to implement authenticated encryption. But when we do it we have to do it right. We have to keep everything backwards compatible and we can't enable one client to use the new implementation until all supported clients (JS, .NET (Outlook), Android and iOS) are upgraded. Implementing this kind of backward compatibility will not take only 10 minutes.
Please submit a pull request that keeps everything backwards compatible and works for all platforms. We are happy about everyone who wants to contribute.
> an attacker can keep sending forged messages until it decrypts successfully
There is simply no way for an attacker to find out if his forged messages decrypt successfully besides having full control of the recipients machine. The padding oracle is useless in this case.
Why do you think that? Of course we (I am one of the founders of Tutanota) understand the difference of the two.
> They're using PKCS5 which means that, yes, there is a padding oracle vulnerability
Could you please describe the padding oracle? Knowing the padding algorithm is not enough to make up a padding oracle. The oracle must be able to decrypt the cipher text in order to tell the attacker if the padding is valid or not.
We plan to create an API and already started brainstorming on it: https://github.com/intermail/api/wiki
Regarding trusting the CA systems: We use DANE to secure your connection to our servers.
All data in Tutanota is encrypted with the user’s password. With Tutanota we want to protect our human right to privacy, particularly as we know most services save their user’s data unencrypted. We would very much like to hear your thoughts and recommendations!
Show HN: We’ve created Tutanota, an encrypted email App (GPLv3)
This is how we mitigate these challenges: 1. We use the Fortuna algorithm to generate strong random numbers, seeded with crypto.getRandomValues(), mouse events, key events, ping times, and the state of the random generator of previous sessions. 2. We install the application to the browser cache. A reload only happens upon releasing an application update and the user gets notified automatically. Alternatively you can run your own application locally (see github). The download of the application is secured with SSL and DANE. 3. XSS: We use google-caja to mitigate XSS attacks and will introduce Content Security Policy (CSP) within a few months. Any further concerns, just ask!