X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=plc.d%2Fgpg;h=c9e6701bdee929ec8e63de66a4cec49a587f56c9;hb=c3f2b0ae1254f9dc021bb8f6bbf7efd2f34e8e97;hp=04ef2fcf6163f7936077a746b921d4ace3db4c8c;hpb=e95b486c21d0902d8c84105eec4d1441ff04c46d;p=myplc.git diff --git a/plc.d/gpg b/plc.d/gpg index 04ef2fc..c9e6701 100755 --- a/plc.d/gpg +++ b/plc.d/gpg @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: gpg,v 1.6 2006/05/18 17:34:10 mlhuang Exp $ +# $Id: gpg,v 1.7 2006/06/23 20:29:22 mlhuang Exp $ # # Source function library and configuration @@ -48,6 +48,8 @@ EOF check rm -f /dev/random mknod /dev/random c 1 8 + # Make GPG key readable by apache so that the API can sign peer requests + chown apache $PLC_ROOT_GPG_KEY chmod 644 $PLC_ROOT_GPG_KEY_PUB chmod 600 $PLC_ROOT_GPG_KEY else