mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-05 22:08:27 +00:00
- #309 adding gpgKeys config key, accepting array of keyRef, cli args has precedence
- #691 adding handling of multiple keyRefs when signing with gpg
This commit is contained in:
@@ -49,9 +49,10 @@ type ConfigStructure struct { // nolint: maligned
|
||||
DownloadSourcePackages bool `json:"downloadSourcePackages" yaml:"download_sourcepackages"`
|
||||
|
||||
// Signing
|
||||
GpgProvider string `json:"gpgProvider" yaml:"gpg_provider"`
|
||||
GpgDisableSign bool `json:"gpgDisableSign" yaml:"gpg_disable_sign"`
|
||||
GpgDisableVerify bool `json:"gpgDisableVerify" yaml:"gpg_disable_verify"`
|
||||
GpgProvider string `json:"gpgProvider" yaml:"gpg_provider"`
|
||||
GpgDisableSign bool `json:"gpgDisableSign" yaml:"gpg_disable_sign"`
|
||||
GpgDisableVerify bool `json:"gpgDisableVerify" yaml:"gpg_disable_verify"`
|
||||
GpgKeys []string `json:"gpgKeys" yaml:"gpg_keys"`
|
||||
|
||||
// Publishing
|
||||
SkipContentsPublishing bool `json:"skipContentsPublishing" yaml:"skip_contents_publishing"`
|
||||
@@ -226,6 +227,7 @@ var Config = ConfigStructure{
|
||||
GpgProvider: "gpg",
|
||||
GpgDisableSign: false,
|
||||
GpgDisableVerify: false,
|
||||
GpgKeys: []string{},
|
||||
DownloadSourcePackages: false,
|
||||
PackagePoolStorage: PackagePoolStorage{
|
||||
Local: &LocalPoolStorage{Path: ""},
|
||||
|
||||
Reference in New Issue
Block a user