[dm-crypt] request for new API to found out is a volume is a luks volume or a tcrypt volume
.. ink ..
mhogomchungu at gmail.com
Fri Dec 7 22:50:15 CET 2012
finding out if a device is luks device is a bit clunky at the moment
because a user will have to go through the crypt_init(),crypt_load() and
finally crypt_free() to see if a device is luks device.
Just added support for opening truecrypt volumes and the way to check if a
volume is a true crypt volume seem to be clunkier since it involves doing
crypt_init(),crypt_load(),crypt_activate_by_volume_key() and if on success,
crypt_deavicate() and then finally crypt_free()
It will be nice if these operations were simplified with something like:
crypt_is_luks( const char* device )
crypt_is_tcrypt( const char* device,const char* key,size_t key_len )
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dm-crypt