Default rngd conf on Raspberry Pi should use /dev/hwrng

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Default rngd conf on Raspberry Pi should use /dev/hwrng

Postby jernst » Thu Mar 05, 2015 1:02 am

Arch recently updated their default rngd configuration due to this bug report: https://bugs.archlinux.org/task/34580. As a result, rngd is effectively disabled and useless.

Unlike x86, the Raspberry Pi has a hardware random generator. So their wiki suggests -- which makes sense to me -- that rngd uses this configuration by default on the Pi, see comments here: https://wiki.archlinux.org/index.php/Ra ... _generator

$this->bbcode_second_pass_code('', 'RNGD_OPTS="-o /dev/random -r /dev/hwrng"')

Happy to submit a pull request, but I'm not sure where to.
jernst
 
Posts: 78
Joined: Tue Aug 20, 2013 4:22 pm
Location: Silicon Valley

Re: Default rngd conf on Raspberry Pi should use /dev/hwrng

Postby WarheadsSE » Thu Mar 05, 2015 1:57 am

We build this package straight from ABS. In this case, I would say making the edit would be the right choice, and not causing an extra package to be pulled into (and have to be maintained!) the git overlay that is PKGBUILDs
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Default rngd conf on Raspberry Pi should use /dev/hwrng

Postby jernst » Thu Mar 05, 2015 3:29 am

I hear you. Would be nice though if at least the knowledge ("on the pi, edit file X in that way") could be captured systematically somewhere so that someone with a new Pi, or whatever device, can "work the list down". Presumably there are other packages that could benefit from platform-specific instructions, too. I came across this by accident on the x86 Arch wiki, it would not have occurred to me to look there if I had been searching for that specific piece of information.

Perhaps that could be done on the main Arch / x86 wiki though. Maybe they won't complain too much?
jernst
 
Posts: 78
Joined: Tue Aug 20, 2013 4:22 pm
Location: Silicon Valley

Re: Default rngd conf on Raspberry Pi should use /dev/hwrng

Postby WarheadsSE » Thu Mar 05, 2015 2:28 pm

I've petitioned multiple times for both the RPi and Samsung Chromebook pages to be removed.. they keep showing up.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 14 guests