|
[jruby-user] JRuby support for EzCrypto: msg#00196lang.jruby.user
EzCrypto / Active Crypto is a Ruby gem providing cryptographic operations on top of OpenSSL. I have been trying recently to use it in a Rails application which I deployed on Tomcat through JRuby / Goldspike. There seems to be quite a bit of differences between the behavior of C OpenSSL and JRuby-OpenSSL that EzCrypto has tons of problems working within JRuby. Some specific examples are: ** lack of method 'umask' in File:Class (to tighten permissions on key files) ** possible unsupported cipher algorithm (aes128/ECB/PKCS5Padding) ** different expected invocation arguments (for example, required Initialization Vector in a certain cipher in Java while the same is not required in C OpenSSL) Is this observation on par with what others are experiencing? Does anyone has recommendations on a good way to do cryptography that would work on both JRuby and CRuby transparently? (my development are done on CRuby but deployed to JRuby on production...) Env: Fedora 8 / JDK 1.6.0_03 / JRuby 1.0.2 / JRuby-OpenSSL 0.0.4 / EzCrypto 0.7 / Ruby 1.8.6 Cheers, Chiaming Hsu --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [jruby-user] Unit test rollback and autocommit on sqlserver 2005: 00196, Nick Sieger |
|---|---|
| Next by Date: | Re: [jruby-user] JRuby support for EzCrypto: 00196, Charles Oliver Nutter |
| Previous by Thread: | [jruby-user] JRuby array to Java arrayi: 00196, tsuraan |
| Next by Thread: | Re: [jruby-user] JRuby support for EzCrypto: 00196, Charles Oliver Nutter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |