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:
Zack Mullaly 2018-03-26 18:14:47 -04:00
Родитель b79e52c8c6
Коммит 38b3279af0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)
}