~/talk

Can you keep a secret?

Talkat PyGotham 2019 · 2019-10-04..10-05· [security]
slides:none on file

Hard-coded keys leak fast — a paper shows median discovery on GitHub is 20 seconds (as low as 0.5 seconds, max ~4 minutes). Keep config in environment variables, load per-project with direnv/.envrc or virtualenv activate scripts, and set defaults in code. Encrypt sharable secrets with git-secret (PGP; use git secret hide/reveal), block commits with git-secrets regex hooks, and scan repos or PRs with git-leaks in CI. Aim to remove secrets from code in minutes and automate checks to prevent regressions.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:32Why secrets leak in code
  3. 6:1812-factor apps and config
  4. 8:51Environment variables in Python
  5. 11:23Managing env vars with direnv
  6. 13:00Sharing secrets securely
  7. 14:12Git Secret for encrypted files
  8. 17:50Git Secret access management
  9. 19:25Git Secrets for commit scanning
  10. 23:31Git Leaks for post-push checks
  11. 25:24Summary and best practices
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.