ankane/lockbox
Modern encryption for Ruby and Rails observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 76
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2800
- days_rel: n/a
- days_push: 146
- n_releases_24m: 0
Adoption not part of the score
1609 stars · 78 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Lockbox is a Ruby gem providing modern encryption for database fields, files, and strings in Ruby and Rails applications. It integrates with Active Record, Mongoid, Active Storage, CarrierWave, and Shrine, with support for easy data migration and key rotation.
Use cases
- encrypt sensitive database columns in Rails
- secure user emails with Devise
- encrypt uploaded files in Active Storage
- rotate encryption keys for existing data
- encrypt strings and files in Ruby apps
- add encrypted attributes to ActiveRecord models
When to choose
- you need transparent field-level encryption in Rails or Ruby
- you want easy key rotation and data migration support
- you need encryption for both database fields and file attachments
- you prefer a zero-dependency library with broad ORM integrations
When to avoid
- you need application-level encryption outside the Ruby ecosystem
- you require searchable encrypted queries without a companion blind index
- your project does not use Ruby or Rails
Facets
library · maturity stable
cryptography security orm serialization security web-development backend privacy databases ruby jvm encryption rails activerecord activestorage libsodium key-rotation field-level-encryption file-encryption
1 source
- readme: https://github.com/ankane/lockbox · fetched 2026-08-28 · b75348a4d1c0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ankane/lockbox | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem