On Tue, Jul 26, 2016 at 03:43:41PM +0200, Steve Schmerler wrote:
> * stops at the third[**] key 74464897317CDA88 (length 16) and
> * passes a truncated version 74464897317CDA (length 14) to pgpewrap
> 
> which then gives me a "gpg: skipped: Invalid user ID". The related pgp
> setting is
> 
>     set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg2 
>         %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode 
> --output
>         %- --encrypt --encrypt-to XXXXXXXX --sign %?a?-u %a? --armor
>         %--always-trust -- -r %r -- %f"
> 
> Does anybody know what's going on here (Debian, Mutt 1.6.0
> (2016-04-01))? Any hint is appreciated. Thank you very much!

Hi Steve,

I think I see the problem.  Mutt is using a fixed buffer of size 1024
when expanding the %r parameter.  I think when the system was designed,
no one anticipated expanding 50+ keys in a single gpg invocation.  :-)

Right now, the best I can suggest is trying gpgme instead.  I'll work on
a solution for a future release.

-Kevin

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to