title: How to verify a file and a p7s detached signature with openssl?
body: <p>Would be possible to validate a file with p7s detached signature? I'm trying to do that using Openssl, but I got a default message about openssl and <code>unknown option -verify</code></p>
  
  <p>here is my command:</p>
  
  <p><code>openssl pkcs7 -inform DER -verify -noverify -in file.docx.p7s -out file.docx</code></p>
  
  <p>is this possible to do a file verification and p7s signature using openssl?</p>
  
  <p><strong>-- edit...</strong></p>
  
  <p>Just to let you know. I got an p7s file with an pdf file. I'd like to know how to validate that.</p>