From 084444a74cae34a054ad4ea55cea5ed23d178609 Mon Sep 17 00:00:00 2001 From: giomba Date: Tue, 19 Jan 2021 11:28:18 +0100 Subject: [PATCH] extract pdf from digitally signed p7m --- p7m-to-pdf.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 p7m-to-pdf.sh diff --git a/p7m-to-pdf.sh b/p7m-to-pdf.sh new file mode 100755 index 0000000..39cae37 --- /dev/null +++ b/p7m-to-pdf.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +openssl smime -decrypt -verify -inform DER -in "$1" -noverify -out "$1.pdf"