-
Notifications
You must be signed in to change notification settings - Fork 85
[deps] upgrade BC to version 1.84 #360
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -297,7 +297,7 @@ public static KeyPair readECPrivateKey(final KeyFactory keyFactory, final Privat | |
| org.bouncycastle.asn1.sec.ECPrivateKey key = org.bouncycastle.asn1.sec.ECPrivateKey.getInstance(seq); | ||
| AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); | ||
| if (algId == null) { // mockPrivateKeyInfo | ||
| algId = new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, key.getParameters()); | ||
| algId = new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, key.getParametersObject().toASN1Primitive()); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Deprecated method removed; inlined to the deprecated implementation. Replacement has been there at least since
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. recall there was a reason it's been kept, not sure.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is master able to be used on 9.4 without other changes to JRuby itself? Preferably we could preserve ability to somehow release a version suitable for 9.4 due to the CVE noise even if we create a branch off a previous 0.15.x? (that seems like extra hassle though)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
current compat is (still) >= 9.2 ish, although we should be dropping < 9.3 at least maybe even 9.3 soon
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw that, but the test setup is rather complex so I couldn't quite figure out if the tests were in fact running against all those versions on GHA or not. Didn't spend much time though. In any case, I guess that means we should be able to upgrade jruby 9.4's bundled version from |
||
| } | ||
| final PrivateKeyInfo privInfo = new PrivateKeyInfo(algId, key); | ||
| ECPrivateKey privateKey = (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(privInfo.getEncoded())); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.