From 2f1d4a44f2c6b3d5118befab1152cbb8e5f41d1e Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 17 May 2006 20:47:59 +0000 Subject: [PATCH] - update GPG UID name/email/comment fields --- plc.d/gpg | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/plc.d/gpg b/plc.d/gpg index 4f1dc06..23a1860 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.2 2006/04/25 21:18:19 mlhuang Exp $ +# $Id: gpg,v 1.3 2006/05/08 18:16:33 mlhuang Exp $ # # Source function library and configuration @@ -16,8 +16,8 @@ case "$1" in start) - # Generate GPG keyrings if [ ! -f $PLC_ROOT_GPG_KEY_PUB -o ! -f $PLC_ROOT_GPG_KEY ] ; then + # Generate new GPG keyring MESSAGE=$"Generating GPG keys" dialog "$MESSAGE" @@ -28,7 +28,8 @@ case "$1" in # avoid running out of entropy. rm -f /dev/random mknod /dev/random c 1 9 - gpg --homedir=/root --batch --gen-key <