Skip to content
OpenPGP Key Server
Go HTML Other
Branch: master
Clone or download
Pull request Compare This branch is 244 commits ahead, 434 commits behind cmars:master.
cmars Merge tag '2.0.15'
Release 2.0.15
Latest commit 8d60e76 Oct 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update FUNDING.yml Aug 31, 2019
contrib Update standalone hockeypuck image to latest release. Sep 2, 2019
debian Release 2.0.15 Sep 29, 2019
scripts Add script to publish docker image to Github. Sep 29, 2019
src Address conflux memory leaks. Sep 28, 2019
.gitignore Keep GOCACHE inside the project May 22, 2019
.travis.yml Add travis CI. Aug 31, 2019
CONTRIBUTORS Update README, legal stuff, make license clear, add contributors. Aug 24, 2019
Dockerfile Add webroot to docker based deployment. May 24, 2019
LICENSE Update README, legal stuff, make license clear, add contributors. Aug 24, 2019
Makefile Address conflux memory leaks. Sep 28, 2019
README.md Fix snapcraft LXD instruction. Sep 6, 2019
docker-compose.yml
project-subtrees.md Remove reference to ProtonMail/crypto subtree. Sep 6, 2019
snapcraft.yaml Merge/reconcile changes from Launchpad upstream repo. Sep 6, 2019

README.md

Hockeypuck

Hockeypuck is an OpenPGP public keyserver.

Building

Any platform/arch

With Go 1.12 installed, from this directory:

export GOPATH=$(pwd)
go build ./src/hockeypuck/server/cmd/...
go install ./src/hockeypuck/server/cmd/...

Hockeypuck binaries will be in bin/.

Vendored Dependencies

The dependencies for this project are managed via Go modules. To update the dependencies run:

cd src
go get -u -m
go mod vendor

After which you can ensure that the code continues to build and that the tests still pass.

Ubuntu package maintainers

To locally build the hockeypuck binaries:

make install-build-depends
make

Releases

Building a Snap

If it's installed, remove the snapcraft Ubuntu package:

sudo apt remove snapcraft

Install snapcraft from the Snap store:

snap install snapcraft

Confirm that you're using a recent enough version of snapcraft:

$ which snapcraft
/snap/bin/snapcraft
$ snapcraft version
snapcraft, version 3.7.2
$ _

Now you can build the snap:

snapcraft snap

snapcraft defaults to building in a multipass VM. If you're already in a throwaway environment, you can build the snap as follows instead:

SNAPCRAFT_BUILD_ENVIRONMENT=host snapcraft snap

Or use LXD for a lighter-weight isolated build:

SNAPCRAFT_BUILD_ENVIRONMENT=lxd snapcraft snap

Ubuntu package maintainers

In order to release a new version of hockeypuck:

make dch
git add debian/changelog
git commit -m 'x.y.z release'
git tag -s -u <keyid> -m 'x.y.z release' x.y.z
git push --tags
make deb-src
dput <your ppa> ../hockeypuck\_x.y.z\_source.changes

Where x.y.z is the appropriate version number. This will upload the debian source package to the Launchpad PPA for building.

Running

Quick start with Docker

A quick and easy way to run Hockeypuck locally is with docker-compose:

docker-compose up

About

Copyright 2019, The Hockeypuck Developers; see CONTRIBUTORS and LICENSE for details.

You can’t perform that action at this time.