Bug#926404: /usr/bin/pdfsig: pdfsig: segfaults with "couldn't find default Firefox Folder"

Bernhard √úbelacker bernhardu at mailbox.org
Tue Apr 16 21:32:30 BST 2019

Am 16.04.19 um 12:04 schrieb Bernhard Reiter:
>> there was neither /etc/pki/nssdb nor a firefox profile in the
>> home directory.
> Can you post the signature information?
> My guess from the code is that you saw the info,
> but no certification validation.

benutzer at debian:~$ /usr/bin/pdfsig SampleSignedPDFDocument.pdf
Digital Signature Info of: SampleSignedPDFDocument.pdf
Internal Error (0): couldn't find default Firefox Folder
Signature #1:
  - Signer Certificate Common Name: John B Harris
  - Signer full Distinguished Name: E=jbharris at adobe.com,CN=John B Harris,O=Adobe Systems Incorporated,L=San Jose,ST=CA,C=US
  - Signing Time: Jul 16 2009 16:47:47
  - Signing Hash Algorithm: SHA1
  - Signature Type: adbe.pkcs7.detached
  - Signed Ranges: [0 - 227012], [248956 - 272318]
  - Total document signed
  - Signature Validation: Signature is Valid.
  - Certificate Validation: Certificate has Expired

With the patch applied and the file from here:

More information about the Pkg-freedesktop-maintainers mailing list