Skip to content
L

Lockbox

Modern encryption for Ruby and Rails

by ankaneFree

#1735in Utilities
0In stores

Description

Lockbox is a Ruby gem that provides modern encryption for Ruby and Rails. It can encrypt database fields, files and plain strings. The READM…

Highlights

  • Encrypts database fields, files and strings
  • Zero dependencies
  • Active Record, Active Storage and Action Text support
  • Key rotation and migration of existing data

Ratings & Reviews

No ratings yet

Be the first to rate Lockbox.

People also visit

S

Symmetric Encryption

Encrypt data at rest in Ruby and Rails, with keys held outside your source code

Developer Tools
Launch
S

Stack

Searchable, application-level encryption for building privacy-first apps

Utilities
Launch
P

Prisma Field Encryption

Transparent field-level encryption at rest for Prisma

Utilities
Launch
L

LUKSbox

Store sensitive files in the cloud, or on shared media without trusting the host

Utilities
Launch
T

Trousseau

File based encrypted key-value store

Developer Tools
Launch
G

Gocryptfs

Encrypted overlay filesystem written in Go

Utilities
Launch

Lockbox FAQ

What is Lockbox?

A Ruby gem that encrypts database fields, files and strings for Ruby and Rails apps.

Does it have dependencies?

The README says it has zero dependencies.

Where should the key go?

The README says to keep it with your other secrets, such as Rails credentials or an environment variable, and to use different keys for development and production.

Can I encrypt existing data?

Yes. The README describes adding a ciphertext column and migrating an existing column without downtime.

What are the best Lockbox alternatives?

Popular alternatives to Lockbox include Stack, Prisma Field Encryption and LUKSbox. See all Lockbox alternatives

Developer Stuff

Badges