devicecheck 1.0.1 → 1.0.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.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -1
- data/.ruby-version +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +94 -0
- data/devicecheck.gemspec +41 -0
- data/lib/devicecheck/version.rb +1 -1
- metadata +25 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 293e37f4144418775d23c510333eae18aee7d80063f972bc492da3600d5faa18
|
|
4
|
+
data.tar.gz: f5e48859f0906af357299da9e563e673209e235380e74d50c738b6966ddde84b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2092dea4c2a369b4262813c0490053cac6b422c681731f428e5d1979309b31a35f6b5f9b8cb12f174d0db2365cdcf8103414ee6e929dad3287afea606ad251d0
|
|
7
|
+
data.tar.gz: dfcfa7b304df40baa35b9e151b7ca947629e58500f68e6d8c5f1551ac1233e6e47769d94dd2d3bb0e7012cfb1b8b935482048b41b2de4efbf1a19484bdf1c1a2
|
data/.rubocop.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
inherit_from: .rubocop_todo.yml
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
plugins:
|
|
4
4
|
- rubocop-rake
|
|
5
5
|
- rubocop-rspec
|
|
6
6
|
- rubocop-performance
|
|
@@ -27,3 +27,6 @@ Style/Documentation:
|
|
|
27
27
|
Metrics/BlockLength:
|
|
28
28
|
Exclude:
|
|
29
29
|
- spec/**/*
|
|
30
|
+
|
|
31
|
+
ThreadSafety/DirChdir:
|
|
32
|
+
AllowCallWithBlock: true
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby-3.2.9
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
devicecheck (1.0.3)
|
|
5
|
+
base64
|
|
6
|
+
cbor (>= 0.5.9, < 0.7.0)
|
|
7
|
+
openssl (>= 3, < 5)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
ast (2.4.3)
|
|
13
|
+
base64 (0.2.0)
|
|
14
|
+
cbor (0.6.2.2)
|
|
15
|
+
diff-lcs (1.6.2)
|
|
16
|
+
json (3.1.0)
|
|
17
|
+
language_server-protocol (3.17.0.6)
|
|
18
|
+
lint_roller (1.1.0)
|
|
19
|
+
openssl (4.0.2)
|
|
20
|
+
parallel (1.28.0)
|
|
21
|
+
parser (3.3.13.0)
|
|
22
|
+
ast (~> 2.4.1)
|
|
23
|
+
racc
|
|
24
|
+
prism (1.9.0)
|
|
25
|
+
racc (1.8.1)
|
|
26
|
+
rainbow (3.1.1)
|
|
27
|
+
rake (13.4.2)
|
|
28
|
+
regexp_parser (2.13.1)
|
|
29
|
+
rspec (3.13.2)
|
|
30
|
+
rspec-core (~> 3.13.0)
|
|
31
|
+
rspec-expectations (~> 3.13.0)
|
|
32
|
+
rspec-mocks (~> 3.13.0)
|
|
33
|
+
rspec-core (3.13.6)
|
|
34
|
+
rspec-support (~> 3.13.0)
|
|
35
|
+
rspec-expectations (3.13.5)
|
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
37
|
+
rspec-support (~> 3.13.0)
|
|
38
|
+
rspec-mocks (3.13.7)
|
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
40
|
+
rspec-support (~> 3.13.0)
|
|
41
|
+
rspec-support (3.13.6)
|
|
42
|
+
rubocop (1.92.2)
|
|
43
|
+
json (>= 2.3)
|
|
44
|
+
language_server-protocol (~> 3.17.0.2)
|
|
45
|
+
lint_roller (~> 1.1.0)
|
|
46
|
+
parallel (>= 1.10)
|
|
47
|
+
parser (>= 3.3.0.2)
|
|
48
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
49
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
50
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
51
|
+
ruby-progressbar (~> 1.7)
|
|
52
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
53
|
+
rubocop-ast (1.50.0)
|
|
54
|
+
parser (>= 3.3.7.2)
|
|
55
|
+
prism (~> 1.7)
|
|
56
|
+
rubocop-performance (1.27.0)
|
|
57
|
+
lint_roller (~> 1.1)
|
|
58
|
+
rubocop (>= 1.89.0, < 2.0)
|
|
59
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
60
|
+
rubocop-rake (0.7.1)
|
|
61
|
+
lint_roller (~> 1.1)
|
|
62
|
+
rubocop (>= 1.72.1)
|
|
63
|
+
rubocop-rspec (3.10.2)
|
|
64
|
+
lint_roller (~> 1.1)
|
|
65
|
+
regexp_parser (>= 2.0)
|
|
66
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
67
|
+
rubocop-thread_safety (0.8.0)
|
|
68
|
+
lint_roller (~> 1.1)
|
|
69
|
+
rubocop (~> 1.89)
|
|
70
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
|
71
|
+
ruby-progressbar (1.13.0)
|
|
72
|
+
simplecov (1.2.0)
|
|
73
|
+
unicode-display_width (3.3.0)
|
|
74
|
+
unicode-emoji (~> 4.3)
|
|
75
|
+
unicode-emoji (4.3.0)
|
|
76
|
+
yard (0.9.45)
|
|
77
|
+
|
|
78
|
+
PLATFORMS
|
|
79
|
+
ruby
|
|
80
|
+
|
|
81
|
+
DEPENDENCIES
|
|
82
|
+
devicecheck!
|
|
83
|
+
rake
|
|
84
|
+
rspec
|
|
85
|
+
rubocop
|
|
86
|
+
rubocop-performance
|
|
87
|
+
rubocop-rake
|
|
88
|
+
rubocop-rspec
|
|
89
|
+
rubocop-thread_safety
|
|
90
|
+
simplecov
|
|
91
|
+
yard
|
|
92
|
+
|
|
93
|
+
BUNDLED WITH
|
|
94
|
+
2.4.19
|
data/devicecheck.gemspec
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative 'lib/devicecheck/version'
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = 'devicecheck'
|
|
7
|
+
spec.version = Devicecheck::VERSION
|
|
8
|
+
spec.authors = ['Fabricio Chalub']
|
|
9
|
+
spec.email = ['opensource@catawiki.nl']
|
|
10
|
+
spec.license = 'MIT'
|
|
11
|
+
spec.homepage = 'https://github.com/catawiki/devicecheck-ruby'
|
|
12
|
+
spec.description = 'Pure Ruby implementation of the Apple App Attestation server side verifier'
|
|
13
|
+
spec.summary = 'Apple App Attestation (aka DeviceCheck) support for Ruby.'
|
|
14
|
+
spec.required_ruby_version = '>= 3.2'
|
|
15
|
+
|
|
16
|
+
spec.metadata = {
|
|
17
|
+
'bug_tracker_uri' => 'https://github.com/catawiki/devicecheck-ruby/issues',
|
|
18
|
+
'changelog_uri' => 'https://github.com/catawiki/devicecheck-ruby/blob/main/CHANGELOG.md',
|
|
19
|
+
'documentation_uri' => 'https://rubydoc.info/github/catawiki/devicecheck-ruby',
|
|
20
|
+
'source_code_uri' => 'https://github.com/catawiki/devicecheck-ruby',
|
|
21
|
+
'rubygems_mfa_required' => 'true'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
# Specify which files should be added to the gem when it is released.
|
|
25
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
26
|
+
spec.files = Dir.chdir(__dir__) do
|
|
27
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
28
|
+
(File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
spec.bindir = 'exe'
|
|
32
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
33
|
+
spec.require_paths = ['lib']
|
|
34
|
+
|
|
35
|
+
spec.add_dependency 'base64'
|
|
36
|
+
spec.add_dependency 'cbor', '>= 0.5.9', '< 0.7.0'
|
|
37
|
+
spec.add_dependency 'openssl', '>= 3', '< 5'
|
|
38
|
+
|
|
39
|
+
# For more information and examples about making a new gem, check out our
|
|
40
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
|
41
|
+
end
|
data/lib/devicecheck/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,57 +1,69 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devicecheck
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabricio Chalub
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0
|
|
19
|
+
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0
|
|
26
|
+
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: cbor
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 0.5.9
|
|
34
|
+
- - "<"
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: 0.7.0
|
|
34
37
|
type: :runtime
|
|
35
38
|
prerelease: false
|
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
40
|
requirements:
|
|
38
|
-
- - "
|
|
41
|
+
- - ">="
|
|
39
42
|
- !ruby/object:Gem::Version
|
|
40
43
|
version: 0.5.9
|
|
44
|
+
- - "<"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 0.7.0
|
|
41
47
|
- !ruby/object:Gem::Dependency
|
|
42
48
|
name: openssl
|
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
|
44
50
|
requirements:
|
|
45
|
-
- - "
|
|
51
|
+
- - ">="
|
|
46
52
|
- !ruby/object:Gem::Version
|
|
47
53
|
version: '3'
|
|
54
|
+
- - "<"
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
version: '5'
|
|
48
57
|
type: :runtime
|
|
49
58
|
prerelease: false
|
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
60
|
requirements:
|
|
52
|
-
- - "
|
|
61
|
+
- - ">="
|
|
53
62
|
- !ruby/object:Gem::Version
|
|
54
63
|
version: '3'
|
|
64
|
+
- - "<"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: '5'
|
|
55
67
|
description: Pure Ruby implementation of the Apple App Attestation server side verifier
|
|
56
68
|
email:
|
|
57
69
|
- opensource@catawiki.nl
|
|
@@ -62,15 +74,18 @@ files:
|
|
|
62
74
|
- ".rspec"
|
|
63
75
|
- ".rubocop.yml"
|
|
64
76
|
- ".rubocop_todo.yml"
|
|
77
|
+
- ".ruby-version"
|
|
65
78
|
- ".yardopts"
|
|
66
79
|
- CHANGELOG.md
|
|
67
80
|
- CODE-OF-CONDUCT.md
|
|
68
81
|
- CONTRIBUTING.md
|
|
69
82
|
- Gemfile
|
|
83
|
+
- Gemfile.lock
|
|
70
84
|
- LICENSE
|
|
71
85
|
- README.md
|
|
72
86
|
- Rakefile
|
|
73
87
|
- SECURITY.md
|
|
88
|
+
- devicecheck.gemspec
|
|
74
89
|
- lib/devicecheck.rb
|
|
75
90
|
- lib/devicecheck/assertion.rb
|
|
76
91
|
- lib/devicecheck/attestation.rb
|