diff options
Diffstat (limited to 'config/general.go')
-rw-r--r-- | config/general.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/general.go b/config/general.go index 8ca22471..b06eddde 100644 --- a/config/general.go +++ b/config/general.go @@ -20,7 +20,7 @@ type GeneralConfig struct { func defaultGeneralConfig() GeneralConfig { return GeneralConfig{ - PgpProvider: "internal", + PgpProvider: "auto", UnsafeAccountsConf: false, LogLevel: log.INFO, } @@ -71,9 +71,9 @@ end: func (gen *GeneralConfig) validatePgpProvider() error { switch gen.PgpProvider { - case "gpg", "internal": + case "gpg", "internal", "auto": return nil default: - return fmt.Errorf("pgp-provider must be either gpg or internal") + return fmt.Errorf("pgp-provider must be either auto, gpg or internal") } } |