Skip to content

feat: use secure buffers for HMAC and PBKDF2 secrets - #48

Merged
LimiNode merged 1 commit into
mainfrom
codex/refactor-key-handling-to-use-secure_buffer
Sep 5, 2025
Merged

feat: use secure buffers for HMAC and PBKDF2 secrets#48
LimiNode merged 1 commit into
mainfrom
codex/refactor-key-handling-to-use-secure_buffer

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 5, 2025

Copy link
Copy Markdown
Owner

Summary

  • replace temporary HMAC buffers with secure_buffer and zeroize after use
  • add secure_buffer support across PBKDF2 and time-token helpers
  • expose vector/secure_buffer-first APIs for secrets and deprecate std::string overloads
  • document PBKDF2/HKDF helpers and secure buffer utilities with Doxygen
  • document secure_buffer overloads for PBKDF2 and TOTP validators
  • document how to convert string API keys into secure_buffer in README files

Testing

  • cmake -S . -B build
  • cmake --build build
  • ctest --test-dir build

https://chatgpt.com/codex/tasks/task_e_68bb2c387c90832c875e8353fd80df9f

@LimiNode
LimiNode merged commit 748b0f8 into main Sep 5, 2025
5 checks passed
@LimiNode
LimiNode deleted the codex/refactor-key-handling-to-use-secure_buffer branch September 6, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant