176 Commits

Author SHA1 Message Date
наб
cc4716c569
Add zfs-tpm1x-clear-key. Move clear_key_props() warning to zfs.cpp 2020-10-24 03:48:32 +02:00
наб
6423713487
Extract TPM 1.x code so it's less bad and more not horseshit 2020-10-24 03:33:18 +02:00
наб
6df053a1b5
it fucking works 2020-10-23 01:50:42 +02:00
наб
92f6927a08
Migrate some meaty zfs funxions out 2020-10-23 01:05:55 +02:00
наб
1d032923c0
I think this kinda works on 1.x TPMs 2020-10-23 00:41:38 +02:00
наб
1cc8ddaa63
I managed to get fucking tcsd to use swtpm 2020-10-19 00:35:16 +02:00
наб
65c2384582
Remove unneeded slice_iter 2020-10-18 17:39:36 +02:00
наб
55fe88aabf
Add TPM2 testing instruxions 2020-10-18 17:36:28 +02:00
наб
e4842fe8a9
That's what I get for posting at 4am 2020-10-18 16:44:37 +02:00
наб
fb3eb012b6
Handle -h and -V 2020-10-18 04:00:41 +02:00
наб
2860520271
Deploy manpages 2020-10-18 03:42:29 +02:00
наб
a007176d65
Finalise zfs-tpm2-clear-key. Add manpages 2020-10-18 03:22:56 +02:00
наб
0cf16ed2a2
Add zfs-tpm-clear-key 2020-10-17 23:36:53 +02:00
наб
fd3de56b6c
Rename binaries to final names 2020-10-17 23:16:45 +02:00
наб
84c1385485
Unlocking works, too! Let's, as they say, go. 2020-10-17 23:14:08 +02:00
наб
f1ce88d4b7
Split out TPM2 ops, handle errors better, all that jazz 2020-10-17 21:32:03 +02:00
наб
75b1de4372
Verify as-neededness with readelf on CI 2020-10-17 17:28:08 +02:00
наб
d0cef4c7f6
Pass --as-needed to ld instead of doing ldd/patchelf crimes 2020-10-17 17:24:22 +02:00
наб
0b634d9f2d
Find first unused persistent handle 2020-10-17 04:40:06 +02:00
наб
dc7fda1ed1
No longer absolute dogshit! 2020-10-16 12:54:37 +02:00
наб
c29890248b
This only builds on clang because gcc is big stupid baby and WG21 more so still, but it fucking seals something, and that's all that matters 2020-10-15 23:18:40 +02:00
наб
379f309de7
Note the patchelf dep 2020-10-15 12:24:52 +02:00
наб
e8d4c02eda
Store random key as dataset property 2020-10-15 12:21:17 +02:00
наб
bff67ccaa6
Explode out the implementation. Add bin/unlock. Trim extraneous NEEDEDs 2020-10-14 20:09:09 +02:00
наб
c6e322e2ba
Scaffolding 2020-10-14 15:59:40 +02:00
наб
dd97c41b08
Initial import of what I had on the week-end 2020-10-14 13:31:05 +02:00