Autocrypt

Eike Rathke list at erack.de
Sun Aug 11 20:24:42 UTC 2019


Hi Kevin,

On Friday, 2019-08-09 14:31:55 -0700, Kevin J. McCarthy wrote:

> On Fri, Aug 09, 2019 at 11:14:06PM +0200, Eike Rathke wrote:
> > > It's selecting a key from the keyring in $autocrypt_dir.
> > 
> > But that's just after it created the $autocrypt_dir so there's nothing
> > to select from.. I would had expected it offers to select from the
> > general gnupg keyring.
> 
> The "first run" account creation process can take place even if
> $autocrypt_dir already exists.  Account creation also can take place from
> the <autocrypt-acct-menu>.  This feature is to allow using the same key
> across multiple accounts, or to use a key that *you* have imported yourself.

Tried that and it works. The minimal public key of multiple UIDs written
as autocrypt keydata in my case is 15kB, quite large as mail overhead.
I guess there's no way to reduce that somehow? Command line gnupg has
filter options like

  gpg --export --export-options export-minimal --export-filter keep-uid="mbox=foo at example.com" 0xKEYID

which ends up with 3kB Ascii-armored per uid.


> I've updated the documentation at
> <https://muttmua.gitlab.io/mutt/manual-dev.html#autocryptdoc> to make this
> specific, and added a section "Alternative Key and Keyring Strategies" to
> discuss the ways and caveats of sharing keys or keyrings.

Nice, thanks.


> > > [... header cache invalidation ...]
> > I'll plan for two mugs of coffee when I throw this against IMAP with
> > folders of 60000-80000 messages.. :-P
> 
> Are you seeing horrific performance specifically because of the autocrypt
> header scanning, or just in general due to having to rebuild the header
> cache?

Just due to rebuilding the header cache once without explicitly
switching it off for an autocrypt scan.

> While there will be *some* slowdown due to Autocrypt, it shouldn't
> be that noticeable.

I didn't notice a negative impact on regular mail use.

  Eike

-- 
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-dev/attachments/20190811/a359805d/attachment.asc>


More information about the Mutt-dev mailing list