[opensuse-buildservice] Re: [PATCH] enable signing only if local instance has a hardware number generator. (Testing this first with 2.1 alpha and backport later to 2.0)
On Fri, Jun 25, 2010 at 03:16:46PM +0200, OBS build-service wrote:
From: Adrian Schröter
--- dist/obsapisetup | 8 +++++ dist/obsstoragesetup | 76 +++++++++++++++++++++++++++---------------------- 2 files changed, 50 insertions(+), 34 deletions(-)
diff --git a/dist/obsapisetup b/dist/obsapisetup index 2b875a7..784c63c 100755 --- a/dist/obsapisetup +++ b/dist/obsapisetup @@ -84,6 +84,14 @@ Welcome to openSUSE Build Service(OBS) Appliance $OBSVERSION based on $OS
EOF + if [ ! -f /dev/hw_random ]; then + cat >> /etc/issue <
Hmm, shouldn't that be /dev/hwrng nowadays? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 25 June 2010 16:43:32 Michael Schroeder wrote:
On Fri, Jun 25, 2010 at 03:16:46PM +0200, OBS build-service wrote:
From: Adrian Schröter
--- dist/obsapisetup | 8 +++++ dist/obsstoragesetup | 76 +++++++++++++++++++++++++++---------------------- 2 files changed, 50 insertions(+), 34 deletions(-)
diff --git a/dist/obsapisetup b/dist/obsapisetup index 2b875a7..784c63c 100755 --- a/dist/obsapisetup +++ b/dist/obsapisetup @@ -84,6 +84,14 @@ Welcome to openSUSE Build Service(OBS) Appliance $OBSVERSION based on $OS
EOF + if [ ! -f /dev/hw_random ]; then + cat >> /etc/issue <
Hmm, shouldn't that be /dev/hwrng nowadays?
Actually, I have no clue. In case someone has a suggestion how to find out, if we have a working random number generator please tell. In the end I might just implement a gpg2 call with a timeout otherwise. I can of course also test on /dev/hwrng, but I fear that this is also not the final answer. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Michael Schroeder