summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-02 11:34:26 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-02 11:34:26 -0500
commit10c741dac082844fbf9a2fbbfc4322f718c2abea (patch)
treef319daa186b19056dbc153e2814b46a8c8918e30 /src/monkeysphere-authentication
parentc1900d82be5fe3607bac4248033fe92b56dca597 (diff)
add ability to specify key length of core secret key, so the test scripts can specify something smaller than the default.
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-xsrc/monkeysphere-authentication2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index 2316183..4485bd4 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -138,6 +138,7 @@ CHECK_KEYSERVER=${MONKEYSPHERE_CHECK_KEYSERVER:="true"}
REQUIRED_USER_KEY_CAPABILITY=${MONKEYSPHERE_REQUIRED_USER_KEY_CAPABILITY:="a"}
GNUPGHOME_CORE=${MONKEYSPHERE_GNUPGHOME_CORE:="${MADATADIR}/core"}
GNUPGHOME_SPHERE=${MONKEYSPHERE_GNUPGHOME_SPHERE:="${MADATADIR}/sphere"}
+CORE_KEYLENGTH=${MONKEYSPHERE_CORE_KEYLENGTH:="2048"}
# export variables needed in su invocation
export DATE
@@ -150,6 +151,7 @@ export REQUIRED_USER_KEY_CAPABILITY
export GNUPGHOME_CORE
export GNUPGHOME_SPHERE
export GNUPGHOME
+export CORE_KEYLENGTH
# get subcommand
COMMAND="$1"