mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-27 13:57:46 +00:00
Fix up other code to support new GPG provider structure
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ func getSigner(options *SigningOptions) (pgp.Signer, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
signer := &pgp.GpgSigner{}
|
||||
signer := context.GetSigner()
|
||||
signer.SetKey(options.GpgKey)
|
||||
signer.SetKeyRing(options.Keyring, options.SecretKeyring)
|
||||
signer.SetPassphrase(options.Passphrase, options.PassphraseFile)
|
||||
|
||||
Reference in New Issue
Block a user