Skip to content
forked from brandur/simplebox

Package simplebox provides a simple, easy-to-use cryptographic API where all of the hard decisions have been made for you in advance.

License

Notifications You must be signed in to change notification settings

github/simplebox

 
 

Repository files navigation

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

Build Status GoDoc

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

  1. 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
  2. Prepare a PR with the changes, updating CHANGELOG.md with any necessary additions at the same time. Have it reviewed and merged.

  3. 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
  4. 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.

About

Package simplebox provides a simple, easy-to-use cryptographic API where all of the hard decisions have been made for you in advance.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%