Re: veritysetup format without --salt

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

 



Found it, thanks a lot!

Michael

Am 13.12.2019 um 15:45 schrieb Milan Broz:
> On 12/12/2019 09:02, gilmore@xxxxxxxxxxxxxx wrote:
>> Hi, If 'veritysetup format <data_device> <hash_device>' is called
>> without '--salt', will there a salt (from a random number generator)
>> be used to calculate the digest? If yes, can you please point me to
>> the spot in the veritysetup source code where the salt is generated
>> or imported?
>
> Userspace tools (like veritysetup) have no direct access to a RNG,
> it is inside libcryptsetup library API.
> Search for _crypt_format_verity() function...
>
> In today version of devel git here
> https://gitlab.com/cryptsetup/cryptsetup/blob/master/lib/setup.c#L2046
>
> Milan

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://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