saml-kit 1.0.29 → 1.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +124 -0
- data/Gemfile.lock +123 -0
- data/lib/saml/kit/builders/templates/encrypted_assertion.builder +1 -1
- data/lib/saml/kit/builders/templates/logout_request.builder +1 -1
- data/lib/saml/kit/version.rb +1 -1
- data/saml-kit.gemspec +2 -2
- metadata +17 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: '08c9447b2a5b078540115082a8226ce5e8f12dd8'
|
4
|
+
data.tar.gz: 4eb5fb45beab693ff98a2a7a791b81bdbe03976c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdd24fc54b69e18c2e3740843821ab33842daef7bd96088fa8ef2936864e159e61bfb1bb9a90dce9290d171c1ee31f2f42a418b50a99468f13cf765cb126946c
|
7
|
+
data.tar.gz: 8dcd9feddfd42abd013add5a9df3a7cf87e91c69c02ef17454b8e61b47dbe12f22f716b642d982e8fad15eb8fd0c79ff61811368f39adae9185714cdcf70cb9c
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
Version 1.0.30
|
2
|
+
# Changelog
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
- nil
|
10
|
+
|
11
|
+
## [1.0.30] - 2019-04-07
|
12
|
+
### Changed
|
13
|
+
- change xml-kit dependency to minimum 0.3.0
|
14
|
+
- use `encrypt_data_for` instead of `encryption_for`.
|
15
|
+
|
16
|
+
## [1.0.29] - 2018-12-04
|
17
|
+
### Changed
|
18
|
+
- change xml-kit dependency to ~> 0.2.
|
19
|
+
|
20
|
+
## [1.0.28] - 2018-12-04
|
21
|
+
### Changed
|
22
|
+
- Parse attribute arrays from SAML assertion.
|
23
|
+
|
24
|
+
## [1.0.27] - 2018-11-08
|
25
|
+
### Changed
|
26
|
+
- Evict expired key pairs from configuration.
|
27
|
+
|
28
|
+
## [1.0.26] - 2018-10-22
|
29
|
+
### Changed
|
30
|
+
- Forward destination, issuer, now, embed\_signature to assertion.
|
31
|
+
|
32
|
+
## [1.0.25] - 2018-10-17
|
33
|
+
### Changed
|
34
|
+
- Allow multi valued attributes in response assertion.
|
35
|
+
|
36
|
+
## [1.0.24] - 2018-09-18
|
37
|
+
### Added
|
38
|
+
- Parse ID from assertion.
|
39
|
+
- Parse version from assertion.
|
40
|
+
- Parse version from assertion.
|
41
|
+
- Add missing English translations.
|
42
|
+
|
43
|
+
### Changed
|
44
|
+
- Moved backing fields from response builder to assertion.
|
45
|
+
|
46
|
+
## [1.0.23] - 2018-08-23
|
47
|
+
### Added
|
48
|
+
- Add NotOnOrAfter attribute to SubjectConfirmationData.
|
49
|
+
|
50
|
+
## [1.0.22] - 2018-08-13
|
51
|
+
### Added
|
52
|
+
- Allow using a custom NameID Format in Assertion.
|
53
|
+
|
54
|
+
## [1.0.21] - 2018-08-13
|
55
|
+
### Changed
|
56
|
+
- Use net/hippie instead of net/http.
|
57
|
+
|
58
|
+
### Removed
|
59
|
+
- remove optional NotOnOrAfter attribute from SubjectConfirmationData.
|
60
|
+
|
61
|
+
## [1.0.20] - 2018-08-11
|
62
|
+
### Changed
|
63
|
+
- Synchronize NotOnOrAfter between AuthnStatement and SubjectConfirmationData.
|
64
|
+
|
65
|
+
### Removed
|
66
|
+
- Removed optional SessionNotOnOrAfter attribute from AuthnStatement.
|
67
|
+
|
68
|
+
[Unreleased]: https://github.com/saml-kit/saml-kit/compare/v1.0.30...HEAD
|
69
|
+
[1.0.30]: https://github.com/saml-kit/saml-kit/compare/v1.0.29...v1.0.30
|
70
|
+
[1.0.29]: https://github.com/saml-kit/saml-kit/compare/v1.0.28...v1.0.29
|
71
|
+
[1.0.28]: https://github.com/saml-kit/saml-kit/compare/v1.0.27...v1.0.28
|
72
|
+
[1.0.27]: https://github.com/saml-kit/saml-kit/compare/v1.0.26...v1.0.27
|
73
|
+
[1.0.26]: https://github.com/saml-kit/saml-kit/compare/v1.0.25...v1.0.26
|
74
|
+
[1.0.25]: https://github.com/saml-kit/saml-kit/compare/v1.0.24...v1.0.25
|
75
|
+
[1.0.24]: https://github.com/saml-kit/saml-kit/compare/v1.0.23...v1.0.24
|
76
|
+
[1.0.23]: https://github.com/saml-kit/saml-kit/compare/v1.0.22...v1.0.23
|
77
|
+
[1.0.22]: https://github.com/saml-kit/saml-kit/compare/v1.0.21...v1.0.22
|
78
|
+
[1.0.21]: https://github.com/saml-kit/saml-kit/compare/v1.0.20...v1.0.21
|
79
|
+
[1.0.20]: https://github.com/saml-kit/saml-kit/compare/v1.0.19...v1.0.20
|
80
|
+
[1.0.19]: https://github.com/saml-kit/saml-kit/compare/v1.0.18...v1.0.19
|
81
|
+
[1.0.18]: https://github.com/saml-kit/saml-kit/compare/v1.0.17...v1.0.18
|
82
|
+
[1.0.17]: https://github.com/saml-kit/saml-kit/compare/v1.0.16...v1.0.17
|
83
|
+
[1.0.16]: https://github.com/saml-kit/saml-kit/compare/v1.0.15...v1.0.16
|
84
|
+
[1.0.15]: https://github.com/saml-kit/saml-kit/compare/v1.0.14...v1.0.15
|
85
|
+
[1.0.14]: https://github.com/saml-kit/saml-kit/compare/v1.0.13...v1.0.14
|
86
|
+
[1.0.13]: https://github.com/saml-kit/saml-kit/compare/v1.0.12...v1.0.13
|
87
|
+
[1.0.12]: https://github.com/saml-kit/saml-kit/compare/v1.0.11...v1.0.12
|
88
|
+
[1.0.11]: https://github.com/saml-kit/saml-kit/compare/v1.0.10...v1.0.11
|
89
|
+
[1.0.10]: https://github.com/saml-kit/saml-kit/compare/v1.0.9...v1.0.10
|
90
|
+
[1.0.9]: https://github.com/saml-kit/saml-kit/compare/v1.0.8...v1.0.9
|
91
|
+
[1.0.8]: https://github.com/saml-kit/saml-kit/compare/v1.0.7...v1.0.8
|
92
|
+
[1.0.7]: https://github.com/saml-kit/saml-kit/compare/v1.0.6...v1.0.7
|
93
|
+
[1.0.6]: https://github.com/saml-kit/saml-kit/compare/v1.0.5...v1.0.6
|
94
|
+
[1.0.5]: https://github.com/saml-kit/saml-kit/compare/v1.0.4...v1.0.5
|
95
|
+
[1.0.4]: https://github.com/saml-kit/saml-kit/compare/v1.0.3...v1.0.4
|
96
|
+
[1.0.3]: https://github.com/saml-kit/saml-kit/compare/v1.0.2...v1.0.3
|
97
|
+
[1.0.2]: https://github.com/saml-kit/saml-kit/compare/v1.0.1...v1.0.2
|
98
|
+
[1.0.1]: https://github.com/saml-kit/saml-kit/compare/v1.0.0...v1.0.1
|
99
|
+
[1.0.0]: https://github.com/saml-kit/saml-kit/compare/v0.3.6...v1.0.0
|
100
|
+
[0.3.6]: https://github.com/saml-kit/saml-kit/compare/v0.3.5...v0.3.6
|
101
|
+
[0.3.5]: https://github.com/saml-kit/saml-kit/compare/v0.3.4...v0.3.5
|
102
|
+
[0.3.4]: https://github.com/saml-kit/saml-kit/compare/v0.3.3...v0.3.4
|
103
|
+
[0.3.3]: https://github.com/saml-kit/saml-kit/compare/v0.3.2...v0.3.3
|
104
|
+
[0.3.2]: https://github.com/saml-kit/saml-kit/compare/v0.3.1...v0.3.2
|
105
|
+
[0.3.1]: https://github.com/saml-kit/saml-kit/compare/v0.3.0...v0.3.1
|
106
|
+
[0.3.0]: https://github.com/saml-kit/saml-kit/compare/v0.2.18...v0.3.0
|
107
|
+
[0.2.18]: https://github.com/saml-kit/saml-kit/compare/v0.2.17...v0.2.18
|
108
|
+
[0.2.17]: https://github.com/saml-kit/saml-kit/compare/v0.2.16...v0.2.17
|
109
|
+
[0.2.16]: https://github.com/saml-kit/saml-kit/compare/v0.2.15...v0.2.16
|
110
|
+
[0.2.15]: https://github.com/saml-kit/saml-kit/compare/v0.2.14...v0.2.15
|
111
|
+
[0.2.14]: https://github.com/saml-kit/saml-kit/compare/v0.2.13...v0.2.14
|
112
|
+
[0.2.13]: https://github.com/saml-kit/saml-kit/compare/v0.2.12...v0.2.13
|
113
|
+
[0.2.12]: https://github.com/saml-kit/saml-kit/compare/v0.2.11...v0.2.12
|
114
|
+
[0.2.11]: https://github.com/saml-kit/saml-kit/compare/v0.2.10...v0.2.11
|
115
|
+
[0.2.10]: https://github.com/saml-kit/saml-kit/compare/v0.2.9...v0.2.10
|
116
|
+
[0.2.9]: https://github.com/saml-kit/saml-kit/compare/v0.2.8...v0.2.9
|
117
|
+
[0.2.8]: https://github.com/saml-kit/saml-kit/compare/v0.2.7...v0.2.8
|
118
|
+
[0.2.7]: https://github.com/saml-kit/saml-kit/compare/v0.2.6...v0.2.7
|
119
|
+
[0.2.6]: https://github.com/saml-kit/saml-kit/compare/v0.2.5...v0.2.6
|
120
|
+
[0.2.5]: https://github.com/saml-kit/saml-kit/compare/v0.2.4...v0.2.5
|
121
|
+
[0.2.4]: https://github.com/saml-kit/saml-kit/compare/v0.2.3...v0.2.4
|
122
|
+
[0.2.3]: https://github.com/saml-kit/saml-kit/compare/v0.2.2...v0.2.3
|
123
|
+
[0.2.2]: https://github.com/saml-kit/saml-kit/compare/v0.2.1...v0.2.2
|
124
|
+
[0.2.1]: https://github.com/saml-kit/saml-kit/compare/v0.1.0...v0.2.1
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
saml-kit (1.0.30)
|
5
|
+
activemodel (>= 4.2.0)
|
6
|
+
net-hippie (~> 0.1)
|
7
|
+
xml-kit (>= 0.3.0, < 1.0.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activemodel (5.2.3)
|
13
|
+
activesupport (= 5.2.3)
|
14
|
+
activesupport (5.2.3)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 0.7, < 2)
|
17
|
+
minitest (~> 5.1)
|
18
|
+
tzinfo (~> 1.1)
|
19
|
+
addressable (2.6.0)
|
20
|
+
public_suffix (>= 2.0.2, < 4.0)
|
21
|
+
ast (2.4.0)
|
22
|
+
benchmark-perf (0.4.0)
|
23
|
+
benchmark-trend (0.2.0)
|
24
|
+
builder (3.2.3)
|
25
|
+
bundler-audit (0.6.1)
|
26
|
+
bundler (>= 1.2.0, < 3)
|
27
|
+
thor (~> 0.18)
|
28
|
+
concurrent-ruby (1.1.5)
|
29
|
+
crack (0.4.3)
|
30
|
+
safe_yaml (~> 1.0.0)
|
31
|
+
diff-lcs (1.3)
|
32
|
+
docile (1.3.1)
|
33
|
+
ffaker (2.11.0)
|
34
|
+
hashdiff (0.3.8)
|
35
|
+
i18n (1.5.1)
|
36
|
+
concurrent-ruby (~> 1.0)
|
37
|
+
jaro_winkler (1.5.2)
|
38
|
+
json (2.2.0)
|
39
|
+
mini_portile2 (2.4.0)
|
40
|
+
minitest (5.11.3)
|
41
|
+
net-hippie (0.2.5)
|
42
|
+
nokogiri (1.9.1)
|
43
|
+
mini_portile2 (~> 2.4.0)
|
44
|
+
parallel (1.17.0)
|
45
|
+
parser (2.6.2.1)
|
46
|
+
ast (~> 2.4.0)
|
47
|
+
psych (3.1.0)
|
48
|
+
public_suffix (3.0.3)
|
49
|
+
rainbow (3.0.0)
|
50
|
+
rake (10.5.0)
|
51
|
+
rspec (3.8.0)
|
52
|
+
rspec-core (~> 3.8.0)
|
53
|
+
rspec-expectations (~> 3.8.0)
|
54
|
+
rspec-mocks (~> 3.8.0)
|
55
|
+
rspec-benchmark (0.4.0)
|
56
|
+
benchmark-perf (~> 0.4.0)
|
57
|
+
benchmark-trend (~> 0.2.0)
|
58
|
+
rspec (>= 3.0.0, < 4.0.0)
|
59
|
+
rspec-core (3.8.0)
|
60
|
+
rspec-support (~> 3.8.0)
|
61
|
+
rspec-expectations (3.8.2)
|
62
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
63
|
+
rspec-support (~> 3.8.0)
|
64
|
+
rspec-mocks (3.8.0)
|
65
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
+
rspec-support (~> 3.8.0)
|
67
|
+
rspec-support (3.8.0)
|
68
|
+
rubocop (0.67.2)
|
69
|
+
jaro_winkler (~> 1.5.1)
|
70
|
+
parallel (~> 1.10)
|
71
|
+
parser (>= 2.5, != 2.5.1.1)
|
72
|
+
psych (>= 3.1.0)
|
73
|
+
rainbow (>= 2.2.2, < 4.0)
|
74
|
+
ruby-progressbar (~> 1.7)
|
75
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
76
|
+
rubocop-rspec (1.32.0)
|
77
|
+
rubocop (>= 0.60.0)
|
78
|
+
ruby-prof (0.17.0)
|
79
|
+
ruby-progressbar (1.10.0)
|
80
|
+
safe_yaml (1.0.5)
|
81
|
+
simplecov (0.16.1)
|
82
|
+
docile (~> 1.1)
|
83
|
+
json (>= 1.8, < 3)
|
84
|
+
simplecov-html (~> 0.10.0)
|
85
|
+
simplecov-html (0.10.2)
|
86
|
+
thor (0.20.3)
|
87
|
+
thread_safe (0.3.6)
|
88
|
+
tilt (2.0.9)
|
89
|
+
tzinfo (1.2.5)
|
90
|
+
thread_safe (~> 0.1)
|
91
|
+
unicode-display_width (1.5.0)
|
92
|
+
webmock (3.5.1)
|
93
|
+
addressable (>= 2.3.6)
|
94
|
+
crack (>= 0.3.2)
|
95
|
+
hashdiff
|
96
|
+
xml-kit (0.3.1)
|
97
|
+
activemodel (>= 4.2.0)
|
98
|
+
builder (~> 3.2)
|
99
|
+
nokogiri (>= 1.8.5)
|
100
|
+
tilt (>= 1.4.1)
|
101
|
+
xmldsig (~> 0.6)
|
102
|
+
xmldsig (0.6.6)
|
103
|
+
nokogiri (>= 1.6.8, < 2.0.0)
|
104
|
+
|
105
|
+
PLATFORMS
|
106
|
+
ruby
|
107
|
+
|
108
|
+
DEPENDENCIES
|
109
|
+
bundler (~> 1.17)
|
110
|
+
bundler-audit (~> 0.6)
|
111
|
+
ffaker (~> 2.7)
|
112
|
+
rake (~> 10.0)
|
113
|
+
rspec (~> 3.0)
|
114
|
+
rspec-benchmark (~> 0.3)
|
115
|
+
rubocop (~> 0.52)
|
116
|
+
rubocop-rspec (~> 1.22)
|
117
|
+
ruby-prof
|
118
|
+
saml-kit!
|
119
|
+
simplecov (~> 0.15)
|
120
|
+
webmock (~> 3.1)
|
121
|
+
|
122
|
+
BUNDLED WITH
|
123
|
+
1.17.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
xml.instruct!
|
4
4
|
xml.LogoutRequest logout_request_options do
|
5
|
-
xml.Issuer(
|
5
|
+
xml.Issuer(issuer, xmlns: Saml::Kit::Namespaces::ASSERTION)
|
6
6
|
signature_for(reference_id: id, xml: xml)
|
7
7
|
xml.NameID name_id_options, user.name_id_for(name_id_format)
|
8
8
|
end
|
data/lib/saml/kit/version.rb
CHANGED
data/saml-kit.gemspec
CHANGED
@@ -30,8 +30,8 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_dependency 'activemodel', '>= 4.2.0'
|
32
32
|
spec.add_dependency 'net-hippie', '~> 0.1'
|
33
|
-
spec.add_dependency 'xml-kit', '
|
34
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
33
|
+
spec.add_dependency 'xml-kit', '>= 0.3.0', '< 1.0.0'
|
34
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
35
35
|
spec.add_development_dependency 'bundler-audit', '~> 0.6'
|
36
36
|
spec.add_development_dependency 'ffaker', '~> 2.7'
|
37
37
|
spec.add_development_dependency 'rake', '~> 10.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mo khan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -42,30 +42,36 @@ dependencies:
|
|
42
42
|
name: xml-kit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.3.0
|
48
|
+
- - "<"
|
46
49
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
50
|
+
version: 1.0.0
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
|
-
- - "
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 0.3.0
|
58
|
+
- - "<"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
60
|
+
version: 1.0.0
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: bundler
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
67
|
+
version: '1.17'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
74
|
+
version: '1.17'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: bundler-audit
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,7 +222,9 @@ executables:
|
|
216
222
|
extensions: []
|
217
223
|
extra_rdoc_files: []
|
218
224
|
files:
|
225
|
+
- CHANGELOG.md
|
219
226
|
- Gemfile
|
227
|
+
- Gemfile.lock
|
220
228
|
- LICENSE.txt
|
221
229
|
- README.md
|
222
230
|
- Rakefile
|
@@ -336,7 +344,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
344
|
version: '0'
|
337
345
|
requirements: []
|
338
346
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.
|
347
|
+
rubygems_version: 2.4.5.5
|
340
348
|
signing_key:
|
341
349
|
specification_version: 4
|
342
350
|
summary: A simple toolkit for working with SAML.
|