I've created an encrypted backup in 2004, using losetup -e
. I still know the passphrase, so I should be fine, but losetup is gone in the linux distributions I use.
I still have a bash script for decryption, basically it reads
SEED="JMnvk8bp2y3P"
losetup -e aes128 -S "$SEED" -H sha256 "$LOOP" "$DATA"
mount -t ext2 "$LOOP" "$MOUNTPOINT"
While cryptsetup
is supposedly backwards-compatible, it doesn't support a cryptographic seed (losetup's -S
).
Probably using an old bootable-CD linux distribution would help, but how do I find one that supports losetup -e
? I can't download some five GB just to find out.
-S
in their man page or in their--help
output.zgrep -l -e -e /BIG/chroot/*/usr/{share/,}man/man8/losetup.8.gz
lists them all, butzgrep -l -e -S /BIG/chroot/*/usr/{share/,}man/man8/losetup.8.gz
finds nothing. Nor doeszgrep seed /BIG/chroot/*/usr/{share/,}man/man8/losetup.8.gz