What is Nostr?
Justine Smithies /
npub1l8z…f09z
2023-12-31 13:31:39
in reply to nevent1q…cjl8

Justine Smithies on Nostr: I'm wondering if you swap out /dev/urandom for /etc/zfs/zroot.key in /etc/crypttab ...

I'm wondering if you swap out /dev/urandom for /etc/zfs/zroot.key in /etc/crypttab like below.

cryptswap /dev/disk/by-partlabel/cryptswap /etc/zfs/zroot.key swap,offset=2048,cipher=aes-xts-plain64,size=512

Would create the encrypted swap and unlock it using the same key as #ZFS ??

Any other ZFS users on #Linux know the answer ?

Reference is taken from npub1lqkhkq8nyqm786e60azv5rzagza8sh40vasqdcs3c99yqr03yvkqep43xq (npub1lqk…43xq) blog here:

https://www.dwarmstrong.org/encrypt-swap/
Author Public Key
npub1l8zdat2rs9mmuugpada4zp7mf69a7dgcgrwlcuhelzgdez2fxzdskwf09z