X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fcommon;h=ef931ca4bc7a20282be621bfa533830c9cfef8bb;hb=b2bf2d17cd6eb5edcb69d51867b7d17e60751986;hp=f6000d31d223d9245c967d6bc0324575cc84a1ca;hpb=2483b7de82423d6bf0dec774526a2ca9fef3d64d;p=monkeysphere.git diff --git a/src/common b/src/common index f6000d3..ef931ca 100644 --- a/src/common +++ b/src/common @@ -1,9 +1,10 @@ # -*-shell-script-*- +# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant) # Shared sh functions for the monkeysphere # # Written by -# Jameson Rollins +# Jameson Rollins # Jamie McClelland # Daniel Kahn Gillmor # @@ -19,6 +20,9 @@ SYSCONFIGDIR=${MONKEYSPHERE_SYSCONFIGDIR:-"/etc/monkeysphere"} export SYSCONFIGDIR +# monkeysphere version +VERSION=__VERSION__ + ######################################################################## ### UTILITY FUNCTIONS @@ -671,7 +675,7 @@ process_user_id() { else log debug " - unacceptable primary key." if [ -z "$sshKey" ] ; then - log error " ! primary key could not be translated (not RSA or DSA?)." + log debug " ! primary key could not be translated (not RSA or DSA?)." else echo "1:${sshKey}" fi @@ -729,7 +733,7 @@ process_user_id() { else log debug " - unacceptable sub key." if [ -z "$sshKey" ] ; then - log error " ! sub key could not be translated (not RSA or DSA?)." + log debug " ! sub key could not be translated (not RSA or DSA?)." else echo "1:${sshKey}" fi