Hi Marco,
It does not seem very smart to use a UUID as a passphrase. With this,
you can aswell ditch the whole encryption alltogether.
Depending on your distribution, it might be straight forward to use an
external USB-Thumbdrive holding the passphrases and use that for
automatic decryption. Some distros will let you choose to have the
passphrases stored on USB or have them stored i.e. in a GPG-Keyring on a
thumb drive.
Regards
-Sven
Am 22.08.2017 um 15:00 schrieb Marco Cavallini:
Hi,
I'd like to use something like a keyfile instead of a passphrase for
my encrypted volume.
My goal is to decrypt my volume without user intervention.
For example I can read the UUID of a disk partition and use that as password.
The easiest place where to add my code seems crypt_get_key() function
in lib/utils_crypt.c
Maybe someone already came across this problem and I am trying to
re-invent the wheel, for this reason I'm asking advice to the dm-crypt
gurus.
Comment and hints will ve greatly appreciated.
Thank you
--
Marco
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt