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

Couldn't write sealed secret to NVRAM - Unable to define space: 2 #10

Open
xmikos opened this issue Aug 25, 2016 · 0 comments
Open

Couldn't write sealed secret to NVRAM - Unable to define space: 2 #10

xmikos opened this issue Aug 25, 2016 · 0 comments

Comments

@xmikos
Copy link

xmikos commented Aug 25, 2016

Hello,

sealtotp -n always fails on Tspi_NV_DefineSpace with Unable to define space: 2 error. This is on Lenovo ThinkPad 13 (with tpm_tis driver). TPM works otherwise without problems with trousers and tpm-tools.

I have tried to run similar operation with tpm-tools:

$ tpm_nvdefine -i 0x10004d47 -s 322 -p 'OWNERREAD|OWNERWRITE' -y
Tspi_NV_DefineSpace failed: 0x00000002 - layer=tpm, code=0002 (2), Bad memory index

But when I use another lower NVRAM address (like 1 or 2), it works without problems:

$ tpm_nvdefine -i 2 -s 322 -p 'OWNERREAD|OWNERWRITE' -y
Successfully created NVRAM area at index 0x2 (2).

So I think that problem is with too high NVRAM address. Please can you fix it?

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

1 participant