[JIRA] (OSJ-360) Regenerate PKIX test certs with SHA-2
Brent Putman (Jira)
jira at shibboleth.atlassian.net
Thu Sep 8 20:41:43 UTC 2022
Brent Putman ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A97de0981-adc3-4044-95ed-131622fad81e ) *commented* on OSJ-360 ( https://shibboleth.atlassian.net/browse/OSJ-360?atlOrigin=eyJpIjoiMTg3ZTk1ZDY3YjdmNGRkNjllMzA0ZTE5OTAyMzAxOTIiLCJwIjoiaiJ9 )
Re: Regenerate PKIX test certs with SHA-2 ( https://shibboleth.atlassian.net/browse/OSJ-360?atlOrigin=eyJpIjoiMTg3ZTk1ZDY3YjdmNGRkNjllMzA0ZTE5OTAyMzAxOTIiLCJwIjoiaiJ9 )
Yes, the generate.py in opensaml-security-impl/src/test/resources/org/opensaml/security/x509/impl was used to generate nearly all those certs and keys (the ones ending in .crt). Those were for the original “main” PKIX tests. However, those are all already SHA-256. (They are all size=2048, so we should regenerate for that).
In quick testing, the generate.py is currently terminating for me on a missing file error in Python, so I’ll see what tweaks need to be made. Might be age-related (it’s 5.5 years old and python3 has changed), or could be MacOS vs Linux (can’t remember on which I wrote it). (For the record, it’s just a wrapper/driver around the openssl CLI - it doesn’t use native Python X509/PKIX libraries, etc).
However, the SHA-1 ones that are failing are the mdt*.pem ones, which it appears came later and are for some other resource testing. I don’t know the details on those b/c they were a separate check-in by Scott. But I’ll see if I can figure out what those are all about and then see if the same generate.py can be augmented to generate those as well. It should be possible - the generate.py uses a declarative dict-based config to drive the roots, intermediates and end-entity certs it generates.
( https://shibboleth.atlassian.net/browse/OSJ-360#add-comment?atlOrigin=eyJpIjoiMTg3ZTk1ZDY3YjdmNGRkNjllMzA0ZTE5OTAyMzAxOTIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/OSJ-360#add-comment?atlOrigin=eyJpIjoiMTg3ZTk1ZDY3YjdmNGRkNjllMzA0ZTE5OTAyMzAxOTIiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206- sha1:66dd41f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220908/44ec1b7d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-1679c479-04c9-451f-ab75-0baffc127998
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220908/44ec1b7d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-068984b8-d827-4e7f-8a08-bf3940ca1361
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220908/44ec1b7d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-18fdd70f-ac3f-4b38-b59f-a9788bd0a418
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220908/44ec1b7d/attachment-0005.png>
More information about the commits
mailing list