google / google/go-attestation

How to make attestation key persistent and get application key pem for pkcs11?

Open
#414 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
444
Forks
109
PR merge metrics
No merged PRs in 30d

Description

I need to add generated attestation key/application key into tpm2-pkcs11. It supports tss2 pem format like this:

```
-----BEGIN TSS2 PRIVATE KEY-----
...
-----END TSS2 PRIVATE KEY-----
```

Also AK should be in persistent handle.
How could I add attestation key (generated with tpm.NewAK(...)) into persistent handle and get TSS2 pem from attested application key (generated with tpm.NewKey(...))?

Contributor guide

Open the contributing guide

Research direction

Start with the tpm.NewAK(...) and tpm.NewKey(...) entry points, then compare their outputs with the tpm2-pkcs11 requirements for a persistent attestation-key handle and TSS2 PEM application-key data. Done means documenting a supported procedure, or clearly identifying the missing functionality, for both operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.