~/talk

Encrypted Credentials on Rails 5.2: Secrets to Success

Talkat RailsConf 2018 · 2018-04-17..04-19· [ruby-on-rails, security]
slides:none on file

Rails 5.2 replaces encrypted secrets with Credentials that promise atomic deploys, no env var sprawl, and always-on encryption using Rails.application.credentials and the underlying EncryptedConfiguration API. Demo shows rails new, running rails credentials:edit, reading values via Rails.application.credentials.foo, and creating another file encrypted with a separate key file named master.key. Encryption reuses MessageEncryptor with AES-128-GCM. Historical notes include DES 56 bit weakness, 15 AES submissions and 5 finalists leading to Rijndael chosen in 2000.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53Who is this for
  3. 2:15What are secrets
  4. 6:45How to use encrypted secrets
  5. 7:50Demo
  6. 15:21Using Encryption
  7. 20:48Encrypted Configuration
  8. 21:24AES
  9. 21:51Stream vs Block
  10. 22:37What is DES
  11. 23:39How DES works
  12. 27:01AES Standard
  13. 29:45Should you use credentialstrike
  14. 30:52Alternatives
~/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.