Unattended generation/opening.
Diagon <[email protected]> Sat, 08 Aug 2020 19:05:02 -0700
| Newsgroups | gmane.linux.kernel.device-mapper.dm-crypt |
|---|---|
| Message-ID | <[email protected]> |
Could someone let me know what I'm doing wrong here? I'm trying to do this in a script, but it doesn't work on the command line, either:
$ echo "lukssecpwd" | sudo cryptsetup -c twofish-xts-plain64 -s 512 luksFormat /dev/loop5 -
$ echo "lukssecpwd" | sudo cryptsetup open /dev/loop5 crypt.secret
No key available with this passphrase.
$ sudo cryptsetup luksDump /dev/loop5
LUKS header information for /dev/loop5
Version: 1
Cipher name: twofish
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 512
MK digest: ed e5 83 79 0a ba 5f 85 96 4b 37 c9 50 d6 4b 52 0a ad c3 ca
MK salt: b7 53 d7 74 e8 26 e0 0c 94 39 62 8d 52 cd f1 0f
e5 6b ae 04 e0 5a 3c 92 c7 1e fe c6 69 d5 3c 78
MK iterations: 60569
UUID: 95b47c48-9b76-4403-b5c8-6c54298cb0c5
Key Slot 0: ENABLED
Iterations: 969108
Salt: fb 4a a5 43 b3 e0 a8 5d 86 e9 c5 50 c0 42 7a b0
3a 56 31 ac 1b 98 46 cb 93 2f 9f 3c 68 e8 3a 32
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
Ubuntu 18.04
cryptsetup 2.0.2
/D
_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt