| 11 Aug 2021 |
andi- | and the signing key is a (separate) output of the actual kernel build? | 14:25:30 |
Mic92 | Yes. It could be actually a build hook in the kernel. Every out-of-tree kernel module already has this as a depedency | 14:27:54 |
Mic92 | *dependency | 14:27:57 |
@grahamc:nixos.org | I'd love to see development in that area, it'd be a bit tricky to know you're supposed to have access to the signing key | 15:44:08 |
Mic92 | I just stumbled over this features for the first time when modifying some runc hypervisor. | 15:48:29 |
andi- | we could have a disallowedRequisites = [ kernel.signingKey ]; as very minimal "safety" against having the key world readable on the system (by accident). That is obviously not a silver bullet. Everyone that can build software against the systems nixpkgs checkout could generate properly signed modules and given that it would have to be deterministic you could probably just generate the key "offline" on another box.. | 15:52:46 |
andi- | What exactly are we gaining again? :D | 15:52:55 |
Mic92 | So would need an activation phase that signs all keys afterwards? | 16:10:35 |
| 13 Aug 2021 |
@grahamc:nixos.org | the work I'm doing around secureboot support is based on a more involved bootloader "install" step which could support signing modules | 19:47:39 |
| 18 Aug 2021 |
Mic92 | https://github.com/NixOS/nixpkgs/pull/134577 | 05:30:59 |
@grahamc:nixos.org | tpm2_unseal -c ${dev.tpm2KeyFile.persistentObject} -p ${dev.tpm2KeyFile.authString} > /crypt-ramfs/tpm/unsealed
| 14:47:23 |
@grahamc:nixos.org | I'm thinking this should be starting an auth session (I think that is the right term) and using the session key for subsequent calls so that the channel with the TPM is all encrypted | 14:48:23 |
@grahamc:nixos.org | is tpm2_startauthsession the command which does that? | 14:48:52 |
| Roos joined the room. | 18:47:17 |
| 29 Aug 2021 |
| vika (she/her) 🏳️⚧️ joined the room. | 09:45:57 |
| 31 Aug 2021 |
| Florian | W3F changed their display name from Florian | W3F to Florian | W3F - OoO. | 08:11:03 |
| 2 Sep 2021 |
| tnias joined the room. | 21:50:46 |
| 4 Sep 2021 |
| [0x4A6F] joined the room. | 09:55:44 |
| 9 Sep 2021 |
| sugi joined the room. | 22:35:18 |
| 13 Sep 2021 |
| Florian | W3F changed their display name from Florian | W3F - OoO to Florian | W3F - OoO Mon/Tue. | 11:56:00 |
| 17 Sep 2021 |
| cleverca22 joined the room. | 06:04:06 |
| 18 Sep 2021 |
| Chuck Winter joined the room. | 20:51:53 |
| 20 Sep 2021 |
| Chuck Winter changed their display name from CornWallace to Rev. CornWallace III. | 06:45:31 |
| Chuck Winter changed their display name from Rev. CornWallace III to Rev. CornWallace III (tzu/tzi). | 15:22:30 |
| Chuck Winter changed their display name from Rev. CornWallace III (tzu/tzi) to Rev. CornWallace III (sun/tzu). | 15:24:51 |
| 21 Sep 2021 |
| CRTified joined the room. | 13:20:49 |
| 23 Sep 2021 |
Mic92 | I always enjoy lennart's articles: http://0pointer.net/blog/authenticated-boot-and-disk-encryption-on-linux.html | 15:43:40 |
colemickens 🏳️🌈 | read that, came here to see what folks are doing in this space w/ nixos | 22:16:31 |
colemickens 🏳️🌈 | curious how much you're redo-ing the bootloader install process graham, I've been increasingly intererested in seeing cross-arch NixOS installs be easier. It seems like if they were written correctly, there could be a platform agnostic install script that would be runnable from any "build" platform. | 22:17:53 |
colemickens 🏳️🌈 | * curious how much you're redo-ing the bootloader install process Graham -- I've been increasingly interested in seeing cross-arch NixOS installs be easier. It seems like if they were written correctly, there could be a platform agnostic install script that would be runnable from any "build" platform. | 22:18:08 |