simplebox
[!IMPORTANT]
This repo is a fork of https://github.com/brandur/simplebox please make any fixes upstream and not to the fork.
See https://github.com/github/security-iam/issues/8984 for more context
on its usage in https://github.com/github/copilot-api
Package simplebox provides a simple, easy-to-use cryptographic API where all of
the hard decisions have been made for you in advance. The backing cryptography
is XSalsa20 and Poly1305, which are known to be secure and fast.
This package is a Golang port of the RbNaCl module of the same name.
Installation and Usage
go get github.com/brandur/simplebox
Please see godoc for usage information and examples.
Run tests
go test ./...
Cut a release
-
Fetch changes to the repo and any new tags. Export VERSION
by incrementing the last tag according to semantic versioning:
git checkout master && git pull --rebase
export VERSION=v0.x.y
-
Prepare a PR with the changes, updating CHANGELOG.md
with any necessary additions at the same time. Have it reviewed and merged.
-
Upon merge, pull down the changes, tag each module with the new version, and push the new tags:
git pull origin master
git tag $VERSION
git push --tags
-
Cut a new GitHub release by visiting new release, selecting the new tag, and copying in the version's CHANGELOG.md
content as the release body.