Hi hymie!

> When I use mhshow to view a message that is GPG-signed, I end up with
> an error at the end:
>
> mhshow: don't know how to display content
>     (content application/pgp-signature in message 60748, part 1.2)
>
> So I have my own script that will take apart a message, pull out the
> signature, and verify it.

Ken's answered, but I thought I'd make sure you know your ~/.mh_profile
can have lines like

    mhshow-show-application/pgp-signature: %ltrue

so mhshow knows how to process that part.  I use true(1) to just ignore
the signature after the ā€˜%l’ triggers a listing of the part, but you
might be able to make use of it with your scripting.

In general, I just display a little more information about many parts,
e.g.

    mhshow-show-application/pdf: %lpdfinfo '%f' 2>&1 | \>
    mhshow-show-application/msword: %lfile '%f' 2>&1 | \>

where ~/bin/> is a sed script to indent non-empty lines.

-- 
Cheers, Ralph.

Reply via email to