summaryrefslogtreecommitdiff
path: root/yarns/obnam.sh
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/obnam.sh')
-rw-r--r--yarns/obnam.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/obnam.sh b/yarns/obnam.sh
index 727ecd76..75258415 100644
--- a/yarns/obnam.sh
+++ b/yarns/obnam.sh
@@ -34,6 +34,11 @@ run_obnam()
add_to_config "$name" client-name "$name"
fi
+ # Always turn off weak-random, or else anything that uses
+ # encryption will take a long time. We don't need strong random
+ # numbers for tests.
+ add_to_config "$name" weak-random yes
+
(
if [ -e "$DATADIR/$name.env" ]
then