Skip to content

Instantly share code, notes, and snippets.

@ruthvik-github
ruthvik-github / check_sig.go
Created November 4, 2023 18:53 — forked from lsowen/check_sig.go
GPG Signature Verification in go (with golang.org/x/crypto/openpgp)
package main
import (
"fmt"
"golang.org/x/crypto/openpgp"
"os"
)
func main() {
keyRingReader, err := os.Open("signer-pubkey.asc.txt")