Autocrypt

Eike Rathke list at erack.de
Tue Aug 13 10:42:36 UTC 2019


Hi,

On Tuesday, 2019-08-13 02:59:28 +0200, Eike Rathke wrote:

> On Monday, 2019-08-12 17:38:16 -0700, Kevin J. McCarthy wrote:
> 
> > On the plus side, it actually gives you some flexibility if you wanted to
> > take advantage of it.  You could create a different base64 export of the
> > same keyid, each with a single uid, and store it right in the database with
> > some work.  That would massively trim the size of your Autocrypt header down
> > while still being able to use the same keyid for each.
> 
> Nice aspect, I'll try that (another day).

That indeed works and cuts keydata to 2940 bytes or such. At the second
try after I realized that the base64 data needs to be unwrapped, so

  gpg  --export --export-options export-minimal --export-filter keep-uid="mbox=$x" 0xKEYID | base64 --wrap=0

Thanks
  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/20190813/c9f2e324/attachment.asc>


More information about the Mutt-dev mailing list