You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/08/21 16:24:44 UTC
[I] isSignatureFile() does not detect PKCS#7 signature types [maven-jarsigner]
elharo opened a new issue, #101:
URL: https://github.com/apache/maven-jarsigner/issues/101
`isSignatureFile()` only detects `.SF`, `.DSA`, `.RSA`, and `.EC` extensions. PKCS#7 signature files (`.PKCS7` or `.p7s`) used by some third-party signing tools are not detected.
**File:** `JarSignerUtil.java:177-189`
While the library's primary purpose is to work with jarsigner output (which only produces the four listed types), this could cause `unsignArchive()` to leave PKCS#7 signature files in the jar unexpectedly.
**Suggested fix:** Add detection for `.PKCS7` and/or `.p7s` extensions in `isSignatureFile()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] isSignatureFile() does not detect PKCS#7 signature types [maven-jarsigner]
Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo closed issue #101: isSignatureFile() does not detect PKCS#7 signature types
URL: https://github.com/apache/maven-jarsigner/issues/101
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org