saml_idp 0.0.10 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/lib/saml_idp/configurator.rb +1 -0
- data/lib/saml_idp/controller.rb +1 -1
- data/lib/saml_idp/signed_info_builder.rb +6 -1
- data/lib/saml_idp/version.rb +1 -1
- data/saml_idp.gemspec +1 -0
- metadata +6 -5
data/README.md
CHANGED
data/lib/saml_idp/controller.rb
CHANGED
@@ -69,8 +69,13 @@ module SamlIdp
|
|
69
69
|
end
|
70
70
|
private :secret_key
|
71
71
|
|
72
|
+
def password
|
73
|
+
SamlIdp.config.password
|
74
|
+
end
|
75
|
+
private :password
|
76
|
+
|
72
77
|
def encoded
|
73
|
-
key = OpenSSL::PKey::RSA.new(secret_key)
|
78
|
+
key = OpenSSL::PKey::RSA.new(secret_key, password)
|
74
79
|
Base64.encode64(key.sign(algorithm.new, raw))
|
75
80
|
end
|
76
81
|
private :encoded
|
data/lib/saml_idp/version.rb
CHANGED
data/saml_idp.gemspec
CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
"Gemfile",
|
19
19
|
"saml_idp.gemspec"
|
20
20
|
]
|
21
|
+
s.license = "LICENSE"
|
21
22
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
22
23
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
23
24
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml_idp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -330,7 +330,8 @@ files:
|
|
330
330
|
- spec/support/security_helpers.rb
|
331
331
|
- spec/xml_security_spec.rb
|
332
332
|
homepage: http://github.com/sportngin/saml_idp
|
333
|
-
licenses:
|
333
|
+
licenses:
|
334
|
+
- LICENSE
|
334
335
|
post_install_message:
|
335
336
|
rdoc_options:
|
336
337
|
- --charset=UTF-8
|
@@ -344,7 +345,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
344
345
|
version: '0'
|
345
346
|
segments:
|
346
347
|
- 0
|
347
|
-
hash:
|
348
|
+
hash: -4057493914977189816
|
348
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
349
350
|
none: false
|
350
351
|
requirements:
|
@@ -353,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
354
|
version: '0'
|
354
355
|
segments:
|
355
356
|
- 0
|
356
|
-
hash:
|
357
|
+
hash: -4057493914977189816
|
357
358
|
requirements: []
|
358
359
|
rubyforge_project:
|
359
360
|
rubygems_version: 1.8.25
|