summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-01 02:27:58 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-01 02:27:58 -0500
commit6b09adf78d79ea76849a43f4af4335a7a89b10c7 (patch)
tree2c9674e288e9564ecad93ea5901dc6c0bb5c0c1e /src
parentebb12157ce060b27c2740e9bef241ce4a74aff70 (diff)
removed some unnecessary setup from the basic test, pulling the random string from /dev/urandom; generating the authentication trust core key at 2048 bits
Diffstat (limited to 'src')
-rw-r--r--src/share/ma/setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/ma/setup b/src/share/ma/setup
index a829a98..944bb4d 100644
--- a/src/share/ma/setup
+++ b/src/share/ma/setup
@@ -43,11 +43,11 @@ EOF
if [ -z "$CORE_FPR" ] ; then
log info "Setting up Monkeysphere authentication trust core"
- local CORE_UID=$(printf "Monkeysphere authentication trust core UID (random string: %s)" $(head -c21 | base64))
+ local CORE_UID=$(printf "Monkeysphere authentication trust core UID (random string: %s)" $(head -c21 </dev/urandom | base64))
if gpg_core --gen-key --batch <<EOF
Key-Type: RSA
-Key-Length: 4096
+Key-Length: 2048
Key-Usage: certify
Name-Real: $CORE_UID