Comments (5)
Thats not possible at the moment. TrustedGRUB2 can only use sealed LUKS keyfiles when using the cryptomount
command.
So if i understand you correctly you wan't to read out a TPM key and pass this to LUKS to decrypt the volume?
from trustedgrub2.
Correct. I want to be able to read out a TPM key, pass it to maybe the cryptomount command, which unlocks the LUKS-encrypted volume for me.
from trustedgrub2.
Do you know how feasible/easy it would be to add that functionality? I am willing to do the work and send a pull request if I could get some pointers.
from trustedgrub2.
To answer this question i need more information how tpm-luks works. Which key is used to encrypt the data? As far as i know it is not possible to read out TPM keys in the clear. You can only send a encrypted data blob to the TPM to either unseal or unbind the data. In the latter case the data is only bind to the TPM and not additionally to the plattform configuration.
So i assume tpm-luks generates a key and encrypts this key with a TPM key. But you have to look up this.
from trustedgrub2.
Well, tpm-luks
is able to get the keys from the TPM NVRAM. It uses nv_readvalue
to read the NVRAM at some given offset. I was able to achieve that using tpm-luks already and thanks for the help.
I do have a question about what values to pre-compute when I update the initrd and linux and I would appreciate any help with that. I will ask that in a different question.
from trustedgrub2.
Related Issues (20)
- Problem with two raid HOT 2
- TCG_PassThroughFail: 0xc0000 while unsealing the key HOT 2
- Error build TrustedGrub2 HOT 3
- make: "/usr/bin/ld: -r and -pie may not be used together" HOT 1
- TPM2.0 Support? HOT 1
- cryptomount: unknown argument '-k' ; What am I missing? HOT 1
- How to
- Backporting old options HOT 2
- Tag release 1.5.0? HOT 1
- grub> prompt? HOT 1
- Can't compile TrustedGRUB2 with GCC 8 HOT 1
- Hi, HOT 1
- Should I change to ./configure --prefix=INSTALLDIR --target=x86_64 -with-platform=pc HOT 1
- show "TrustedGRUB2 TPM Error" when boot HOT 1
- Minimal BASH-like at boot, then what HOT 1
- Grub 2.04 HOT 1
- Grub Menu Edits still booting HOT 2
- make failed with error: recipe for target 'moddep.lst' failed
- Dev question about UEFI implmentation HOT 1
- TrustedGrub2 stuck on boot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trustedgrub2.