Mailinglist Archive: opensuse-buildservice (306 mails)
| < Previous | Next > |
Re: [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)
- From: Adrian Schröter <adrian@xxxxxxx>
- Date: Fri, 25 Jun 2010 20:08:18 +0200
- Message-id: <201006252008.19641.adrian@xxxxxxx>
On Friday 25 June 2010 16:43:32 Michael Schroeder wrote:
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@xxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
On Fri, Jun 25, 2010 at 03:16:46PM +0200, OBS build-service wrote:
From: Adrian Schröter <adrian@xxxxxxx>
---
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 <<EOF
+
+ WARNING: **** No hardware number generator found, package signing got
disabled! ****
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@xxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |