Hi Kevin,

On Monday, 2019-08-12 09:07:49 -0700, Kevin J. McCarthy wrote:

> On Mon, Aug 12, 2019 at 11:57:14AM +0200, Eike Rathke wrote:
> > Tried (then it needs to be done with --export-secret-keys not --export,
> > of course..) with 6 of 12 uids but that didn't change anything. I think
> > the size is merely due to the rsa4096 used on that key.
> 
> How many lines is the Autocrypt header, again?  I've seen other rsa4096 keys
> where the header is around 45 lines.  GPGME_EXPORT_MODE_MINIMAL should be
> removing all extraneous signatures, so there is no reason for it to be much
> bigger than that.

So, this is completely odd and appears to be some bug. I verified that
gpg --homedir ~/.mutt/autocrypt -K  (and -k as well) both list 6 mbox
addresses. The Autocrypt header of a mail written from such address is
203 lines, 15585 bytes with folding, I piped it through

  formail -cxAutocrypt: | sed -e 's/.*keydata=//;s/[ \t]//g' | base64 -d | gpg 
--homedir testdir --import

and then  gpg --homedir testdir -k   lists the 12 (!) addresses of the
original key. It seems that the Autocrypt header content for an existing
key is pulled from the original keyring and not the ~/.mutt/autocrypt
keyring.

  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/

Attachment: signature.asc
Description: PGP signature

Reply via email to