extract pdf from digitally signed p7m

This commit is contained in:
giomba 2021-01-19 11:28:18 +01:00
parent 6382bdecc6
commit 084444a74c
1 changed files with 3 additions and 0 deletions

3
p7m-to-pdf.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
openssl smime -decrypt -verify -inform DER -in "$1" -noverify -out "$1.pdf"