diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-03-01 12:12:18 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-03-01 12:12:18 -0500 |
commit | 48cb182a7d0265aabed84d74b010ff0b24fa078c (patch) | |
tree | a1ea549a643a8d562e21e1b9e49920b6e6468892 /src/share/ma | |
parent | 2c427b22f6a780cbf0d4e22fce26071727e985a1 (diff) |
removed base64 invocation in favor of perl to reduce dependency spread.
Diffstat (limited to 'src/share/ma')
-rw-r--r-- | src/share/ma/setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/ma/setup b/src/share/ma/setup index e77afff..f991050 100644 --- a/src/share/ma/setup +++ b/src/share/ma/setup @@ -57,7 +57,7 @@ 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 </dev/urandom | base64)) + local CORE_UID=$(printf "Monkeysphere authentication trust core UID (random string: %s)" $(head -c21 </dev/urandom | perl -MMIME::Base64 -ne 'print encode_base64($_)')) log debug "generating monkeysphere authentication trust core key ($CORE_KEYLENGTH bits)..." PEM2OPENPGP_USAGE_FLAGS=certify \ |