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

GPG should be bundled with x230-flash and x220-flash #402

Closed
tlaurion opened this issue May 6, 2018 · 7 comments
Closed

GPG should be bundled with x230-flash and x220-flash #402

tlaurion opened this issue May 6, 2018 · 7 comments

Comments

@tlaurion
Copy link
Collaborator

tlaurion commented May 6, 2018

This way, a new user could generate his keys directly from within heads to external storage and integrate them in the reproducible rom to be flashed, without the need of a second computer or an installed OS.

@tlaurion
Copy link
Collaborator Author

tlaurion commented May 6, 2018

Building to see if there is enough place for it in the 4mb image.

@osresearch
Copy link
Collaborator

What's the value in having it in the flasher image, versus the full image? Once the user has flashed the system with the full image, they need to reboot to take ownership of the TPM, install their gpg keys, seal the disk keys, etc.

@tlaurion
Copy link
Collaborator Author

tlaurion commented May 7, 2018 via email

@merge
Copy link
Contributor

merge commented May 25, 2018

I for one would question the x230-flash config in general, and the 4m/8m split. It suggests flashing the 8m image which is not usable.

I'd document flashing any 4m-coreboot-distribution-image and (or only) unlock the IFD on the 8m chip, and moving to a full Heads from there, something like this.

Anyways, please never depend on having x230-flash actually flashed!

@flammit
Copy link
Collaborator

flammit commented May 25, 2018

@merge agreed that having the 8MB chunk from the full 12MB x230 image is a bit misleading and should probably be removed. x230-flash isn't required, just usually the fastest if you're externally flashing the first time.

I often use the 4M x230-flash image to recover bricked systems. It is also the easiest way to configure the Heads runtime would be within the runtime (since then you won't need a compiled cbfstool).

The skulls install docs are quite good, so if you have suggestions for the Heads docs please PR to the heads-wiki =)

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jun 7, 2018

See #404

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jun 7, 2018

I agree that the x230 board target should only generate coreboot.rom (why not x230.rom btw?), and no 4mb and 8mb files. (I still don't quite understand their existence presence.)

That 12mb is to be flashed from within heads, preferably with user keys bundled in.

Didn't try to fit whiptail (not FB) in x230-flash.rom and replace the board init script with gui-flash.sh, but if that fits, the UX would be nearly flawless IMHO. The user could then take x230.rom, generate his keys and add them into the rom in one, easy step.

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

No branches or pull requests

4 participants