Skip to content

Instantly share code, notes, and snippets.

View LloydGriffiths's full-sized avatar

Lloyd Griffiths LloydGriffiths

  • Kuala Lumpur
View GitHub Profile

Keybase proof

I hereby claim:

  • I am LloydGriffiths on github.
  • I am lloydgriffiths (https://keybase.io/lloydgriffiths) on keybase.
  • I have a public key whose fingerprint is 1507 9FAD 18CA 417F 763E D877 6C2D 731E 3841 119D

To claim this, I am signing this object:

@LloydGriffiths
LloydGriffiths / main.go
Last active February 22, 2018 19:26
Verify clearsign signature with Go
package main
import (
"bytes"
"log"
"strings"
"golang.org/x/crypto/openpgp"
"golang.org/x/crypto/openpgp/clearsign"
)
@LloydGriffiths
LloydGriffiths / tagged-git-commits.sh
Last active February 22, 2018 19:27
Print tagged git commits
for i in $(git rev-list --all); do git describe --exact-match $i >/dev/null 2>&1 && git rev-parse --short $i; done