mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 7635bc4657f6db064a681f28b3354744ed57e5cb
parent 46a44e2f2234ed8cf069c461313c78f2c7f188f1
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Fri, 26 May 2017 23:24:41 +0200

contrib/mverify: use unix2dos for CRLF normalization

Diffstat:
contrib/mverify | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/mverify b/contrib/mverify @@ -1,7 +1,7 @@ #!/bin/sh # mverify MSG - verify a OpenPGP or SMIME message -# Needs bash, gpg and openssl. +# Needs bash, unix2dos, gpg and openssl. [ "$#" -eq 0 ] && set -- . @@ -20,7 +20,7 @@ END { exit(100) } else if (type == "application/pgp-signature") { exit(system("bash -c " q("mshow -r -O " q(msg) " " q(content) \ - " | sed 's/$/\\r/' | gpg --verify <(mshow -O " q(msg) \ + " | unix2dos | gpg --verify <(mshow -O " q(msg) \ " " q(signature) " ) -"))) } else if (type == "application/pkcs7-signature") { exit(system("mshow -r -O " q(msg) " " q(signed) \