~/talk

Encryption Pitfalls and Workarounds

Talkat GORUCO 2018 · on Saturday, 2018-06-16· [security, ruby]
slides:none on file

Compares two Ruby gems: attr_encrypted (flexible, per-record key support) and Cryptkeeper (simpler, single-app key, built-in search). Reports a real deployment with 15,000 users where Cryptkeeper’s plaintext search causes logins to stall; maintainer Joshua Priddle supplies an unsanctioned hash-based lookup workaround that rewrites find_by_email to restore uniqueness and search. Discusses tradeoffs: per-record keys for stronger security, hashing for searchable fields, and added CPU/storage costs when encrypting at scale.

AI-written summary · about

  1. 0:00Start
  2. 1:24How Encryption Works
  3. 1:34What is Encryption Anyway?
  4. 2:27Example
  5. 3:19Considerations
  6. 3:49What to encrypt?
  7. 4:52Risk Assessment
  8. 5:59Tools
  9. 6:41crypt_keeper
  10. 7:14Issues with Scale
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.