Re: encryption and flash based media question

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

 



Robert Nichols wrote:
> On 9/24/22 9:31 PM, Tim via users wrote:
>> On Sat, 2022-09-24 at 11:14 -0500, Robert Nichols wrote:
>>> If you follow the recommendation to fill the device with
>>> random data first
>> 
>> When was that ever recommended, and where?
>> 
>> While a logical thing to do, I've never seen anything or
>> anyone ever say that.
> 
> I recall that recommendation being in the cryptsetup FAQ,
> but it doesn't seem to be there any more.

The end of section 2.1 in the FAQ says:

    Alternatively, plain dm-crypt can be used for a very
    fast wipe with crypto-grade randomness, see Item 2.19

    https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyAskedQuestions#2-setup

Similar advvice has been given for as long as I can recall.

For new hdd's, badblocks can be worth running before putting
data on the disk and it can write a reasonably random
pattern in the process:

    badblocks -b 4096 -c 10240 -s -w -t random -v /dev/sdx1

That requires more patience than most folks have, I suspect.
It can take around 42 hours for a 16T disk.  But then, it's
only your data. ;)

There's a long section on drive preparation on the Arch
Linux wiki:

    https://wiki.archlinux.org/title/Dm-crypt/Drive_preparation

There are, as others already noted, caveats and limitations
if using SSD's.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux