Repository navigation
Development
github-actions[bot] edited this page Nov 25, 2026
·
1 revision
-
Go: the version in
go.mod. -
shellcheck for
make lint.
| Target | What it does |
|---|---|
make test |
go vet and go test -race
|
make fuzz |
fuzzes Open for a minute (FUZZTIME=5m for longer) |
make lint |
shellcheck, the commit message check's tests, actionlint |
CI runs the tests, 30 seconds of fuzzing, and checks that the module has no dependencies.
-
TestKnownVectorandTestCompatibleWithEarlierFormatspin the format. Never change their expected values. -
TestKeyFileConcurrentCreatestarts many key file creations at once, 50 times, and checks that all get the same key and no temporary file stays behind. -
FuzzOpenfeeds random data toOpen: it must only ever returnErrDecryptor a value that seals back the same. - The examples in
example_test.goare shown on pkg.go.dev and run as tests.
Pull requests go into main with a merge commit; titles and commits follow Conventional Commits. Merging main into release tags the next version from the commits (fix: patch, feat: minor, ! major) and publishes a GitHub release. Apps then use go get github.com/danielgtmn/panzerschrank@vX.Y.Z.
See AGENTS.md: the format never changes, no secret material in errors, standard library only, nonces are always random, the key file is never overwritten.
panzerschrank: https://github.com/danielgtmn/panzerschrank. This wiki is generated from the wiki/ folder in the repository; edit the files there, not in the wiki.