Skip to content

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

@hoxnox

Description

@hoxnox

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(...))?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions