Re: Unlocking volume using master key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok cool, thanks for the quick response.

i am compiling cryptsetup, so can i am guessing i will be able to call
libcryptsetup API.

int crypt_init_by_name(struct crypt_device **cd, const char *name);
to get the crypt_device.

And then use the below code to unlock the volume.

int crypt_activate_by_volume_key(struct crypt_device *cd,
        const char *name,
        const char *volume_key,
        size_t volume_key_size,
        uint32_t flags);
to unlock the volume?

Is this the way to do it and if yes what should be the default flags.

Thanks

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux