Original post

I’m using opengpg to verify signature but constantly receive: openpgp: invalid signature: hash tag doesn't match. Sample code is available here: https://play.golang.org/p/NqjiG3n9Xk8

Whereas if i use gpg --verify, it works just fine. My limited knowledge about PGP in general stops me from getting further. Appreciate your inputs on this issue.

Maybe you can refer opengpg example In verifyFile Function