Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jruby/jruby-openssl
JRuby's OpenSSL gem
https://github.com/jruby/jruby-openssl
cryptography jruby jruby-openssl openssl ssl tls
Last synced: 7 days ago
JSON representation
JRuby's OpenSSL gem
- Host: GitHub
- URL: https://github.com/jruby/jruby-openssl
- Owner: jruby
- License: other
- Created: 2010-06-15T14:43:14.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T16:24:32.000Z (15 days ago)
- Last Synced: 2024-10-30T17:29:40.299Z (15 days ago)
- Topics: cryptography, jruby, jruby-openssl, openssl, ssl, tls
- Language: Java
- Homepage: http://www.jruby.org
- Size: 18.2 MB
- Stars: 45
- Watchers: 11
- Forks: 80
- Open Issues: 71
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JRuby-OpenSSL
[JRuby-OpenSSL](https://github.com/jruby/jruby-openssl) is an add-on gem for
[JRuby](https://www.jruby.org/) that emulates the Ruby OpenSSL native library.Under the hood uses the [Bouncy Castle Crypto APIs](https://www.bouncycastle.org/java.html).
Each jruby-openssl gem release includes a certain version, usually the latest available,
of the library (namely BC Provider and PKIX/CMS/EAC/PKCS/OCSP/TSP/OPENSSL jars).Please report bugs and incompatibilities (preferably with test-cases) to either
the JRuby [mailing list][1] or the [bug tracker][2].## Compatibility
| JRuby-OpenSSL | JRuby compat | JVM compat | supported BC |
|---------------|:------------:|-----------:|-------------:|
| 0.9.6 | 1.6.8-9.0.2 | Java 6-8 | 1.47-1.50 |
| 0.9.12 | 1.6.8-9.0.5 | Java 6-8 | 1.47-1.52 |
| 0.9.13 | 1.6.8-9.1.2 | Java 6-8 | 1.49-1.52 |
| 0.9.14 | 1.6.8-9.1.5 | Java 6-8 | 1.49-1.54 |
| 0.9.17 | 1.6.8-9.1.5 | Java 6-8 | 1.50-1.54 |
| ~>0.9.18 | 1.6.8-9.1.x | Java 6-8 | 1.50-1.55 |
| 0.10.0 | 1.7.20-9.2.x | Java 7-10 | 1.55-1.59 |
| 0.10.3 | 1.7.20-9.2.x | Java 7-11 | 1.56-1.62 |
| ~>0.10.5 | 1.7.20-9.3.x | Java 7-11 | 1.60-1.68 |
| ~>0.11.x | 9.0.x-9.3.x | Java 7-11 | 1.62-1.68 |
| ~>0.12.x | 9.1.x-9.3.x | Java 8-15 | 1.65-1.68 |
| ~>0.13.x | 9.1.x-9.4.x | Java 8-17 | 1.68-1.69 |
| ~>0.14.x | 9.1.x-9.4.x | Java 8-21 | 1.71-1.74 |
| ~>0.15.x | 9.2.x-9.4.x | Java 8-21 | 1.76-1.78 |NOTE: backwards JRuby compatibility was not handled for versions <= **0.9.6**
## Security
JRuby-OpenSSL is an essential part of [JRuby](https://www.jruby.org/), please report security vulnerabilities to
`[email protected]` as detailed on JRuby's [security page](https://www.jruby.org/security) or using [GitHub][0].
Please note that most OpenSSL vulnerabilities do not effect JRuby since its not using
any of OpenSSL's C code, only Ruby parts (*.rb) are the same as in MRI's OpenSSL library.## Testing
[![Build Status][0]](http://travis-ci.org/jruby/jruby-openssl)
rake jar:all # creates pom.xml and generates jopenssl.jar under lib
mvn testwill run (junit as well as ruby) tests and a some ruby tests against the default
jruby version. to pick a different JRuby version runmvn test -Djruby.versions=9.2.8.0
for running integration-tests the gem will be first installed and then the same
tests run for each possible bouncy-castle version (see [listing][3]), run withmvn verify -P test-9.2.9.0,test-9.1.17.0
or pick a bouncy-castle version
mvn verify -P test-9.2.9.0 -Dbc.versions=1.60
NOTE: you can pick any jruby version which is on [central][4] or on [ci.jruby][5]
## License
(c) 2009-2024 JRuby distributed under EPL 1.0/GPL 2.0/LGPL 2.1
[0]: https://github.com/jruby/jruby-openssl/security
[1]: https://github.com/jruby/jruby/wiki/MailingLists
[2]: https://github.com/jruby/jruby-openssl/issues/new
[3]: https://github.com/jruby/jruby-openssl/tree/master/integration
[4]: http://central.maven.org/maven2/org/jruby/
[5]: https://www.jruby.org/nightly