Refactor GPG signer/verifier

Goal is to make it easier to plug in another implementation.
This commit is contained in:
Andrey Smirnov committed 2017-05-23 02:54:56 +03:00
1 parent c026106352
commit 1be8d39105
21 files changed
+135 -110

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ import (
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/database"
"github.com/smira/aptly/deb"
"github.com/smira/aptly/pgp"
"github.com/smira/aptly/utils"
)
@@ -296,7 +297,7 @@ func apiReposPackageFromDir(c *gin.Context) {
return
}
verifier := &utils.GpgVerifier{}
verifier := &pgp.GpgVerifier{}
var (
sources []string