unlimited-strength-crypto 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dfbdc34590ea92e83ff6ce65852e48cda6341e97
4
+ data.tar.gz: b5fe5818f990c0277b95a214afeca07d1a94475f
5
+ SHA512:
6
+ metadata.gz: 5368cee5057055dc72c96c1214cedbf6f52382b7d2779ae2df0c8cd27fb968f117daa9085ed4d472c7f4d1bec474531ac634489e7f1961a8978920a02e064e4c
7
+ data.tar.gz: 0406bd670a051ff356ad58c3d256c87a891352aabaf30573d219c5cf0bb2e4dbb8126139052453995d01e25ccba8884c6fe768f0d42e5f3cf4f15a67795f7bbf
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Kristian Meier
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,13 @@
1
+ # installation #
2
+
3
+ add in *Gemfile*
4
+ ```gem 'unlimited-strength-crypto'```
5
+
6
+ or without bundler
7
+
8
+ ```gem install unlimited-strength-crypto```
9
+
10
+ and add
11
+ ```require 'unlimited-strength-crypto'```
12
+ before you use any java crypto library.
13
+
@@ -0,0 +1,6 @@
1
+ if defined? JRUBY_VERSION
2
+ security_class = java.lang.Class.for_name('javax.crypto.JceSecurity')
3
+ restricted_field = security_class.get_declared_field('isRestricted')
4
+ restricted_field.accessible = true
5
+ restricted_field.set nil, false
6
+ end
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: unlimited-strength-crypto
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.3
5
+ platform: ruby
6
+ authors:
7
+ - Christian Meier
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-17 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Disable the crypto restriction programmatically - for more info see http://wiki.jruby.org/UnlimitedStrengthCrypto
14
+ email:
15
+ - m.kristian@web.de
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - MIT-LICENSE
21
+ - README.md
22
+ - lib/unlimited-strength-crypto.rb
23
+ homepage: https://github.com/mkristian/unlimited_strength_crypto
24
+ licenses:
25
+ - MIT
26
+ metadata: {}
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubyforge_project:
43
+ rubygems_version: 2.0.7
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: Disable the crypto restriction programmatically
47
+ test_files: []