diff --git a/gpg-Ezmlm/trunk/Gpg.pm b/gpg-Ezmlm/trunk/Gpg.pm index 0be4704..c0cbca6 100644 --- a/gpg-Ezmlm/trunk/Gpg.pm +++ b/gpg-Ezmlm/trunk/Gpg.pm @@ -82,6 +82,7 @@ local $ENV{'PATH'} = $GPG_EZMLM_BASE; # == define the available (supported) GPG_LIST_OPTIONS == @GPG_LIST_OPTIONS = ( "RequireSub", + "requireSigs", "NokeyNocrypt", "signMessages", "encryptToAll", @@ -203,6 +204,16 @@ sub getconfig { my($self) = @_; my(%options); + # define defaults + $options{signMessages} = 1; + $options{NokeyNocrypt} = 0; + $options{allowKeySubmission} = 1; + $options{encryptToAll} = 0; + $options{VerifiedKeyReq} = 0; + $options{RequireSub} = 0; + $options{requireSigs} = 0; + + # Read the config file if(open(CONFIG, "<$self->{'LIST_NAME'}/config")) { # 'config' contains the authorative information