Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SealKeyToTPM should take an array rather than a slice for the key #45

Open
chrisccoulson opened this issue Apr 13, 2020 · 1 comment
Open

Comments

@chrisccoulson
Copy link
Collaborator

The key is supplied to SealKeyToTPM via a byte slice. The first thing that SealKeyToTPM does is check that the supplied key is the correct length (32 bytes), but it would probably be better if the key was supplied as a 32byte array instead ([32]byte).

@cmatsuoka
Copy link
Member

The same thing happens in InitializeLUKS2Container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants