provide more info when we can't use the pubkey

This commit is contained in:
Aaron Bieber 2020-02-09 14:46:31 -07:00
parent a423056357
commit 8ad24721bc
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func main() {
kr, err := openpgp.ReadArmoredKeyRing(open(pub))
if err != nil {
fmt.Println(err)
fmt.Printf("Can't parse public key '%s'\n%s", pub, err)
os.Exit(1)
}