Commit: https://github.com/hockeypuck/server/commit/16d0faf8f5091cc0fe21f2af161098c3aeb7caac
sudo useradd --create-home --shell /bin/bash hockeypuck
Using go1.10.3 linux/amd64
# GOPATH=~/go
git clone github.com/hockeypuck/server $GOPATH/src/github/hockeypuck/server
cd $GOPATH/github.com/hockeypuck/server
go get -t -v ./...
scp $GOPATH/bin/hockeypuck* [server]:/home/hockeypuck/bin
$ sudo su postgres
postgres@www:~$ createuser hockeypuck
postgres@www:~$ createdb --owner hockeypuck hockeypuck
exit
# as hockeypuck user
mkdir ~/keydump && cd ~/keydump
wget -crp -e robots=off -l1 --no-parent --cut-dirs=3 -nH -A pgp,txt http://stueve.us/keydump/
~/bin/hockeypuck-load -config ~/etc/hockeypuck/hockeypuck.conf ~/keydump/*.pgp
After some time you see messages like this:
INFO[0476] inserted 60000 keys from "/var/lib/sks/dump/sks-dump-0000.pgp" in 7m30.559565776s
sudo su postgres
psql hockeypuck
\dt
select count(*) from keys;