~/talk

Building an OpenSSL 3 provider for PKCS11

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [security, cryptography]
links:none on file
slides:none on file

A working OpenSSL 3 OpenSSL provider for PKCS#11 is implemented as a loadable module that translates OpenSSL provider calls to PKCS#11 driver calls, supports PINs in config, and lists keys via pkcs11 URI lookup (demo returns 12 keys). Development uses heavy source reading, GDB, and trial‑and‑error to implement encoders/decoders and key manager hooks. It already interoperates with PKCS11‑kit as a PKCS11-kit proxy for multiple drivers and mostly works with OpenSSL consumers; next steps are integrating with OpenSSH/sshd.

AI-written summary · about

  1. 0:00Introduction
  2. 0:20Outline
  3. 0:43The problem
  4. 1:13What are providers
  5. 2:32What is a provider
  6. 3:23Provider vs engine
  7. 4:07What is the difference
  8. 6:01Available providers
  9. 6:55PKCS11 API
  10. 7:26PKCS11 Standard
  11. 8:54What is the PKCS7 Provider
  12. 9:30Goals for the PKCS11 Provider
  13. 12:42Configuration
  14. 13:57Print
  15. 15:15Writing a provider
  16. 18:43What are operations
  17. 20:09Function table
  18. 21:10Key retrieval Key management
  19. 22:40Signature operations
  20. 25:31Hard areas
  21. 27:54Next steps
  22. 28:41Summary
~/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.