From d087b8b30a7107f6aaf8559722ec55a9cd9d52a2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Sep 2017 12:06:06 +0200 Subject: bin/interpret-mail: be less restrictive about PGP layout --- bin/interpret-mail | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/interpret-mail') diff --git a/bin/interpret-mail b/bin/interpret-mail index effca9c..cfdf665 100755 --- a/bin/interpret-mail +++ b/bin/interpret-mail @@ -47,9 +47,9 @@ if ! hashcash -qXc -b 20 \ fi if ! sed -n ' - /^-----BEGIN PGP MESSAGE-----$/{ + /^-----BEGIN PGP MESSAGE-----\s*$/{ :a - /\n-----END PGP MESSAGE-----$/!{ + /\n-----END PGP MESSAGE-----\s*$/!{ N ba } -- cgit v1.2.3-70-g09d2