First of all, thanks for creating this project.I really hope it will get the current state of public/private keyservers somewhere usable again.
This week I started testing the latest and greatest version (current master version of hockeypuck/server) and I seem to run into a couple of problems.Maybe someone here can help me a little.I got everything setup on a FreeBSD 12.0 vm, compiled hockeypuck with go 1.11.5 and using postgresql 9.6 as backend.
-USES= go
+USES= go pgsql:9.4+
The hockeypuck process starts and I get output when I go to the stats page.
#Dump-started: 2019-02-25
#Key-Count: 5438728
select count (distinct(rfingerprint)) from keys; = 5088442
select count (*) from keys; = 5088728
5088728 - 5088442 = 286 dupe keys by [r]fingerprint
Adding a key with opengpg works as well:gpg --keyserver 192.168.10.117 --send-keys 0x6FFC75A2679ED069I see the key and subkeys in the postgresql database, so that looks ok.Now when I try to search for this key, or get the key itself, I get errors:Tested in a browser using the same url parameters as I use for SKS:time="2019-02-21T11:53:11+01:00" level=error msg="HTTP 500: [{/root/ports/security/hockeypuck/work/src/github.com/hockeypuck/server/vendor/gopkg.in/hockeypuck/hkp.v1/handler.go:246: } {/root/ports/security/hockeypuck/work/src/github.com/hockeypuck/server/vendor/gopkg.in/hockeypuck/pghkp.v1/storage.go:337: } {json: cannot set embedded pointer to unexported struct: jsonhkp.publicKey}]"time="2019-02-21T11:53:11+01:00" level=info msg= GET="/pks/lookup?op=get&search=0x6FFC75A2679ED069" duration=7.778631ms from="192.168.10.72:52241"time="2019-02-21T12:03:21+01:00" level=error msg="HTTP 500: [{/root/ports/security/hockeypuck/work/src/github.com/hockeypuck/server/vendor/gopkg.in/hockeypuck/hkp.v1/handler.go:264: } {/root/ports/security/hockeypuck/work/src/github.com/hockeypuck/server/vendor/gopkg.in/hockeypuck/pghkp.v1/storage.go:337: } {json: cannot set embedded pointer to unexported struct: jsonhkp.publicKey}]"time="2019-02-21T12:03:21+01:00" level=info msg= GET="/pks/lookup?search=0x6FFC75A2679ED069&fingerprint=on&op=index" duration=7.52244ms from="192.168.10.72:52319"Any help would be appreciated.