1.1 --- a/actions/PostMessage.py Sat Jul 21 21:01:16 2012 +0200
1.2 +++ b/actions/PostMessage.py Sat Jul 21 21:25:09 2012 +0200
1.3 @@ -61,6 +61,7 @@
1.4 # NOTE: RFC 3156 states that signed messages should employ a detached
1.5 # NOTE: signature but then shows "BEGIN PGP MESSAGE" for signatures
1.6 # NOTE: instead of "BEGIN PGP SIGNATURE".
1.7 + # NOTE: The "micalg" parameter is currently not supported.
1.8
1.9 if mimetype == "multipart/signed" and \
1.10 message.get_param("protocol") == "application/pgp-signature":
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/scripts/init_wiki_keyring.sh Sat Jul 21 21:25:09 2012 +0200
2.3 @@ -0,0 +1,22 @@
2.4 +#!/bin/sh
2.5 +
2.6 +WIKI=$1
2.7 +USER=$2
2.8 +
2.9 +if [ ! "$WIKI" ]; then
2.10 + echo "Please specify a Wiki directory." 1>&2
2.11 + exit 1
2.12 +fi
2.13 +
2.14 +if [ ! "$USER" ]; then
2.15 + echo "Please specify a Web username." 1>&2
2.16 + exit 1
2.17 +fi
2.18 +
2.19 +# Initialise and configure ACLs on the gpg "homedir".
2.20 +
2.21 +mkdir $WIKI/gnupg
2.22 +chmod go-rwx $WIKI/gnupg
2.23 +setfacl -m u:$USER:rwx $WIKI/gnupg
2.24 +setfacl -m m:rwx $WIKI/gnupg
2.25 +setfacl -m d:u:$USER:rwx $WIKI/gnupg