Autocrypt is a set of guidelines for developers to achieve convenient end-to-end-encryption of e-mails. It specifies how e-mail programs negotiate encryption capabilities using regular e-mails. For users, Autocrypt Level 1 offers single-click, opt-in encryption, eases encrypted group communications, and provides a way to setup encryption on. OpenPGP Considerations, Part III: Autocrypt and Encryption by Default (This is a cross-post from K-9 Mail Blog) This blog post is the third in my series on design decisions made in the OpenPGP support in K-9 Mail. Following my first post on signed-only mails, and the second one on encrypted-only mails. This one focuses on Autocrypt, and in.
(This is a cross-post from K-9 Mail Blog)
This blog post is the third in my series on design decisions made in the OpenPGP support in K-9 Mail.Following my first post on signed-only mails, and the second one on encrypted-only mails.This one focuses on Autocrypt, and in particular “encryption by default”.
In K-9 Mail version 5.400, OpenPGP encryption was changed to adhere to the Autocrypt specification.Most importantly, keys are now transparently exchanged between compatible clients, paving the way for truly transparent key management with no need for user interaction.
Another big change happened in the user interface:In message view display of crypto status has been greatly simplified - either a message was securely encrypted (green lock), encrypted with problems (grey lock with an X), or hasn’t been encrypted at all (grey struck-through lock).The warning overlays that were previously displayed when a message was deemed insecure are also gone; Those messages now simply don’t get a green lock.
The most important changes, I think, have been made to message composition.Firstly, the crypto dialog is no more, encryption can instead be enabled or disabled with a single click on the lock.The “three lock states” are also gone, recipients either can be encrypted to (small lock) or they can’t (no lock).If all recipients have verified keys in OpenKeychain, this will still be indicated by three green dots next to the lock, but generally the key status is featured much less prominently than before.
All of the changes mentioned above work towards getting out of the user’s way with the crypto as much as possible.In keeping with this idea, non-consensual encryption by default has been removed as a feature.I realize this breaks the workflows of a couple of users, for which I apologize.However, I believe that this is the only way forward for usable e-mail encryption.Please bear with me and read on for an explanation.
Before K-9 Mail 5.400, encryption using OpenPGP was enabled “opportunistically”, which meant that whenever end-to-end keys were available, the message would automatically be encrypted.Since K-9 Mail 5.400, encryption will be enabled in exactly these three scenarios:
The reason for this change is that encrypting e-mail messages is not strictly an improvement:Encrypted messages cannot be viewed in all clients and especially web clients, full-text search is typically restricted, and if the user loses access to their keys there might be unintended loss of messages.Most e-mail apps also rely on plugins for encryption, which is always going to be less neatly integrated than first-party support.In short, the increase in confidentiality comes at a cost in compatibility, availability, and convenience.
Now, encryption of e-mail has so far been a very deliberate act - to be able to encrypt to anyone, the user would have to somehow manually obtain the key and import it in their key management app.In addition to that, extremely few people would even have keys, because dealing with encryption plugins is a pain.But between contacts who have Autocrypt-capable clients, making encryption available as an option will hopefully just work.This is super great, but it weirdly brings up a problem:
Many people have an appreciation for encrypting secret.doc
or invoice.pdf
when they send it - but that appreciation doesn’t extend to all messages.If someone installs an Autocrypt-capable OpenPGP extension so they can securely send or receive secret.doc
, this should not be interpreted as consent that any message sent to them, regardless of importance, may as well be encrypted.Autocrypt wants to move on from traditional OpenPGP as a niche product.To do that, it has to be possible to use an Autocrypt-capable client for e-mail that signals availability of encryption, but doesn’t lead to an increasing number of messages in the mailbox with the compatibility issues that encryption currently incurs.If we want to target a wider audience, we need to take the user experience of all users into consideration, which clashes with the availability of an option to non-consensually encrypt by default.
This brings us back to the three scenarios listed above.In each of them, there is a clear responsibility for the choice to encrypt:
Users who feel like they can reliably handle encrypted mail are encouraged to enable “Autocrypt mutual mode” (available in K-9 Mail 5.500).If we ever get to a point where encrypted e-mails actually work seamlessly, perhaps this mode can be enabled by default.For everyone else, making encryption available by choice with a single click and transparent key management should hopefully be a huge improvement.
AutoCrypt, is an encryption/decryption app with a document based approach that can batch process a large quantity of files.
It lets you save in documents all the settings used to encrypt files, including which file to operate on, and reuse it at later time.
It can encrypt decrypt in 1 click