Comments (9)
+1 I would like this option also.
While refactoring tpm-luks with a more user-centric approach, I utook the time to update to newest version 1.2.1, but it no more works on a virtual machine, because having a TPM is now mandatory.
The message I got is: No TPM found error, and nothing more at boot time.
I have no idea if it is better to have a compile options or a parameter somewhere in the grub.cfg or something else, even if I prefer configuration over compilation option, you choose :)
Anyway, great work! We're using 1.0.0 version in production, and we will move soon to 1.2.1 !!!
from trustedgrub2.
If you decide to use TrustedGRUB instead of GRUB, you do this because you want to use the TPM. If you do not have a TPM, use traditional GRUB.
The reason for removing the "no-TPM fallback mode" was, that it is insecure:
- block access to the TPM while GRUB tries to detect the TPM, e.g. by jamming the LPC bus
- let GRUB boot your malicious OS (or even your malicious second stage)
- unblock the TPM
- extend some PCRs so they match a trusted platform configuration
- Grats! You just upgraded your malicious OS to be a "trusted" OS. You may now unseal the key for the harddrive encryption and do anything else you like.
A security product should use secure defaults, so I would rather implement a compile flag which enables no-TPM mode. Anyway, as stated earlier, you would then probably prefer to choose common GRUB over TrustedGRUB.
from trustedgrub2.
Yeah you've convinced me. I think the other way round, i.e. compile flag which enables no-TPM mode, is the better way.
from trustedgrub2.
that's ok for me too, no problem, having a flag will do the trick for me too...
from trustedgrub2.
Is compiling TrustedGRUB2 to boot without TPM possible by now? (since this isn't closed yet)
from trustedgrub2.
no it's not implemented yet
from trustedgrub2.
Any progress? Thanks!
from trustedgrub2.
This little patch does the trick...
--- a/grub-core/boot/i386/pc/boot.S 2017-06-08 22:17:01.000000000 +0200
+++ b/grub-core/boot/i386/pc/boot.S 2018-02-23 10:19:21.518294525 +0100
@@ -397,10 +397,12 @@
error_tpm_deactivated:
MSG(deactivatedTPM_error_string)
- jmp LOCAL(general_error)
+ popa
+ jmp LOCAL(always_boot)
error_no_tpm:
MSG(noTPM_error_string)
- jmp LOCAL(general_error)
+ popa
+ jmp LOCAL(always_boot)
/*
* BIOS call "INT 1Ah, (AH)=BBh, (AL)=07h" TCG_CompactHashLogExtendEvent
@@ -450,6 +452,7 @@
#endif /* ENABLE_TGRUB2 */
/* END TCG Extension */
+LOCAL(always_boot):
/* boot kernel */
jmp *(kernel_address)
from trustedgrub2.
Unfortunately, this project is deprecated and no longer maintained. I will be closing this issue.
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.