Pure-Go (CGO=0) MRI-faithful reimplementation of Ruby's age gem — the age file-encryption format — built on filippo.io/age.
🌐 Website · 📚 Documentation
Pure-Go (CGO=0) MRI-faithful reimplementation of Ruby's age gem — the age file-encryption format — built on filippo.io/age. It is a pure-Go (no cgo) reimplementation of Ruby's age, mirroring its
observable behaviour without any Ruby runtime. It is a standalone,
reusable module — the backend bound into
go-embedded-ruby by rbgo, the same
pattern as go-ruby-yaml — differential-tested against reference Ruby, 100%
coverage, CI green across 6 arches and 3 OSes.
| Repo | What it is |
|---|---|
| age | the library: Ruby's age in pure Go |
| docs | MkDocs Material documentation, versioned with mike, served at /docs/ |
| go-ruby-age.github.io | the Hugo landing page |
| brand | logos and brand assets |
- Pure Go, zero cgo. Cross-compiles and embeds anywhere; a static binary by default.
- Reference-faithful. Output matches reference Ruby (MRI), validated by a differential oracle.
- Standalone & reusable. No dependency on the Ruby runtime — the dependency runs the other way.
- 100% test coverage is the target, enforced as a CI gate.
Pure-Go, CGO=0, differential-tested. A faithful port of Ruby's age, validated
against the system ruby at 100% coverage, gofmt + go vet clean, CI green
across the six 64-bit Go targets (amd64, arm64, riscv64, loong64, ppc64le,
s390x — including the big-endian lane). It is bound into the
go-embedded-ruby (rbgo) ecosystem
as a native module.
BSD-3-Clause.
