Sha256: 0c36128da00a95f5ae1bf8299802b1107e0f4fcaa79f4a037204de8494f7cc37

Contents?: true

Size: 331 Bytes

Versions: 18

Compression:

Stored size: 331 Bytes

Contents

# Only for non-production environments. For production systems install the correct jurisdiction jars:
# https://github.com/jruby/jruby/wiki/UnlimitedStrengthCrypto
if !Rails.env.production?
  java.lang.Class.for_name('javax.crypto.JceSecurity').get_declared_field('isRestricted').tap{|f| f.accessible = true; f.set nil, false}
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rearview-1.1.1-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.1.0-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.3.rc.4-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.3.rc.3-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.3.rc.2-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.3.rc.1-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.2-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.2.rc.4-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.2.rc.3-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.2.rc.2-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.2.rc.1-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.1-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.0-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.0.rc5-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.0.rc4-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.0.rc3-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.0.rc2-jruby config/initializers/unlimited_strength_cryptography.rb
rearview-1.0.0.rc1-jruby config/initializers/unlimited_strength_cryptography.rb