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

sealfile2 will not seal a file larger than 128 bytes #45

Closed
osresearch opened this issue Oct 26, 2016 · 3 comments
Closed

sealfile2 will not seal a file larger than 128 bytes #45

osresearch opened this issue Oct 26, 2016 · 3 comments
Labels

Comments

@osresearch
Copy link
Collaborator

Spec says 256 bytes should be sealable.

@zaolin
Copy link
Contributor

zaolin commented Oct 27, 2016

@osresearch Makes sense the most tpm keys are only 2048bit and sealing is a RSA-OAEP operation only ... ;)

@zaolin
Copy link
Contributor

zaolin commented Oct 27, 2016

You won't find a tpm 1.2 with 4096bit keys. But maybe you can improve their implementation to make use of hybrid cryptography and pre-encrypt via symmetric algo

@osresearch
Copy link
Collaborator Author

I realized that I was off by a factor of 8 -- we only need to seal 256 bit symmetric keys, so 32 bytes is plenty.

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

No branches or pull requests

2 participants