41 Commits

Author SHA1 Message Date
наб
da2d469cd2
Add i-t impl 2020-11-01 04:17:50 +01:00
наб
415c83ab0e
Add key -u[nloaded]/-l[oaded] to zfs-tpm-list 2020-10-31 18:36:14 +01:00
наб
321c2cd160
Add zfs-tpm-list manpage 2020-10-31 11:14:25 +01:00
наб
4a561d6e13
Extract display literals 2020-10-31 03:59:17 +01:00
наб
18df30d93b
ILP32 strikes again 2020-10-31 03:47:38 +01:00
наб
75748d388f
zfs-tpm-list also takes -b to restrict to a specific back-end 2020-10-31 03:41:04 +01:00
наб
4da1dbf845
Add zfs-tpm-list 2020-10-31 03:30:16 +01:00
наб
b5cd91073e
Link to both TPM2 and TPM1.X change-key manpages in README 2020-10-27 20:54:49 +01:00
наб
febf3be94d
Only allow at least 8-character new passwords 2020-10-27 20:46:28 +01:00
наб
15a2917902
Read in password for TPM2 if 'tpm2_changeauth -c owner' is in play 2020-10-27 20:36:59 +01:00
наб
201fdf2c0a
Allow for setting passphrases on TPM2 keys. Handle max passphrase lengths 2020-10-27 20:03:28 +01:00
наб
a558ca5b48
Allow to change TCS hostname 2020-10-27 15:40:10 +01:00
наб
f8bb6174c3
Add manpages for zfs-tpm1x-* 2020-10-25 13:06:15 +01:00
наб
8653f24924
Extract zfs-tpm*-clear-key to very common wrapper 2020-10-25 02:51:39 +02:00
наб
675a0c40b7
Prompt for passphrase (or empty for none) in TPM1.X 2020-10-25 02:04:16 +02:00
наб
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