On Tuesday Dec 14 2021, Alex Bennée wrote:
> I'm not sure if this is a mu4e problem or a higher level issue with epg.
> Someone sent me a message from a MS Exchange server which I can't open
> properly. I get the following backtrace:
[...]
> If I trace through epg-verify-string I end up with the following
> messages:
>
> Result: #s(epg-context :protocol CMS :program "/usr/bin/gpgsm" :home-directory nil :armor nil :textmode nil :include-certs nil :cipher-algorithm nil :digest-algorithm nil :compress-algorithm nil :passphrase-callback (epa-passphrase-callback-function) :progress-callback nil :edit-callback nil :signers nil :sender nil :sig-notations nil :process #<process epg> :output-file "/tmp/epg-outputTXUCI2" :result nil :operation verify :pinentry-mode nil :error-output "" :error-buffer #<buffer *epg-error*>)
>
> Result: "gpgsm: certificate not found\n"
> Continue...
> or: Wrong type argument: epg-signature, nil
>
> So I can't work out is this a configuration problem with gpgsm or
> something failing when extracting the message. The message has very
> verbose headers but the message body is just a block of uuencoded data.
> I don't think it's encrypted because gmail can display the message fine
> although it did trip up on my Roundcube view as well.
>
> Any clues how to further debug whats going on?
At a first glance, this seems some something outside mu4e (but can't be
sure, the whole setup is a bit complicated!)
Anyway, does this happen with all such signed messages? Or with some?
Any patterns?
And I'd try to see if you can reproduce from the command-line, with just
whatever is fed t gpgme and see if you can reproduce in that way... that
should hopefully make it a bit clearer if gpgme is fed something
reasonable.
Kind regards,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036