634
submitted 1 year ago* (last edited 1 year ago) by floofloof@lemmy.ca to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] argv_minus_one@beehaw.org 16 points 1 year ago

"Maybe use it for the boot-time 'gather entropy from different sources,' but clearly it should not be used at runtime."

Good idea. Ask it during boot/insmod for some hardware-random bits to seed Linux's usual software-only CSPRNG, then just use that.

And even that might not be a great idea. I wouldn't be surprised if the fTPM RNG is subtly not-entirely-random, at some alphabet agency's behest. I remember there being a controversy over rdrand for this reason…

[-] pingveno@lemmy.ml 4 points 1 year ago

The fix with any possible issues with rdrand is the same here. When entropy is gathered from many sources including hardware instructions, any nefarious plant in the chip is drowned out in a sea of noise.

[-] argv_minus_one@beehaw.org 1 points 1 year ago

I'm no cryptographer, but that seems like an awfully dangerous assumption.

[-] MystikIncarnate@lemmy.ca 1 points 1 year ago

Well, it's an fTPM, aka software, and AFAIK, no software can truly have a random RNG.

So it might be very good pseudo random at best.

[-] argv_minus_one@beehaw.org 1 points 1 year ago

It could be only mostly firmware, with a hardware RNG.

If not, and it uses a CSPRNG, then I don't see much point in using it at all. Linux already has its own CSPRNG.

this post was submitted on 01 Aug 2023
634 points (98.8% liked)

Linux

47365 readers
921 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS