On Thu 2015-05-07 02:51:58 -0400, Patrick Brunschwig wrote:
> On Philip Jackson wrote:
>> In enigmail preferences/Advanced/Additional parameters for GnuPG,
>> I have "-v" set.
[...]
> The problem is that -v causes GnuPG to output more stuff. If that
> output goes to stdout, then Enigmail cannot distinguish this from
> "other" output. I assume that this is a little bug in GnuPG as I think
> that verbose output should normally go to stderr.
I think it does send verbose output to stderr, at least for --decrypt. compare:
0 dkg@alice:~$ echo test | gpg2 --encrypt --batch --quiet -r $PGPID 2>/dev/null
| gpg2 -vvvvvvv --decrypt 2>/dev/null
test
0 dkg@alice:~$ echo test | gpg2 --encrypt --batch --quiet -r $PGPID 2>/dev/null
| gpg2 -vvvvvvv --decrypt
gpg: using character set 'utf-8'
# off=0 ctb=85 tag=1 hlen=3 plen=524
:pubkey enc packet: version 3, algo 1, keyid 3714729214D5DA70
data: [4093 bits]
gpg: public key is 0x3714729214D5DA70
gpg: using subkey 0x3714729214D5DA70 instead of primary key 0xCCD2ED94D21739E9
gpg: public key encrypted data: good DEK
# off=527 ctb=d2 tag=18 hlen=2 plen=64 new-ctb
:encrypted data packet:
length: 64
mdc_method: 2
gpg: using subkey 0x3714729214D5DA70 instead of primary key 0xCCD2ED94D21739E9
gpg: encrypted with 4096-bit RSA key, ID 0x3714729214D5DA70, created 2015-01-21
"Daniel Kahn Gillmor <[email protected]>"
gpg: AES256 encrypted data
# off=548 ctb=a3 tag=8 hlen=1 plen=0 partial
:compressed packet: algo=2
# off=550 ctb=cb tag=11 hlen=2 plen=11 new-ctb
:literal data packet:
mode b (62), created 1431025496, name="",
raw data: 5 bytes
gpg: original file name=''
test
gpg: decryption okay
0 dkg@alice:~$
dkg@alice:~$ echo test | gpg2 --armor --clearsign --batch --quiet -r $PGPID
2>/dev/null | gpg2 -vvvvvv --verify 2>/dev/null
- gpg control packet
0 dkg@alice:~$
the only bit i see is this last "- gpg control packet", which i think
might be a bug (i just reported it to gpg-devel).
> I cannot see how this could be fixed in Enigmail in any way.
Looks like i can replicate this with "gpg --verbose --verbose
--check-trustdb" -- i've mailed gnupg-devel about it.
--dkg
_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net