tpm-key_attestation 0.14.1 → 0.14.2
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/.github/workflows/build.yml +35 -9
- data/.github/workflows/release.yml +32 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/tpm/key_attestation/version.rb +1 -1
- data/lib/tpm/t_public/s_ecc_parms.rb +2 -0
- metadata +5 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fa7aefd21dd649082cefcf8c18ec0f01830de039a2ba2100803d35f60da51f3
|
|
4
|
+
data.tar.gz: 340f1b7b3a814d8e27186888e2bb5d9aa4fb4ebabdece153abfa0d19179907d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52f1320542265f9db4ec93cecd6c4855fd03cf3fadac21f2c628bb9e0e6ee2e80498e9c81a5c3631b645965085f550c11c10bc5f60fe09cfb8175215b193190e
|
|
7
|
+
data.tar.gz: 4e1065490a22e7d6335969750fac16e5644bfe120419f7feabba00e4d47bdd5d9a3e0fd38b751b430236bea0c8f11f2fb635e1e810ebf4cf3e6f06b883d28b75
|
data/.github/workflows/build.yml
CHANGED
|
@@ -33,8 +33,9 @@ jobs:
|
|
|
33
33
|
os:
|
|
34
34
|
- ubuntu-24.04
|
|
35
35
|
- windows-latest
|
|
36
|
-
- macos-
|
|
36
|
+
- macos-15
|
|
37
37
|
ruby:
|
|
38
|
+
- '4.0'
|
|
38
39
|
- '3.4'
|
|
39
40
|
- '3.3'
|
|
40
41
|
- '3.2'
|
|
@@ -52,6 +53,10 @@ jobs:
|
|
|
52
53
|
- openssl_3_2
|
|
53
54
|
- openssl_3_3
|
|
54
55
|
exclude:
|
|
56
|
+
- ruby: '2.4'
|
|
57
|
+
os: macos-15
|
|
58
|
+
- ruby: '2.5'
|
|
59
|
+
os: macos-15
|
|
55
60
|
- ruby: '2.4'
|
|
56
61
|
gemfile: openssl_3_0
|
|
57
62
|
- ruby: '2.5'
|
|
@@ -74,40 +79,46 @@ jobs:
|
|
|
74
79
|
gemfile: openssl_3_3
|
|
75
80
|
- ruby: '3.1'
|
|
76
81
|
gemfile: openssl_2_2
|
|
77
|
-
os: macos-
|
|
82
|
+
os: macos-15
|
|
78
83
|
- ruby: '3.1'
|
|
79
84
|
gemfile: openssl_2_1
|
|
80
|
-
os: macos-
|
|
85
|
+
os: macos-15
|
|
81
86
|
- ruby: '3.2'
|
|
82
87
|
gemfile: openssl_2_2
|
|
83
|
-
os: macos-
|
|
88
|
+
os: macos-15
|
|
84
89
|
- ruby: '3.2'
|
|
85
90
|
gemfile: openssl_2_1
|
|
86
|
-
os: macos-
|
|
91
|
+
os: macos-15
|
|
87
92
|
- ruby: '3.2'
|
|
88
93
|
gemfile: openssl_2_2
|
|
89
94
|
os: windows-latest
|
|
90
95
|
- ruby: '3.2'
|
|
91
96
|
gemfile: openssl_2_1
|
|
92
97
|
os: windows-latest
|
|
98
|
+
- ruby: '3.2'
|
|
99
|
+
gemfile: openssl_3_0
|
|
100
|
+
os: windows-latest
|
|
93
101
|
- ruby: '3.3'
|
|
94
102
|
gemfile: openssl_2_2
|
|
95
|
-
os: macos-
|
|
103
|
+
os: macos-15
|
|
96
104
|
- ruby: '3.3'
|
|
97
105
|
gemfile: openssl_2_1
|
|
98
|
-
os: macos-
|
|
106
|
+
os: macos-15
|
|
99
107
|
- ruby: '3.3'
|
|
100
108
|
gemfile: openssl_2_2
|
|
101
109
|
os: windows-latest
|
|
102
110
|
- ruby: '3.3'
|
|
103
111
|
gemfile: openssl_2_1
|
|
104
112
|
os: windows-latest
|
|
113
|
+
- ruby: '3.3'
|
|
114
|
+
gemfile: openssl_3_0
|
|
115
|
+
os: windows-latest
|
|
105
116
|
- ruby: '3.4'
|
|
106
117
|
gemfile: openssl_2_2
|
|
107
|
-
os: macos-
|
|
118
|
+
os: macos-15
|
|
108
119
|
- ruby: '3.4'
|
|
109
120
|
gemfile: openssl_2_1
|
|
110
|
-
os: macos-
|
|
121
|
+
os: macos-15
|
|
111
122
|
- ruby: '3.4'
|
|
112
123
|
gemfile: openssl_2_2
|
|
113
124
|
os: windows-latest
|
|
@@ -117,6 +128,21 @@ jobs:
|
|
|
117
128
|
- ruby: '3.4'
|
|
118
129
|
gemfile: openssl_3_0
|
|
119
130
|
os: windows-latest
|
|
131
|
+
- ruby: '4.0'
|
|
132
|
+
gemfile: openssl_2_2
|
|
133
|
+
os: macos-15
|
|
134
|
+
- ruby: '4.0'
|
|
135
|
+
gemfile: openssl_2_1
|
|
136
|
+
os: macos-15
|
|
137
|
+
- ruby: '4.0'
|
|
138
|
+
gemfile: openssl_2_2
|
|
139
|
+
os: windows-latest
|
|
140
|
+
- ruby: '4.0'
|
|
141
|
+
gemfile: openssl_2_1
|
|
142
|
+
os: windows-latest
|
|
143
|
+
- ruby: '4.0'
|
|
144
|
+
gemfile: openssl_3_0
|
|
145
|
+
os: windows-latest
|
|
120
146
|
- ruby: '2.4'
|
|
121
147
|
os: ubuntu-24.04
|
|
122
148
|
env:
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
# TEMPORARY: re-trigger the v0.14.2 publish, whose `release` event is pinned to
|
|
7
|
+
# a stale commit. Revert this branch once the gem is on RubyGems.
|
|
8
|
+
push:
|
|
9
|
+
branches: [sr--retrigger-release]
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
release:
|
|
13
|
+
name: Publish to Rubygems
|
|
14
|
+
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
environment: release
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
21
|
+
id-token: write
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v7
|
|
25
|
+
|
|
26
|
+
- name: Setup Ruby
|
|
27
|
+
uses: ruby/setup-ruby@v1
|
|
28
|
+
with:
|
|
29
|
+
bundler-cache: true
|
|
30
|
+
|
|
31
|
+
- name: Publish to RubyGems
|
|
32
|
+
uses: rubygems/release-gem@v1
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.0.6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.14.2] - 2026-07-24
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- `TPMS_ECC_PARMS` parsing for non-NULL ECC schemes. [#60](https://github.com/cedarcode/tpm-key_attestation/pull/60) [@MayzrBot](https://github.com/MayzrBot)
|
|
8
|
+
|
|
3
9
|
## [v0.14.1] - 2025-05-23
|
|
4
10
|
|
|
5
11
|
### Fixed
|
|
@@ -99,6 +105,7 @@ replacement of `JOSE` format `algorithm` string
|
|
|
99
105
|
- `TPM::EKCertificate` wrapper
|
|
100
106
|
- `TPM::SAttest` wrapper
|
|
101
107
|
|
|
108
|
+
[v0.14.2]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.14.1...v0.14.2/
|
|
102
109
|
[v0.14.1]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.14.0...v0.14.1/
|
|
103
110
|
[v0.14.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.13.1...v0.14.0/
|
|
104
111
|
[v0.13.1]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.13.0...v0.13.1/
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
tpm-key_attestation (0.14.
|
|
4
|
+
tpm-key_attestation (0.14.2)
|
|
5
5
|
bindata (~> 2.4)
|
|
6
6
|
openssl (> 2.0)
|
|
7
7
|
openssl-signature_algorithm (~> 1.0)
|
|
@@ -20,7 +20,7 @@ GEM
|
|
|
20
20
|
json (2.10.1)
|
|
21
21
|
language_server-protocol (3.17.0.4)
|
|
22
22
|
lint_roller (1.1.0)
|
|
23
|
-
openssl (
|
|
23
|
+
openssl (4.0.2)
|
|
24
24
|
openssl-signature_algorithm (1.3.0)
|
|
25
25
|
openssl (> 2.0)
|
|
26
26
|
parallel (1.26.3)
|
|
@@ -61,7 +61,7 @@ GEM
|
|
|
61
61
|
thor (1.3.2)
|
|
62
62
|
unicode-display_width (3.1.4)
|
|
63
63
|
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
64
|
-
unicode-emoji (4.0
|
|
64
|
+
unicode-emoji (4.2.0)
|
|
65
65
|
|
|
66
66
|
PLATFORMS
|
|
67
67
|
ruby
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# tpm-key_attestation
|
|
2
2
|
|
|
3
|
-
TPM Key Attestation
|
|
3
|
+
TPM Key Attestation utilities
|
|
4
4
|
|
|
5
5
|
[](https://rubygems.org/gems/tpm-key_attestation)
|
|
6
6
|
[](https://github.com/cedarcode/tpm-key_attestation/actions)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "bindata"
|
|
4
|
+
require "tpm/constants"
|
|
4
5
|
|
|
5
6
|
module TPM
|
|
6
7
|
class TPublic < BinData::Record
|
|
@@ -10,6 +11,7 @@ module TPM
|
|
|
10
11
|
|
|
11
12
|
uint16 :symmetric
|
|
12
13
|
uint16 :scheme
|
|
14
|
+
uint16 :scheme_hash_alg, onlyif: -> { scheme != TPM::ALG_NULL }
|
|
13
15
|
uint16 :curve_id
|
|
14
16
|
uint16 :kdf
|
|
15
17
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tpm-key_attestation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gonzalo
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bindata
|
|
@@ -52,8 +51,6 @@ dependencies:
|
|
|
52
51
|
- - "~>"
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
53
|
version: '1.0'
|
|
55
|
-
description:
|
|
56
|
-
email:
|
|
57
54
|
executables: []
|
|
58
55
|
extensions: []
|
|
59
56
|
extra_rdoc_files: []
|
|
@@ -61,9 +58,11 @@ files:
|
|
|
61
58
|
- ".github/actions/install-openssl/action.yml"
|
|
62
59
|
- ".github/actions/install-ruby/action.yml"
|
|
63
60
|
- ".github/workflows/build.yml"
|
|
61
|
+
- ".github/workflows/release.yml"
|
|
64
62
|
- ".gitignore"
|
|
65
63
|
- ".rspec"
|
|
66
64
|
- ".rubocop.yml"
|
|
65
|
+
- ".ruby-version"
|
|
67
66
|
- Appraisals
|
|
68
67
|
- CHANGELOG.md
|
|
69
68
|
- Gemfile
|
|
@@ -130,7 +129,6 @@ metadata:
|
|
|
130
129
|
homepage_uri: https://github.com/cedarcode/tpm-key_attestation
|
|
131
130
|
source_code_uri: https://github.com/cedarcode/tpm-key_attestation
|
|
132
131
|
changelog_uri: https://github.com/cedarcode/tpm-key_attestation/blob/master/CHANGELOG.md
|
|
133
|
-
post_install_message:
|
|
134
132
|
rdoc_options: []
|
|
135
133
|
require_paths:
|
|
136
134
|
- lib
|
|
@@ -145,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
143
|
- !ruby/object:Gem::Version
|
|
146
144
|
version: '0'
|
|
147
145
|
requirements: []
|
|
148
|
-
rubygems_version:
|
|
149
|
-
signing_key:
|
|
146
|
+
rubygems_version: 4.0.16
|
|
150
147
|
specification_version: 4
|
|
151
148
|
summary: TPM Key Attestation verifier
|
|
152
149
|
test_files: []
|