-
Notifications
You must be signed in to change notification settings - Fork 2
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
Re-implement missing jruby functionality atop java.security #192
Re-implement missing jruby functionality atop java.security #192
Conversation
3be06b6
to
882a525
Compare
882a525
to
51f9811
Compare
Signed-off-by: Samuel Giddins <[email protected]>
51f9811
to
b97e5ad
Compare
@@ -309,11 +381,15 @@ def parse_value(value) | |||
@general_names = value.map do |general_name| | |||
tag = general_name.tag | |||
|
|||
value = general_name.value | |||
value = value.first if value.is_a?(Array) && value.size == 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this is a jruby discrepancy here -- file issue for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cc @headius, I think this works around most of the incompatibilities / missing features needed from jruby-openssl |
This is a very cool set of changes! We are fully willing to include pure-Ruby fixes in jruby-openssl if it makes sense for us to do so, and moving that library as much as possible toward 100% java.security is a key goal of mine. @segiddins We would love to see PRs for any appropriate changes you've made to work around jruby-openssl. @kares I think it's worth exploring these and other changes to try to improve functionality and slowly chip away at how much Bouncy Castle we need. |
…nality-atop-java.security
Signed-off-by: Samuel Giddins [email protected]