google / google/go-tpm-tools

miscellaneous SVSM support fixes

Open
#604 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
309
Forks
118
Avg merge
1d 16h
Merged PRs (30d)
33

Description

#600 introduces usage of direct tpm2 interface. This includes the addition of makeAK(), ekPub(), and ekPolicy(). These are duplicate to the structures defined in template.go and keys.go. When we transition go-tpm-tools to use direct tpm2 interfaces, we should make sure to remove these extraneous helpers in client/import_certify.go

Contributor guide

Open the contributing guide

Research direction

Start with #600, then compare the duplicate makeAK(), ekPub(), and ekPolicy() helpers in client/import_certify.go with their definitions in template.go and keys.go. Confirm the direct tpm2 transition context and remove only the extraneous helpers; done means the duplicate definitions are gone without losing the existing functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.