176 Commits

Author SHA1 Message Date
наб
4e41ae1f14
Add TZPFMS_PASSPHRASE_HELPER{,_MAN} make tunables 2021-11-20 13:12:01 +01:00
наб
f02bf1c094
Proof password.h round 2 2021-11-20 12:13:11 +01:00
наб
ea0a5bd52e
Proof passphrase.h. Fix helper for empty output, fortify against ENOMEM and mmap(2) error 2021-11-19 00:37:08 +01:00
наб
8df40d5506
Fix lib[std]c++ dependency by initialising helper path explicitly 2021-11-15 19:12:19 +01:00
наб
12189bc0d5
Change TPM2 creation metadata to 'UNIX.ns dataset version' from 'dataset RFC3339 version' ‒ there's only 64 bytes to play with 2021-11-15 19:04:40 +01:00
наб
9c8ee8d68c
Add $TZPFMS_PASSPHRASE_HELPER. Always include the TPM back-end and/or dataset name in password what-fors 2021-11-15 18:59:07 +01:00
наб
74ec450e16
Preprocess with pp.awk, fixing space columnation 2021-11-12 19:41:38 +01:00
наб
a0ca4c3a97
apt-get on CI 2021-11-10 18:40:30 +01:00
наб
d8d29927c7
Proof manuals 2021-11-10 18:34:47 +01:00
наб
c1ab9a5a1a
Fold print; return err; into return print, err; 2021-11-10 15:02:43 +01:00
наб
dc8bc7acb7
Use proper PRI* macros for foreign types 2021-11-10 14:48:07 +01:00
наб
d5107f9415
Clean up shell in tandem with https://github.com/openzfs/zfs/pull/12652 2021-10-21 23:57:47 +02:00
наб
01fa1b6031
No authors -> no gsfonts. Also what's a state 2021-10-15 23:37:30 +02:00
наб
9817d9d8ae
Remove authors list 2021-10-15 23:33:45 +02:00
наб
6ae9df1c95
Rewrite manual in mdoc 2021-10-15 23:16:04 +02:00
наб
5b0685ec94
src:zfs-linux 2.0.0-1~exp1 works 2021-01-06 15:40:54 +01:00
наб
3174a66e9e
Note the Debian package 2020-12-08 19:40:19 +01:00
наб
1a5f1f9498
Note initrd regens for TPM1.X 2020-12-08 18:14:35 +01:00
наб
7841412225
Take a stance on some TODOs v0.1.0 2020-12-08 17:48:33 +01:00
наб
af3e91c77d
Test and unfuck TPM1.X + dracut
Tested on a Toshiba R700
2020-12-07 20:30:35 +01:00
наб
f7748a1f23
uhoh! fuckie wuckie! nestie incwud :) 2020-12-07 01:55:45 +01:00
наб
5e9c7e5989
Don't error on no tags
I jumped the gun a bit :v
2020-12-06 22:54:33 +01:00
наб
ec666beb85
Add a preprocessor, replacing the placeholder for manpages, and run initrd scripts through it 2020-12-06 22:47:48 +01:00
наб
768b21c2e7
Fix change-key for TPM1.X. Test and unfuck i-t TPM1.X
Tested on Toshiba R700
2020-12-06 18:16:07 +01:00
наб
d35436b24a
Read in version from git tag 2020-12-06 18:15:35 +01:00
наб
49e22c820e
whoms't a plural 2020-12-05 01:24:38 +01:00
наб
c38ab49698
Build an upload artifacts on CI 2020-12-04 00:48:40 +01:00
наб
9e15493763
Fix clang build 2020-12-03 23:59:42 +01:00
наб
96f80c1b09
Install dracut. Add What? README sexion. Describe initrd installation in README 2020-12-03 20:13:28 +01:00
наб
21b928bcf3
Don't do SHA512, Griwes' TPM couldn't handle it 2020-12-03 12:12:21 +01:00
наб
eeb8035765
This sucks and I hate it 2020-12-03 01:08:32 +01:00
наб
bea91e2fb9
Unfuck dracut and i-t install scripts 2020-12-02 01:05:10 +01:00
наб
e2ccaa4f3b
Fix dracut+plymouth 2020-12-01 23:39:13 +01:00
наб
fc7a475106
It's a disaster, but non-plymouth dracut kinda works 2020-11-03 00:16:24 +01:00
наб
24f59ec47a
Handle plymouth in i-t 2020-11-02 18:07:13 +01:00
наб
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