Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current "main" fails test testSignedMessageVerificationEncapsulatedWithPKIXIdentity #1960

Closed
mouse07410 opened this issue Jan 8, 2025 · 1 comment
Assignees

Comments

@mouse07410
Copy link

MacOS Sequoia 15.2, Zulu JDK-21.

Failing test "testSignedMessageVerificationEncapsulatedWithPKIXIdentity"

CMS processing failure: verifier not valid at signingTime

org.bouncycastle.mail.smime.SMIMEException: CMS processing failure: verifier not valid at signingTime
at org.bouncycastle.mail.smime.SMIMEToolkit.isValidSignature(Unknown Source)
at org.bouncycastle.mail.smime.test.SMIMEToolkitTest.testSignedMessageVerificationEncapsulatedWithPKIXIdentity(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: org.bouncycastle.cms.CMSVerifierCertificateNotValidException: verifier not valid at signingTime
at org.bouncycastle.cms.SignerInformation.verify(Unknown Source)
at org.bouncycastle.mail.smime.SMIMEToolkit.isAtLeastOneValidSigner(Unknown Source)
@dghgit
Copy link
Contributor

dghgit commented Jan 11, 2025

Yes, certificate expired on the 8th... oh boy... I've adjusted the test so it's just based on the public key. Now pushed.

@dghgit dghgit self-assigned this Jan 11, 2025
@dghgit dghgit closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants