open and read .p7s files in ubuntu linux

did you receive a doc or docx file with an extra .p7s extension ? it’s a digitally signed document
in order to read it in ubuntu you’ll have to transform it back to the regular .doc or .docx file

here’s how to do this:

  • download the file
  • open a terminal (CTRL+ALT+t)
  • use cd to get to the folder where you downloaded the file

  • copy this line in the terminal (mouse right click) and modify the .p7s file name

now you have the file without the .p7s extension in the same folder you have the original file

6 thoughts on “open and read .p7s files in ubuntu linux”

  1. Error reading S/MIME message
    140602651838104:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1197:
    140602651838104:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=PKCS7_ISSUER_AND_SERIAL
    140602651838104:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:697:Field=issuer_and_serial, Type=PKCS7_SIGNER_INFO
    140602651838104:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:669:Field=signer_info, Type=PKCS7_SIGNED
    140602651838104:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:697:
    140602651838104:error:0D08403A:asn1 encoding routines:ASN1_TEMPLATE_EX_D2I:nested asn1 error:tasn_dec.c:560:Field=d.sign, Type=PKCS7

  2. File is not opened!
    — error message —
    Error reading S/MIME message
    140437807855424:error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag:crypto/asn1/tasn_dec.c:1112:
    140437807855424:error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error:crypto/asn1/tasn_dec.c:274:Type=PKCS7

  3. I was also not able to find a Linux tool that is able to open that file type after a quick google research. However, there exist some tools for Windows (e.g. Cryptigo pViewer ) or OSX.

Leave a Reply to admin Cancel reply

Your email address will not be published. Required fields are marked *