Skip to content

Commit b54a1cd

Browse files
committed
Added proposed changes
Signed-off-by: Eugen Matery <[email protected]>
1 parent 7166070 commit b54a1cd

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

1552_ek_certificate_chain.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ access to the chain.
7070

7171
## Proposal
7272

73-
* keylime_agent, send `ek_ca_chain` to registrar
74-
* keylime registrar, store `ek_ca_chain` in database
75-
* keylime tenant, verify `ekcert` against `ek_ca_chain` and `ek_ca_chain` against `tpm_cert_store`
73+
* keylime_agent, add `ek_ca_chain` to `ekcert` field and send to registrar. Update `ekcert` field to use PEM format, so multiple certificates can be stored in the field and a marker exists that shows the start and end of each certificate.
74+
* keylime registrar, store `ekcert` in database, as it is already done.
75+
* keylime tenant, verify chain in `ekcert`. Use "top" certificate from chain to verifiy against `tpm_cert_store`. In case of a single certificate the check of the chain is immediately finished as there is no certificate "above" and the `ekcert` is the "top" certificate that will be verified against the `tpm_cert_store`.
7676

7777

7878
### User Stories
@@ -86,19 +86,11 @@ in the TPM.
8686
### Risks and Mitigations
8787

8888
#### Registrar/Tenant could be become incompatible with older database
89-
* Update database to new scheme, only a single key is added to the registar db 'ek_ca_chain'
90-
91-
#### Registrar/Tenant could become incompatible with older Agent
92-
* Make 'ek_ca_chain' optional
89+
* Update existing database values for `ekcert` to PEM format.
9390

9491
#### Additional memory will be required to store the chain in the database.
9592
* If the feature can't be used, due to missing certificates in the TPM, the memory footprint will stay around the same.
9693

97-
#### Providing big chains as attack
98-
* Limit the amount of allowed chain size
99-
* Use mTLS to only allow verified clients access
100-
101-
10294
## Design Details
10395
First some words from TCG EK documentations:
10496

0 commit comments

Comments
 (0)