From: Jameson Graef Rollins Date: Fri, 13 Feb 2009 00:11:50 +0000 (-0500) Subject: Merge commit 'dkg/master' X-Git-Tag: monkeysphere_0.23~99 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=cadb991940633888988df530819ce9465cd688ed;p=monkeysphere.git Merge commit 'dkg/master' Conflicts: src/share/ma/setup --- cadb991940633888988df530819ce9465cd688ed diff --cc src/share/ma/setup index 216b0b9,8032023..f989db6 --- a/src/share/ma/setup +++ b/src/share/ma/setup @@@ -97,11 -96,11 +96,11 @@@ EO # ensure that we're using the extended trust model (1), and that # our preferences are reasonable (i.e. 3 marginal OR 1 fully # trusted certifications are sufficient to grant full validity. - log debug "checking trust level of core key..." + log debug "checking trust model for authentication ..." - local TRUST_MODEL=$(gpg_sphere --with-colons --fixed-list-mode --list-keys \ + local TRUST_LEVEL=$(gpg_sphere "--with-colons --fixed-list-mode --list-keys" \ | head -n1 | grep "^tru:" | cut -d: -f3,6,7) - log debug "sphere trust level of core: $TRUST_LEVEL" - if [ "$TRUST_LEVEL" != '1:3:1' ] ; then + log debug "sphere trust model: $TRUST_MODEL" + if [ "$TRUST_MODEL" != '1:3:1' ] ; then failure "monkeysphere-authentication does not have the expected trust model settings." fi }