Fix up other code to support new GPG provider structure

This commit is contained in:
Andrey Smirnov
2017-06-03 01:26:37 +03:00
parent 07fde3177b
commit 0e9f966dd1
12 changed files with 53 additions and 14 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package deb
import (
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
@@ -80,7 +81,7 @@ func (c *Changes) VerifyAndParse(acceptUnsigned, ignoreSignature bool, verifier
c.SignatureKeys = keyInfo.GoodKeys
}
var text *os.File
var text io.ReadCloser
if isClearSigned {
text, err = verifier.ExtractClearsigned(input)