зеркало из https://github.com/mozilla/mig.git
Revert "Use CheckArmoredDetachedSignature to successfully verify signatures"
Doing this caused new errors to crop up in other places.
Investigating the possibility that this might be a GPG version thing.
This reverts commit b79e52c8c6
.
This commit is contained in:
Родитель
b79e52c8c6
Коммит
38b3279af0
|
@ -43,7 +43,7 @@ func Verify(data string, signature string, keyring io.Reader) (valid bool, entit
|
|||
panic(err)
|
||||
}
|
||||
|
||||
entity, err = openpgp.CheckArmoredDetachedSignature(ring, srcReader, sigBlock.Body)
|
||||
entity, err = openpgp.CheckDetachedSignature(ring, srcReader, sigBlock.Body)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче