!agkXCfUrgbadYlQXRj:kack.it

NixOS + TPMs

183 Members
52 Servers

Load older messages


SenderMessageTime
16 Jul 2021
@andi:kack.itandi- changed the history visibility to "world_readable" from "shared".12:07:40
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.12:09:23
@grahamc:nixos.org@grahamc:nixos.org^ recording material I looked at12:09:26
@manveru:matrix.orgmanveru joined the room.12:09:46
@andi:kack.itandi-I've found this https://kernsec.org/wiki/index.php/Linux_Kernel_Integrity12:09:54
@andi:kack.itandi-had a bunch of (somewhat dated) links12:10:00
@grahamc:nixos.org@grahamc:nixos.orgI'm still waiting for someone to confirm what I believe to be a fundamentally true security property https://developers.tpm.dev/posts/1557577412:11:22
@grahamc:nixos.org@grahamc:nixos.orgjust as many bots as people in here12:11:35
@andi:kack.itandi-I am still a bit confused by the requirement of different secrets to decrypt one secret. This is probably because TPMs support different trust roots(?) and each of the root has to match the secrets you want to decrypt?12:12:51
@grahamc:nixos.org@grahamc:nixos.orgyeah12:13:00
@andi:kack.itandi-So, why that take ownership stuff then?12:13:12
@grahamc:nixos.org@grahamc:nixos.orgyou can create a hierarchy of keys which reveal different amounts of data12:13:20
@andi:kack.itandi-Shouldn't I rather specify the root somehow?12:13:21
@grahamc:nixos.org@grahamc:nixos.orgah12:13:35
@andi:kack.itandi-and the root is also the part that takes the two passwords?12:13:37
@grahamc:nixos.org@grahamc:nixos.orgah, no12:13:43
@grahamc:nixos.org@grahamc:nixos.orgheh12:13:45
@grahamc:nixos.org@grahamc:nixos.org

takeownership does 2 thinsg afaik:

  1. resets the seed which is used for all the root key calculations
  2. sets a password used to reset counters
12:14:06
@grahamc:nixos.org@grahamc:nixos.orgso you can set a policy saying increment a counter on decrypt attempt, and refuse if it goes about 10, then you need the ownership password to reset it12:14:51
@andi:kack.itandi-Ok, so that part is then stored in the NV RAM of the TPM?12:15:35
@grahamc:nixos.org@grahamc:nixos.orgyeah12:15:43
@grahamc:nixos.org@grahamc:nixos.orgyou don't need any special credential to use the roots12:15:55
@grahamc:nixos.org@grahamc:nixos.org
I am still a bit confused by the requirement of different secrets to decrypt one secret.
12:16:49
@andi:kack.itandi-Does the internal seed change the PCR values? I guess it shouldn't...12:16:54
@grahamc:nixos.org@grahamc:nixos.orgI think this is because you're maybe not ever going to decrypt it12:16:56
@grahamc:nixos.org@grahamc:nixos.orgbut maybe you're just using it for attestation 12:17:07
@grahamc:nixos.org@grahamc:nixos.orgI don't think the seed has anything to do with the PCR, yeah12:18:16
@grahamc:nixos.org@grahamc:nixos.orgRedacted or Malformed Event12:19:07
@grahamc:nixos.org@grahamc:nixos.orgah here we are12:20:30
@grahamc:nixos.org@grahamc:nixos.orgyou can get what the TPM calls a "quote" which is the PCRs signed by the TPM, in a way you can trust itis actually the PCRs and not falsified 12:21:03

Show newer messages


Back to Room ListRoom Version: 6