~/talk

An Introduction To pgcrypto

Talkat Percona Tech Days 2020 · 2020-08-05..09-18· [security, databases]
links:none on file
slides:none on file

Shows how to install pgcrypto on Ubuntu Bionic, add CREATE EXTENSION pgcrypto, and use OpenPGP via gpg2; demonstrates digest() for MD5/SHA‑256, password hashing with salts (recommend SHA‑256 and SCRAM), gen_random_bytes() and gen_random_uuid(), and pgp public key workflow including exporting keys and running pgp_pub_encrypt()/pgp_pub_decrypt() in psql with d‑armor. Warns that raw symmetric encrypt/decrypt requires manual encode/decode, lacks integrity or signing, and that encryption raises CPU cost so selective use and never storing credit card data in plaintext are advised.

AI-written summary · about

  1. 0:00Introduction to pg crypto
  2. 1:33Installation and setup
  3. 4:02Hashing and checksums
  4. 7:15Overview of crypto functions
  5. 11:00HMAC and data encoding
  6. 13:51Password hashing techniques
  7. 15:39Random data and UUIDs
  8. 18:11Symmetric encryption
  9. 20:31Asymmetric PGP encryption
  10. 23:56Performance and best practices
~/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.