Skip to content

Conversation

@ColtonWilley
Copy link
Contributor

Adds optional SEED-SRC provider algorithm that caches /dev/urandom file handle for fork-safe entropy, matching OpenSSL's default provider behavior. This enables wolfProvider to work in seccomp-sandboxed applications like OpenSSH where openat() is blocked after fork.

Key features:
Lazy /dev/urandom open on first entropy request
Thread-safe with mutex protection
Registers wolfSSL seed callback for fork detection
Disabled by default, enable with --enable-seed-src

@ColtonWilley ColtonWilley requested a review from SparkiDev January 7, 2026 21:07
Copy link
Contributor

@padelsbach padelsbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

first round of comments submitted ...

@ColtonWilley
Copy link
Contributor Author

jenkins retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants