~/talk

Keychain Unlocked

Talkat SwiftLeeds 2025 · 2025-10-07..10-08· [security, ios]
slides:none on file

Practical guide to using the Keychain Services C API with concrete patterns: a lightweight Swift wrapper that builds a base query, uses match limit one, implements set/get/delete, and shows Codable-backed values; recommends Apple’s new Swift Configuration for simple cases. Covers app group sharing setup and a working pattern to auto-erase on reinstall by using a scramble key stored in UserDefaults to rekey entries, and shows biometry-protected keys using accessible flags (WhenUnlockedThisDeviceOnly + CurrentSet) plus a two-key pattern to detect biometric signature changes.

AI-written summary · about

  1. 0:00Introduction to keychain
  2. 2:44Keychain API architecture
  3. 5:04Building a wrapper
  4. 7:32Data storage patterns
  5. 14:07Keychain sharing
  6. 17:13Reinstallation management
  7. 20:15Biometric protection
  8. 24:52Advanced security flows
  9. 27:35Conclusion and wrap-up
~/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.