NixOS + TPMs | 190 Members | |
| 50 Servers |
| Sender | Message | Time |
|---|---|---|
| 18 Jul 2021 | ||
for index 0x1000000 you'll need to present the lolol password to read or write it:
| 00:42:14 | |
| I don't know how you're supposed to remember the index | 00:43:45 | |
In reply to @grahamc:nixos.orgWell there might be still a need in microcontrollers. | 03:15:37 | |
In reply to @grahamc:nixos.orgBut that is much better than expecting the applications to synchronize. If you look at that bash script from yesterday: They probably stuff it in their JSON blob? | 07:56:01 | |
| https://github.com/NixOS/nixpkgs/pull/130568 if anyone wants to review | 17:00:57 | |
| manveru: have you been using this on unstable with pkcs11 with e.g. OpenSSH? I've had to patch your tpm2-tss derivation to use pkcs11 | 17:02:29 | |
| Not yet, I'm just getting started trying to use tpm :) | 17:03:36 | |
| Pretty sure there's no tpm drv from me... | 17:04:02 | |
| andi-: okay so you CAN specify an index when defining the region, but there are defined allocations https://trustedcomputinggroup.org/wp-content/uploads/RegistryOfReservedTPM2HandlesAndLocalities_v1p1_pub.pdf | 20:02:33 | |
sigh | 20:19:05 | |
| That is normal :d | 20:19:18 | |
| I also get those and can still authenticate my SSH session | 20:19:30 | |
| But yeah it is not optimal.. | 20:19:44 | |
| I hope I'll have some time to read the TPM2.0 spec next week. Been not doing much since Thursday and the weekend was occupied otherwise | 20:20:31 | |
| understandable | 20:21:00 | |
I wonder why getplatformcertificates is suddenly part of tss and not the tpm2 command | 20:21:23 | |
| the developers of tss needed it before they started the tpm2 tool? | 20:22:09 | |
| hm | 20:22:21 | |
| 19 Jul 2021 | ||
| does anyonne know if there's some way to turn tpm emulation on for a nixos test? | 06:23:46 | |
| The current VM infrastructure doesnt allow that. You have to run an additional daemon | 07:13:39 | |
| Could you run two VMs for that? | 11:48:55 | |
| No, you have to pass a socket to one of the daemons to QEMUs CLI. Forking off the software TPM before starting QEMU is probably good enough in a sandboxed test. For interactive testing you want more process control. | 11:49:44 | |
| There is some bridging possible with vsockets, but I guess it would get hacky | 11:50:04 | |
| Maybe socat? | 11:50:10 | |
| Yeah, probably but not very elegant. Would be nicer to teach our test driver to take care of "sidecars" | 11:50:31 | |
| vsocket also need root with qemu I just remeber | 11:51:07 | |
| *remember | 11:51:12 | |
| It would be also nice for virtiofsd to have qemu side cars | 11:51:38 | |
| yeah but that also requires root access IIRC | 11:51:58 | |
| Why because virtiofsd needs to change uids? | 11:53:58 | |