<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - pdfunite must remove invalidated digital signatures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106952">106952</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>pdfunite must remove invalidated digital signatures
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>utils
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>patrakov@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=140204" name="attach_140204" title="First document with a signature">attachment 140204</a> <a href="attachment.cgi?id=140204&action=edit" title="First document with a signature">[details]</a></span>
First document with a signature
If I run pdfunite on pdf files, at least one of which is signed, then the
result has an invalid digital signature. I think that any signatures that
cannot be properly preserved must be removed.
To reproduce:
[aep@aep-haswell tmp]$ pdfsig 'Untitled 1.pdf'
Digital Signature Info of: Untitled 1.pdf
Signature #1:
- Signer Certificate Common Name: (null)
- Signer full Distinguished Name: <a href="mailto:E=patrakov@gmail.com">E=patrakov@gmail.com</a>
- Signing Time: Jun 18 2018 21:43:41
- Signing Hash Algorithm: SHA-256
- Signature Type: adbe.pkcs7.detached
- Signed Ranges: [0 - 9563], [59565 - 60513]
- Total document signed
- Signature Validation: Signature is Valid.
- Certificate Validation: Certificate is Trusted.
[aep@aep-haswell tmp]$ pdfsig 'Untitled 2.pdf'
Digital Signature Info of: Untitled 2.pdf
Signature #1:
- Signer Certificate Common Name: (null)
- Signer full Distinguished Name: <a href="mailto:E=patrakov@gmail.com">E=patrakov@gmail.com</a>
- Signing Time: Jun 18 2018 21:44:21
- Signing Hash Algorithm: SHA-256
- Signature Type: adbe.pkcs7.detached
- Signed Ranges: [0 - 9426], [59428 - 60376]
- Total document signed
- Signature Validation: Signature is Valid.
- Certificate Validation: Certificate is Trusted.
[aep@aep-haswell tmp]$ pdfunite 'Untitled 1.pdf' 'Untitled 2.pdf' 'Untitled
12.pdf'
[aep@aep-haswell tmp]$ pdfsig 'Untitled 12.pdf'
Digital Signature Info of: Untitled 12.pdf
Signature #1:
- Signer Certificate Common Name: (null)
- Signer full Distinguished Name: <a href="mailto:E=patrakov@gmail.com">E=patrakov@gmail.com</a>
- Signing Time: Jun 18 2018 21:43:41
- Signing Hash Algorithm: SHA-256
- Signature Type: adbe.pkcs7.detached
- Signed Ranges: [0 - 9563], [59565 - 60513]
- Not total document signed
- Signature Validation: Digest Mismatch.
Signature #2:
- Signer Certificate Common Name: (null)
- Signer full Distinguished Name: <a href="mailto:E=patrakov@gmail.com">E=patrakov@gmail.com</a>
- Signing Time: Jun 18 2018 21:44:21
- Signing Hash Algorithm: SHA-256
- Signature Type: adbe.pkcs7.detached
- Signed Ranges: [0 - 9426], [59428 - 60376]
- Not total document signed
- Signature Validation: Digest Mismatch.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>