~/talk

Can you keep a secret?

Talkat PyConline AU 2020 · 2020-09-04..09-06· [security]
slides:none on file

Median discovery time for leaked keys is 20 seconds and worst-case testing hit about four minutes, so assume immediate compromise. Practical fixes shown: keep credentials out of code using environment variables, use direnv-style per-directory loading, encrypt shared files with git-secret/PGP for development, rotate keys and use a KMS in production, block commits with git-secrets git hooks, and hunt past leaks with git-leaks. Demos include creating encrypted key files, automatic loading/unloading of vars, and hook-enforced failure so the workflow stays low-friction and actually adopted.

AI-written summary · about

  1. 0:00CAN YOU KEEP A SECRET? @AARONBASSETT
  2. 8:16LOW FRICTION
  3. 8:29EASY TO IMPLEMENT
  4. 9:0012 FACTOR APPS
  5. 9:19III. CONFIG
  6. 12:34CREATING ENVIRONMENT VARIABLES
  7. 15:16SHARING SECRET FILES
  8. 15:30ENCRYPTION AT REST
  9. 15:49CLIENT-SIDE FIELD LEVEL ENCRYPTION
  10. 19:55GIT SECRETS
  11. 20:43PROVIDERS
  12. 22:29AUDIT GIT REPOS FOR SECRETS. GITZEAKS PROVIDES A WAY FOR YOU TO FIND UNENCRYPTED SECRETS AND OTHER UNWANTED DATA TYPES W GIT SOURCE CODE REPOSITORIES
  13. 23:26KEEP SECRETS AND CODE SEPARATE
  14. 23:38AUTOMATE, AUTOMATE, AUTOMATE
  15. 23:59LATE IS BETTER THAN NEVER
~/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.