tpm-key_attestation 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +1 -1
- data/.rubocop.yml +1 -4
- data/.travis.yml +21 -9
- data/Appraisals +4 -0
- data/CHANGELOG.md +43 -0
- data/Gemfile +3 -3
- data/Gemfile.lock +18 -12
- data/README.md +4 -3
- data/gemfiles/openssl_2_0.gemfile +3 -2
- data/gemfiles/openssl_2_1.gemfile +3 -2
- data/gemfiles/openssl_2_2.gemfile +12 -0
- data/gemfiles/openssl_default.gemfile +3 -2
- data/gemfiles/openssl_head.gemfile +3 -2
- data/install-openssl.sh +3 -0
- data/install-ruby.sh +10 -0
- data/lib/tpm/{ek_certificate.rb → aik_certificate.rb} +56 -29
- data/lib/tpm/certificates/AMD/RootCA/AMD-fTPM-ECC-RootCA.crt +0 -0
- data/lib/tpm/certificates/AMD/RootCA/AMD-fTPM-RSA-RootCA.crt +0 -0
- data/lib/tpm/certificates/Atmel/RootCA/Atmel TPM Root Signing Module.der +0 -0
- data/lib/tpm/certificates/Infineon/RootCA/IFX TPM EK Root CA.cer +0 -0
- data/lib/tpm/certificates/Infineon/RootCA/IFX-RootCA.cer +0 -0
- data/lib/tpm/certificates/Infineon/RootCA/IFX_TPM_RootCert_008.crt +0 -0
- data/lib/tpm/certificates/Infineon/RootCA/Infineon OPTIGA(TM) ECC Root CA.crt +0 -0
- data/lib/tpm/certificates/Infineon/RootCA/Infineon OPTIGA(TM) RSA Root CA.crt +0 -0
- data/lib/tpm/certificates/Intel/RootCA/EKRootPublicKey.cer +0 -0
- data/lib/tpm/certificates/Microsoft/RootCA/Microsoft TPM Root Certificate Authority 2014.cer +0 -0
- data/lib/tpm/certificates/NationZ/RootCA/EkRootCA.crt +15 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/NTC TPM EK Root CA 01.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/NTC TPM EK Root CA 02.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/NTC TPM EK Root CA ARSUF 01.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1013.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1014.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1110.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1111.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2010.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2011.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2110.cer +0 -0
- data/lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2111.cer +0 -0
- data/lib/tpm/certificates/QC/RootCA/Microsoft TPM Root Certificate Authority 2014.cer +0 -0
- data/lib/tpm/certificates/STMicro/RootCA/GlobalSign Trusted Computing CA.crt +0 -0
- data/lib/tpm/certificates/STMicro/RootCA/GlobalSign Trusted Platform Module ECC Root CA.crt +0 -0
- data/lib/tpm/certificates/STMicro/RootCA/ST TPM Root Certificate.crt +0 -0
- data/lib/tpm/certificates/STMicro/RootCA/STM TPM ECC Root CA 01.crt +0 -0
- data/lib/tpm/certify_validator.rb +29 -14
- data/lib/tpm/key_attestation.rb +61 -9
- data/lib/tpm/key_attestation/version.rb +1 -1
- data/lib/tpm/s_attest/s_certify_info.rb +2 -1
- data/lib/tpm/t_public.rb +3 -2
- data/lib/tpm/tpm2b_name.rb +18 -0
- data/lib/tpm/tpmt_ha.rb +20 -0
- data/tpm-key_attestation.gemspec +2 -1
- metadata +52 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f495569765faf3eaf8bcd9ff004405e278d720d12253ec01f98175f9dce3e4c
|
4
|
+
data.tar.gz: 26105eb6528b31ddec9a800cdeddea4eee311e25fdfc1c99cee2345b43e58bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3501ffabdfea8bc28803a2036f0e83d2e16eb7cdcd21a937f9112ffd7ecfdb91ff37290fd97b5d8de50eab22f3ddf109899b7f715c90b4ef667a0aed04156c4b
|
7
|
+
data.tar.gz: 26698f67fad4bcb5788d5f01ab536057b3fa3c0bd2db5338aa495dda45435bf528e101ae91e4afddd3f94b8389456544677a9964871df9f7997b79274ca41f38
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.4
|
3
3
|
DisabledByDefault: true
|
4
4
|
Exclude:
|
5
5
|
- "gemfiles/**/*"
|
@@ -28,9 +28,6 @@ Security:
|
|
28
28
|
Style/BlockComments:
|
29
29
|
Enabled: true
|
30
30
|
|
31
|
-
Style/BracesAroundHashParameters:
|
32
|
-
Enabled: true
|
33
|
-
|
34
31
|
Style/CaseEquality:
|
35
32
|
Enabled: true
|
36
33
|
|
data/.travis.yml
CHANGED
@@ -1,18 +1,27 @@
|
|
1
1
|
---
|
2
2
|
dist: bionic
|
3
3
|
language: ruby
|
4
|
-
cache: bundler
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
- 2.
|
5
|
+
cache:
|
6
|
+
bundler: true
|
7
|
+
directories:
|
8
|
+
- /home/travis/.rvm/
|
9
|
+
|
10
|
+
env:
|
11
|
+
- RB=2.7.1 LIBSSL=1.0
|
12
|
+
- RB=2.7.1 LIBSSL=1.1
|
13
|
+
- RB=2.6.6 LIBSSL=1.0
|
14
|
+
- RB=2.6.6 LIBSSL=1.1
|
15
|
+
- RB=2.5.8 LIBSSL=1.0
|
16
|
+
- RB=2.5.8 LIBSSL=1.1
|
17
|
+
- RB=2.4.10 LIBSSL=1.0
|
18
|
+
- RB=2.4.10 LIBSSL=1.1
|
19
|
+
- RB=ruby-head LIBSSL=1.0
|
20
|
+
- RB=ruby-head LIBSSL=1.1
|
13
21
|
|
14
22
|
gemfile:
|
15
23
|
- gemfiles/openssl_head.gemfile
|
24
|
+
- gemfiles/openssl_2_2.gemfile
|
16
25
|
- gemfiles/openssl_2_1.gemfile
|
17
26
|
- gemfiles/openssl_2_0.gemfile
|
18
27
|
- gemfiles/openssl_default.gemfile
|
@@ -20,9 +29,12 @@ gemfile:
|
|
20
29
|
matrix:
|
21
30
|
fast_finish: true
|
22
31
|
allow_failures:
|
23
|
-
-
|
32
|
+
- env: RB=ruby-head LIBSSL=1.0
|
33
|
+
- env: RB=ruby-head LIBSSL=1.1
|
24
34
|
- gemfile: gemfiles/openssl_head.gemfile
|
25
35
|
|
26
36
|
before_install:
|
37
|
+
- ./install-openssl.sh
|
38
|
+
- ./install-ruby.sh
|
27
39
|
- gem install bundler -v "~> 2.0"
|
28
40
|
- rm Gemfile.lock
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,41 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.9.0] - 2020-05-31
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
|
7
|
+
- Fixed compatibility with OpenSSL-C (libssl) v1.0.2 ([@santiagorodriguez96])
|
8
|
+
|
9
|
+
## [v0.8.0] - 2020-03-29
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- Update `openssl-signature_algorithm` gem dependency from `v0.3` to `v0.4`.
|
14
|
+
|
15
|
+
## [v0.7.0] - 2020-02-25
|
16
|
+
|
17
|
+
### Added
|
18
|
+
|
19
|
+
- `TPM::KeyAttestation#valid?` performs certificate path validation. In other words, it verifies trust up
|
20
|
+
to an acceptable trusted root certificate.
|
21
|
+
|
22
|
+
### Changed
|
23
|
+
|
24
|
+
- Rename `TPM::EKCertificate` to `TPM::AIKCertificate` to fix semantics
|
25
|
+
|
26
|
+
## [v0.6.0] - 2020-01-30
|
27
|
+
|
28
|
+
### Changed
|
29
|
+
|
30
|
+
- `TPM::KeyAttestation.new` now accepts `signature_algorithm` and `hash_algorithm` in TPM format in
|
31
|
+
replacement of `JOSE` format `algorithm` string
|
32
|
+
|
33
|
+
## [v0.5.0] - 2020-01-23
|
34
|
+
|
35
|
+
### Added
|
36
|
+
|
37
|
+
- `TPM::KeyAttestation#valid?` also checks there's at least a well-formatted key in the attestation
|
38
|
+
|
3
39
|
## [v0.4.0] - 2020-01-20
|
4
40
|
|
5
41
|
### Added
|
@@ -25,7 +61,14 @@
|
|
25
61
|
- `TPM::EKCertificate` wrapper
|
26
62
|
- `TPM::SAttest` wrapper
|
27
63
|
|
64
|
+
[v0.9.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.8.0...v0.9.0/
|
65
|
+
[v0.8.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.7.0...v0.8.0/
|
66
|
+
[v0.7.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.6.0...v0.7.0/
|
67
|
+
[v0.6.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.5.0...v0.6.0/
|
68
|
+
[v0.5.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.4.0...v0.5.0/
|
28
69
|
[v0.4.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.3.0...v0.4.0/
|
29
70
|
[v0.3.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.2.0...v0.3.0/
|
30
71
|
[v0.2.0]: https://github.com/cedarcode/tpm-key_attestation/compare/v0.1.0...v0.2.0/
|
31
72
|
[v0.1.0]: https://github.com/cedarcode/tpm-key_attestation/compare/57c926ef7e83830cee8d111fdc5ccaf99ab2e861...v0.1.0/
|
73
|
+
|
74
|
+
[@santiagorodriguez96]: https://github.com/santiagorodriguez96
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tpm-key_attestation (0.
|
4
|
+
tpm-key_attestation (0.9.0)
|
5
5
|
bindata (~> 2.4)
|
6
|
+
openssl-signature_algorithm (~> 0.4.0)
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
@@ -12,46 +13,51 @@ GEM
|
|
12
13
|
rake
|
13
14
|
thor (>= 0.14.0)
|
14
15
|
ast (2.4.0)
|
15
|
-
bindata (2.4.
|
16
|
+
bindata (2.4.7)
|
17
|
+
byebug (11.1.3)
|
16
18
|
diff-lcs (1.3)
|
17
19
|
jaro_winkler (1.5.4)
|
20
|
+
openssl-signature_algorithm (0.4.0)
|
18
21
|
parallel (1.19.1)
|
19
|
-
parser (2.7.
|
22
|
+
parser (2.7.1.3)
|
20
23
|
ast (~> 2.4.0)
|
21
24
|
rainbow (3.0.0)
|
22
|
-
rake (
|
25
|
+
rake (13.0.1)
|
26
|
+
rexml (3.2.4)
|
23
27
|
rspec (3.9.0)
|
24
28
|
rspec-core (~> 3.9.0)
|
25
29
|
rspec-expectations (~> 3.9.0)
|
26
30
|
rspec-mocks (~> 3.9.0)
|
27
|
-
rspec-core (3.9.
|
28
|
-
rspec-support (~> 3.9.
|
29
|
-
rspec-expectations (3.9.
|
31
|
+
rspec-core (3.9.2)
|
32
|
+
rspec-support (~> 3.9.3)
|
33
|
+
rspec-expectations (3.9.2)
|
30
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
35
|
rspec-support (~> 3.9.0)
|
32
36
|
rspec-mocks (3.9.1)
|
33
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
38
|
rspec-support (~> 3.9.0)
|
35
|
-
rspec-support (3.9.
|
36
|
-
rubocop (0.
|
39
|
+
rspec-support (3.9.3)
|
40
|
+
rubocop (0.80.1)
|
37
41
|
jaro_winkler (~> 1.5.1)
|
38
42
|
parallel (~> 1.10)
|
39
43
|
parser (>= 2.7.0.1)
|
40
44
|
rainbow (>= 2.2.2, < 4.0)
|
45
|
+
rexml
|
41
46
|
ruby-progressbar (~> 1.7)
|
42
47
|
unicode-display_width (>= 1.4.0, < 1.7)
|
43
48
|
ruby-progressbar (1.10.1)
|
44
49
|
thor (1.0.1)
|
45
|
-
unicode-display_width (1.6.
|
50
|
+
unicode-display_width (1.6.1)
|
46
51
|
|
47
52
|
PLATFORMS
|
48
53
|
ruby
|
49
54
|
|
50
55
|
DEPENDENCIES
|
51
56
|
appraisal (~> 2.2.0)
|
52
|
-
|
57
|
+
byebug (~> 11.0)
|
58
|
+
rake (~> 13.0)
|
53
59
|
rspec (~> 3.0)
|
54
|
-
rubocop
|
60
|
+
rubocop (~> 0.80.1)
|
55
61
|
tpm-key_attestation!
|
56
62
|
|
57
63
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -2,8 +2,9 @@
|
|
2
2
|
|
3
3
|
TPM Key Attestation utitlies
|
4
4
|
|
5
|
-
[![Gem](https://img.shields.io/gem/v/tpm-key_attestation.svg?style=flat-square)](https://rubygems.org/gems/tpm-key_attestation)
|
6
|
-
[![Travis](https://img.shields.io/travis/cedarcode/tpm-key_attestation.svg?style=flat-square)](https://travis-ci.org/cedarcode/tpm-key_attestation)
|
5
|
+
[![Gem](https://img.shields.io/gem/v/tpm-key_attestation.svg?style=flat-square&color=informational)](https://rubygems.org/gems/tpm-key_attestation)
|
6
|
+
[![Travis](https://img.shields.io/travis/cedarcode/tpm-key_attestation/master.svg?style=flat-square)](https://travis-ci.org/cedarcode/tpm-key_attestation)
|
7
|
+
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-informational.svg?style=flat-square)](https://conventionalcommits.org)
|
7
8
|
|
8
9
|
## Installation
|
9
10
|
|
@@ -31,7 +32,7 @@ key_attestation =
|
|
31
32
|
certified_object,
|
32
33
|
signing_key,
|
33
34
|
quilifying_data,
|
34
|
-
|
35
|
+
signature_algorithm: TPM::ALG_RSAPSS # Supported values: TPM::ALG_RSAPSS, TPM::ALG_RSASSA, TPM::ALG_ECDSA (default TPM::ALG_RSASSA)
|
35
36
|
)
|
36
37
|
|
37
38
|
if key_attestation.valid?
|
@@ -3,9 +3,10 @@
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
gem "appraisal", "~> 2.2.0"
|
6
|
-
gem "
|
6
|
+
gem "byebug", "~> 11.0"
|
7
|
+
gem "rake", "~> 13.0"
|
7
8
|
gem "rspec", "~> 3.0"
|
8
|
-
gem "rubocop"
|
9
|
+
gem "rubocop", "~> 0.80.1"
|
9
10
|
gem "openssl", "~> 2.0.0"
|
10
11
|
|
11
12
|
gemspec path: "../"
|
@@ -3,9 +3,10 @@
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
gem "appraisal", "~> 2.2.0"
|
6
|
-
gem "
|
6
|
+
gem "byebug", "~> 11.0"
|
7
|
+
gem "rake", "~> 13.0"
|
7
8
|
gem "rspec", "~> 3.0"
|
8
|
-
gem "rubocop"
|
9
|
+
gem "rubocop", "~> 0.80.1"
|
9
10
|
gem "openssl", "~> 2.1.0"
|
10
11
|
|
11
12
|
gemspec path: "../"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "appraisal", "~> 2.2.0"
|
6
|
+
gem "byebug", "~> 11.0"
|
7
|
+
gem "rake", "~> 13.0"
|
8
|
+
gem "rspec", "~> 3.0"
|
9
|
+
gem "rubocop", "~> 0.80.1"
|
10
|
+
gem "openssl", "~> 2.2.0"
|
11
|
+
|
12
|
+
gemspec path: "../"
|
@@ -3,9 +3,10 @@
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
gem "appraisal", "~> 2.2.0"
|
6
|
-
gem "
|
6
|
+
gem "byebug", "~> 11.0"
|
7
|
+
gem "rake", "~> 13.0"
|
7
8
|
gem "rspec", "~> 3.0"
|
8
|
-
gem "rubocop"
|
9
|
+
gem "rubocop", "~> 0.80.1"
|
9
10
|
gem "openssl", git: "https://github.com/ruby/openssl"
|
10
11
|
|
11
12
|
gemspec path: "../"
|
data/install-openssl.sh
ADDED
data/install-ruby.sh
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
source ~/.rvm/scripts/rvm
|
2
|
+
|
3
|
+
if [[ "${LIBSSL}" == "1.0" ]]; then
|
4
|
+
rvm install $RB --autolibs=read-only -C --with-openssl-dir=usr/include/openssl
|
5
|
+
elif [[ "${LIBSSL}" == "1.1" ]]; then
|
6
|
+
rvm install $RB --binary --fuzzy
|
7
|
+
fi
|
8
|
+
|
9
|
+
rvm use $RB
|
10
|
+
ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
|
@@ -6,14 +6,15 @@ require "tpm/constants"
|
|
6
6
|
|
7
7
|
module TPM
|
8
8
|
# Section 3.2 in https://www.trustedcomputinggroup.org/wp-content/uploads/Credential_Profile_EK_V2.0_R14_published.pdf
|
9
|
-
class
|
9
|
+
class AIKCertificate < SimpleDelegator
|
10
10
|
ASN_V3 = 2
|
11
11
|
EMPTY_NAME = OpenSSL::X509::Name.new([]).freeze
|
12
12
|
SAN_DIRECTORY_NAME = 4
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
OID_TCG = "2.23.133"
|
14
|
+
OID_TCG_AT_TPM_MANUFACTURER = "#{OID_TCG}.2.1"
|
15
|
+
OID_TCG_AT_TPM_MODEL = "#{OID_TCG}.2.2"
|
16
|
+
OID_TCG_AT_TPM_VERSION = "#{OID_TCG}.2.3"
|
17
|
+
OID_TCG_KP_AIK_CERTIFICATE = "#{OID_TCG}.8.3"
|
17
18
|
|
18
19
|
def self.from_der(certificate_der)
|
19
20
|
new(OpenSSL::X509::Certificate.new(certificate_der))
|
@@ -24,13 +25,10 @@ module TPM
|
|
24
25
|
valid_version? &&
|
25
26
|
valid_extended_key_usage? &&
|
26
27
|
valid_basic_constraints? &&
|
28
|
+
empty_subject? &&
|
27
29
|
valid_subject_alternative_name?
|
28
30
|
end
|
29
31
|
|
30
|
-
def empty_subject?
|
31
|
-
subject.eql?(EMPTY_NAME)
|
32
|
-
end
|
33
|
-
|
34
32
|
private
|
35
33
|
|
36
34
|
def in_use?
|
@@ -55,31 +53,60 @@ module TPM
|
|
55
53
|
extended_key_usage && extended_key_usage.value == OID_TCG_KP_AIK_CERTIFICATE && !extended_key_usage.critical?
|
56
54
|
end
|
57
55
|
|
56
|
+
def empty_subject?
|
57
|
+
subject.eql?(EMPTY_NAME)
|
58
|
+
end
|
59
|
+
|
58
60
|
def valid_subject_alternative_name?
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
directory_name =
|
67
|
-
OpenSSL::ASN1.decode(san_asn1.value).find do |val|
|
68
|
-
val.tag_class == :CONTEXT_SPECIFIC && val.tag == SAN_DIRECTORY_NAME
|
69
|
-
end
|
70
|
-
name = OpenSSL::X509::Name.new(directory_name.value.first).to_a
|
71
|
-
manufacturer = name.assoc(OID_TCG_AT_TPM_MANUFACTURER).at(1)
|
72
|
-
model = name.assoc(OID_TCG_AT_TPM_MODEL).at(1)
|
73
|
-
version = name.assoc(OID_TCG_AT_TPM_VERSION).at(1)
|
74
|
-
|
75
|
-
::TPM::VENDOR_IDS[manufacturer] &&
|
76
|
-
!model.empty? &&
|
77
|
-
!version.empty? &&
|
78
|
-
(empty_subject? && extension.critical? || !empty_subject? && !extension.critical?)
|
61
|
+
if san_extension
|
62
|
+
san_extension.critical? &&
|
63
|
+
!tpm_manufacturer.empty? &&
|
64
|
+
TPM::VENDOR_IDS[tpm_manufacturer] &&
|
65
|
+
!tpm_model.empty? &&
|
66
|
+
!tpm_version.empty?
|
67
|
+
end
|
79
68
|
end
|
80
69
|
|
81
70
|
def extension(oid)
|
82
71
|
extensions.detect { |ext| ext.oid == oid }
|
83
72
|
end
|
73
|
+
|
74
|
+
def tpm_manufacturer
|
75
|
+
if san_name
|
76
|
+
san_name.assoc(OID_TCG_AT_TPM_MANUFACTURER).at(1)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
def tpm_model
|
81
|
+
if san_name
|
82
|
+
san_name.assoc(OID_TCG_AT_TPM_MODEL).at(1)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
def tpm_version
|
87
|
+
if san_name
|
88
|
+
san_name.assoc(OID_TCG_AT_TPM_VERSION).at(1)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
def san_name
|
93
|
+
if san_extension
|
94
|
+
san_asn1 =
|
95
|
+
OpenSSL::ASN1.decode(san_extension).find do |val|
|
96
|
+
val.tag_class == :UNIVERSAL && val.tag == OpenSSL::ASN1::OCTET_STRING
|
97
|
+
end
|
98
|
+
|
99
|
+
directory_name =
|
100
|
+
OpenSSL::ASN1.decode(san_asn1.value).find do |val|
|
101
|
+
val.tag_class == :CONTEXT_SPECIFIC && val.tag == SAN_DIRECTORY_NAME
|
102
|
+
end
|
103
|
+
|
104
|
+
OpenSSL::X509::Name.new(directory_name.value.first).to_a
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
def san_extension
|
109
|
+
extension("subjectAltName")
|
110
|
+
end
|
84
111
|
end
|
85
112
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIICRDCCAcqgAwIBAgIBATAKBggqhkjOPQQDAzBrMQswCQYDVQQGEwJDTjEhMB8G
|
3
|
+
A1UECgwYTmF0aW9ueiBUZWNobm9sb2dpZXMgSW5jMRswGQYDVQQLDBJOYXRpb256
|
4
|
+
IFRQTSBEZXZpY2UxHDAaBgNVBAMME05hdGlvbnogVFBNIFJvb3QgQ0EwHhcNMTcw
|
5
|
+
NTEyMDAwMDAwWhcNNDcwNTEzMDAwMDAwWjBrMQswCQYDVQQGEwJDTjEhMB8GA1UE
|
6
|
+
CgwYTmF0aW9ueiBUZWNobm9sb2dpZXMgSW5jMRswGQYDVQQLDBJOYXRpb256IFRQ
|
7
|
+
TSBEZXZpY2UxHDAaBgNVBAMME05hdGlvbnogVFBNIFJvb3QgQ0EwdjAQBgcqhkjO
|
8
|
+
PQIBBgUrgQQAIgNiAATvuDTN8TNvp3A9fSjWpDARLmvz7ItQrDq/mmuzvzInwQfs
|
9
|
+
YKUUJza4MXB3yS0PH1jjv1YMvaIBIalAgc+kahScQUy6W2fy6hd36pazmc/vQfG3
|
10
|
+
Gdhw56gGwRHx4rn4TuqjQjBAMB0GA1UdDgQWBBQ6vP8I314BDCtkB4vHzpUG9Aj9
|
11
|
+
5DAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNo
|
12
|
+
ADBlAjApzqSmd4cCMKC7slJ4NE/7zweXZx89JzSEnEWGcq78jbbXCw6yM+R4nCNX
|
13
|
+
phflI9QCMQCeFOAvyR+DQvThfGFINABej+1zeDVIjuZHat3FHVyV0UQVClPgMlZu
|
14
|
+
TntipXwGOVY=
|
15
|
+
-----END CERTIFICATE-----
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,19 +1,31 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "openssl/signature_algorithm"
|
3
4
|
require "tpm/constants"
|
4
|
-
require "tpm/public_area"
|
5
5
|
require "tpm/s_attest"
|
6
6
|
|
7
7
|
module TPM
|
8
8
|
class CertifyValidator
|
9
|
-
attr_reader :info, :signature, :nonce, :object, :
|
9
|
+
attr_reader :info, :signature, :nonce, :object, :signature_algorithm, :hash_algorithm
|
10
10
|
|
11
|
-
|
11
|
+
TPM_SIGNATURE_ALG_TO_OPENSSL = {
|
12
|
+
ALG_RSASSA => OpenSSL::SignatureAlgorithm::RSAPKCS1,
|
13
|
+
ALG_RSAPSS => OpenSSL::SignatureAlgorithm::RSAPSS,
|
14
|
+
ALG_ECDSA => OpenSSL::SignatureAlgorithm::ECDSA
|
15
|
+
}.freeze
|
16
|
+
|
17
|
+
TPM_HASH_ALG_TO_OPENSSL = {
|
18
|
+
ALG_SHA1 => "SHA1",
|
19
|
+
ALG_SHA256 => "SHA256"
|
20
|
+
}.freeze
|
21
|
+
|
22
|
+
def initialize(info, signature, nonce, object, signature_algorithm: ALG_RSASSA, hash_algorithm: ALG_SHA256)
|
12
23
|
@info = info
|
13
24
|
@signature = signature
|
14
25
|
@nonce = nonce
|
15
26
|
@object = object
|
16
|
-
@
|
27
|
+
@signature_algorithm = signature_algorithm
|
28
|
+
@hash_algorithm = hash_algorithm
|
17
29
|
end
|
18
30
|
|
19
31
|
def valid?(signing_key)
|
@@ -26,14 +38,17 @@ module TPM
|
|
26
38
|
attest.attested_type == TPM::ST_ATTEST_CERTIFY &&
|
27
39
|
attest.extra_data.buffer == nonce &&
|
28
40
|
attest.magic == TPM::GENERATED_VALUE &&
|
29
|
-
attest.attested.name.
|
41
|
+
attest.attested.name.valid_for?(object)
|
30
42
|
end
|
31
43
|
|
32
|
-
def valid_signature?(
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
44
|
+
def valid_signature?(verify_key)
|
45
|
+
openssl_signature_algorithm = openssl_signature_algorithm_class.new(openssl_hash_function[3..-1])
|
46
|
+
openssl_signature_algorithm.verify_key = verify_key
|
47
|
+
|
48
|
+
begin
|
49
|
+
openssl_signature_algorithm.verify(signature, info)
|
50
|
+
rescue OpenSSL::SignatureAlgorithm::Error
|
51
|
+
false
|
37
52
|
end
|
38
53
|
end
|
39
54
|
|
@@ -41,12 +56,12 @@ module TPM
|
|
41
56
|
@attest ||= TPM::SAttest.deserialize(info)
|
42
57
|
end
|
43
58
|
|
44
|
-
def
|
45
|
-
"
|
59
|
+
def openssl_hash_function
|
60
|
+
TPM_HASH_ALG_TO_OPENSSL[hash_algorithm] || raise("Unsupported hash algorithm #{hash_algorithm}")
|
46
61
|
end
|
47
62
|
|
48
|
-
def
|
49
|
-
|
63
|
+
def openssl_signature_algorithm_class
|
64
|
+
TPM_SIGNATURE_ALG_TO_OPENSSL[signature_algorithm] || raise("Unsupported signature algorithm #{algorithm}")
|
50
65
|
end
|
51
66
|
end
|
52
67
|
end
|
data/lib/tpm/key_attestation.rb
CHANGED
@@ -1,22 +1,54 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "openssl"
|
3
4
|
require "tpm/key_attestation/version"
|
5
|
+
require "tpm/aik_certificate"
|
4
6
|
require "tpm/certify_validator"
|
7
|
+
require "tpm/constants"
|
5
8
|
|
6
9
|
module TPM
|
7
10
|
class KeyAttestation
|
11
|
+
# https://docs.microsoft.com/en-us/windows-server/security/guarded-fabric-shielded-vm/guarded-fabric-install-trusted-tpm-root-certificates
|
12
|
+
ROOT_CERTIFICATES =
|
13
|
+
begin
|
14
|
+
pattern = File.expand_path(File.join(__dir__, "certificates", "*", "RootCA", "*.*"))
|
15
|
+
Dir.glob(pattern).map do |filename|
|
16
|
+
File.open(filename) { |file| OpenSSL::X509::Certificate.new(file) }
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
8
20
|
class Error < StandardError; end
|
9
21
|
|
10
|
-
attr_reader
|
22
|
+
attr_reader(
|
23
|
+
:certify_info,
|
24
|
+
:signature,
|
25
|
+
:certified_key,
|
26
|
+
:certificates,
|
27
|
+
:signature_algorithm,
|
28
|
+
:hash_algorithm,
|
29
|
+
:qualifying_data,
|
30
|
+
:root_certificates
|
31
|
+
)
|
11
32
|
|
12
|
-
def initialize(
|
33
|
+
def initialize(
|
34
|
+
certify_info,
|
35
|
+
signature,
|
36
|
+
certified_key,
|
37
|
+
certificates,
|
38
|
+
qualifying_data,
|
39
|
+
signature_algorithm: ALG_RSASSA,
|
40
|
+
hash_algorithm: ALG_SHA256,
|
41
|
+
root_certificates: ROOT_CERTIFICATES
|
42
|
+
)
|
13
43
|
@certify_info = certify_info
|
14
44
|
@signature = signature
|
15
45
|
|
16
|
-
@
|
17
|
-
@
|
18
|
-
@
|
46
|
+
@certified_key = certified_key
|
47
|
+
@certificates = certificates
|
48
|
+
@signature_algorithm = signature_algorithm
|
49
|
+
@hash_algorithm = hash_algorithm
|
19
50
|
@qualifying_data = qualifying_data
|
51
|
+
@root_certificates = root_certificates
|
20
52
|
end
|
21
53
|
|
22
54
|
def key
|
@@ -26,7 +58,9 @@ module TPM
|
|
26
58
|
end
|
27
59
|
|
28
60
|
def valid?
|
29
|
-
certify_validator.valid?(
|
61
|
+
certify_validator.valid?(aik_certificate.public_key) &&
|
62
|
+
aik_certificate.conformant? &&
|
63
|
+
trustworthy?
|
30
64
|
end
|
31
65
|
|
32
66
|
private
|
@@ -37,13 +71,31 @@ module TPM
|
|
37
71
|
certify_info,
|
38
72
|
signature,
|
39
73
|
qualifying_data,
|
40
|
-
|
41
|
-
|
74
|
+
certified_key,
|
75
|
+
signature_algorithm: signature_algorithm,
|
76
|
+
hash_algorithm: hash_algorithm
|
42
77
|
)
|
43
78
|
end
|
44
79
|
|
80
|
+
def trustworthy?
|
81
|
+
x509_certificates = certificates.map { |c| OpenSSL::X509::Certificate.new(c) }
|
82
|
+
|
83
|
+
trust_store.verify(x509_certificates[0], x509_certificates[1..-1])
|
84
|
+
end
|
85
|
+
|
86
|
+
def trust_store
|
87
|
+
@trust_store ||=
|
88
|
+
OpenSSL::X509::Store.new.tap do |trust_store|
|
89
|
+
root_certificates.uniq(&:serial).each { |root_certificate| trust_store.add_cert(root_certificate) }
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
def aik_certificate
|
94
|
+
@aik_certificate ||= TPM::AIKCertificate.from_der(certificates.first)
|
95
|
+
end
|
96
|
+
|
45
97
|
def public_area
|
46
|
-
@public_area ||= TPM::PublicArea.new(
|
98
|
+
@public_area ||= TPM::PublicArea.new(certified_key)
|
47
99
|
end
|
48
100
|
end
|
49
101
|
end
|
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
require "bindata"
|
4
4
|
require "tpm/sized_buffer"
|
5
|
+
require "tpm/tpm2b_name"
|
5
6
|
|
6
7
|
module TPM
|
7
8
|
class SAttest < BinData::Record
|
8
9
|
# Section 10.12.3 in https://trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-2-Structures-01.38.pdf
|
9
10
|
class SCertifyInfo < BinData::Record
|
10
|
-
|
11
|
+
tpm2b_name :name
|
11
12
|
sized_buffer :qualified_name
|
12
13
|
end
|
13
14
|
end
|
data/lib/tpm/t_public.rb
CHANGED
@@ -11,6 +11,7 @@ module TPM
|
|
11
11
|
class TPublic < BinData::Record
|
12
12
|
BYTE_LENGTH = 8
|
13
13
|
CURVE_TPM_TO_OPENSSL = { TPM::ECC_NIST_P256 => "prime256v1" }.freeze
|
14
|
+
RSA_KEY_DEFAULT_PUBLIC_EXPONENT = 2**16 + 1
|
14
15
|
|
15
16
|
class << self
|
16
17
|
alias_method :deserialize, :read
|
@@ -37,7 +38,7 @@ module TPM
|
|
37
38
|
end
|
38
39
|
|
39
40
|
def key
|
40
|
-
if parameters.symmetric ==
|
41
|
+
if parameters.symmetric == TPM::ALG_NULL
|
41
42
|
case alg_type
|
42
43
|
when TPM::ALG_ECC
|
43
44
|
ecc_key
|
@@ -74,7 +75,7 @@ module TPM
|
|
74
75
|
|
75
76
|
if parameters.key_bits / BYTE_LENGTH == n.size
|
76
77
|
key = OpenSSL::PKey::RSA.new(parameters.key_bits.value)
|
77
|
-
key.set_key(bn(n),
|
78
|
+
key.set_key(bn(n), bn(RSA_KEY_DEFAULT_PUBLIC_EXPONENT), nil)
|
78
79
|
|
79
80
|
key.public_key
|
80
81
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "bindata"
|
4
|
+
require "tpm/public_area"
|
5
|
+
require "tpm/tpmt_ha"
|
6
|
+
|
7
|
+
module TPM
|
8
|
+
class Tpm2bName < BinData::Record
|
9
|
+
endian :big
|
10
|
+
|
11
|
+
uint16 :name_size, value: lambda { name.to_binary_s.size }
|
12
|
+
tpmt_ha :name, read_length: :name_size
|
13
|
+
|
14
|
+
def valid_for?(object)
|
15
|
+
name.to_binary_s == TPM::PublicArea.new(object).name
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/tpm/tpmt_ha.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "bindata"
|
4
|
+
|
5
|
+
module TPM
|
6
|
+
class TpmtHa < BinData::Record
|
7
|
+
BYTE_LENGTH = 8
|
8
|
+
DIGEST_LENGTH_SHA1 = 160
|
9
|
+
DIGEST_LENGTH_SHA256 = 256
|
10
|
+
|
11
|
+
endian :big
|
12
|
+
|
13
|
+
uint16 :hash_alg
|
14
|
+
|
15
|
+
choice :digest, selection: :hash_alg do
|
16
|
+
string TPM::ALG_SHA1, length: DIGEST_LENGTH_SHA1 / BYTE_LENGTH
|
17
|
+
string TPM::ALG_SHA256, length: DIGEST_LENGTH_SHA256 / BYTE_LENGTH
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/tpm-key_attestation.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "TPM Key Attestation verifier"
|
12
12
|
spec.homepage = "https://github.com/cedarcode/tpm-key_attestation"
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
14
14
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
16
16
|
spec.metadata["source_code_uri"] = spec.homepage
|
@@ -26,4 +26,5 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_dependency "bindata", "~> 2.4"
|
29
|
+
spec.add_dependency "openssl-signature_algorithm", "~> 0.4.0"
|
29
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tpm-key_attestation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gonzalo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: openssl-signature_algorithm
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.4.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.4.0
|
27
41
|
description:
|
28
42
|
email:
|
29
43
|
executables: []
|
@@ -46,11 +60,42 @@ files:
|
|
46
60
|
- bin/setup
|
47
61
|
- gemfiles/openssl_2_0.gemfile
|
48
62
|
- gemfiles/openssl_2_1.gemfile
|
63
|
+
- gemfiles/openssl_2_2.gemfile
|
49
64
|
- gemfiles/openssl_default.gemfile
|
50
65
|
- gemfiles/openssl_head.gemfile
|
66
|
+
- install-openssl.sh
|
67
|
+
- install-ruby.sh
|
68
|
+
- lib/tpm/aik_certificate.rb
|
69
|
+
- lib/tpm/certificates/AMD/RootCA/AMD-fTPM-ECC-RootCA.crt
|
70
|
+
- lib/tpm/certificates/AMD/RootCA/AMD-fTPM-RSA-RootCA.crt
|
71
|
+
- lib/tpm/certificates/Atmel/RootCA/Atmel TPM Root Signing Module.der
|
72
|
+
- lib/tpm/certificates/Infineon/RootCA/IFX TPM EK Root CA.cer
|
73
|
+
- lib/tpm/certificates/Infineon/RootCA/IFX-RootCA.cer
|
74
|
+
- lib/tpm/certificates/Infineon/RootCA/IFX_TPM_RootCert_008.crt
|
75
|
+
- lib/tpm/certificates/Infineon/RootCA/Infineon OPTIGA(TM) ECC Root CA.crt
|
76
|
+
- lib/tpm/certificates/Infineon/RootCA/Infineon OPTIGA(TM) RSA Root CA.crt
|
77
|
+
- lib/tpm/certificates/Intel/RootCA/EKRootPublicKey.cer
|
78
|
+
- lib/tpm/certificates/Microsoft/RootCA/Microsoft TPM Root Certificate Authority 2014.cer
|
79
|
+
- lib/tpm/certificates/NationZ/RootCA/EkRootCA.crt
|
80
|
+
- lib/tpm/certificates/Nuvoton/RootCA/NTC TPM EK Root CA 01.cer
|
81
|
+
- lib/tpm/certificates/Nuvoton/RootCA/NTC TPM EK Root CA 02.cer
|
82
|
+
- lib/tpm/certificates/Nuvoton/RootCA/NTC TPM EK Root CA ARSUF 01.cer
|
83
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1013.cer
|
84
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1014.cer
|
85
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1110.cer
|
86
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 1111.cer
|
87
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2010.cer
|
88
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2011.cer
|
89
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2110.cer
|
90
|
+
- lib/tpm/certificates/Nuvoton/RootCA/Nuvoton TPM Root CA 2111.cer
|
91
|
+
- lib/tpm/certificates/QC/RootCA/Microsoft TPM Root Certificate Authority 2014.cer
|
92
|
+
- lib/tpm/certificates/STMicro/RootCA/GlobalSign Trusted Computing CA.crt
|
93
|
+
- lib/tpm/certificates/STMicro/RootCA/GlobalSign Trusted Platform Module ECC Root
|
94
|
+
CA.crt
|
95
|
+
- lib/tpm/certificates/STMicro/RootCA/ST TPM Root Certificate.crt
|
96
|
+
- lib/tpm/certificates/STMicro/RootCA/STM TPM ECC Root CA 01.crt
|
51
97
|
- lib/tpm/certify_validator.rb
|
52
98
|
- lib/tpm/constants.rb
|
53
|
-
- lib/tpm/ek_certificate.rb
|
54
99
|
- lib/tpm/key_attestation.rb
|
55
100
|
- lib/tpm/key_attestation/version.rb
|
56
101
|
- lib/tpm/public_area.rb
|
@@ -60,6 +105,8 @@ files:
|
|
60
105
|
- lib/tpm/t_public.rb
|
61
106
|
- lib/tpm/t_public/s_ecc_parms.rb
|
62
107
|
- lib/tpm/t_public/s_rsa_parms.rb
|
108
|
+
- lib/tpm/tpm2b_name.rb
|
109
|
+
- lib/tpm/tpmt_ha.rb
|
63
110
|
- tpm-key_attestation.gemspec
|
64
111
|
homepage: https://github.com/cedarcode/tpm-key_attestation
|
65
112
|
licenses:
|
@@ -76,14 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
123
|
requirements:
|
77
124
|
- - ">="
|
78
125
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.
|
126
|
+
version: 2.4.0
|
80
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
128
|
requirements:
|
82
129
|
- - ">="
|
83
130
|
- !ruby/object:Gem::Version
|
84
131
|
version: '0'
|
85
132
|
requirements: []
|
86
|
-
rubygems_version: 3.1.
|
133
|
+
rubygems_version: 3.1.3
|
87
134
|
signing_key:
|
88
135
|
specification_version: 4
|
89
136
|
summary: TPM Key Attestation verifier
|