Skip to content

README: add FreeHSM to the downstream projects list - #280

Merged
cpu merged 2 commits into
C2SP:mainfrom
afchine1337:patch-1
Oct 12, 2026
Merged

cpu merged 2 commits into
C2SP:mainfrom
afchine1337:patch-1

Conversation

@afchine1337

Copy link
Copy Markdown
Contributor

FreeHSM (https://github.com/afchine1337/freehsm) is an open-source PKCS#11 v3.2 software module in C, built on OpenSSL 3.5's FIPS provider. It runs the Wycheproof test vectors through its PKCS#11 interface: a harness in tests/wycheproof/ with one adapter per vector family, run in CI on every push (.github/workflows/wycheproof.yml), and again through pkcs11-check.

The vectors have found real defects in the module: valid RSA-PSS signatures rejected because the caller's MGF was ignored, invalid EdDSA public keys accepted on import, and ML-DSA context strings over 255 bytes handled neither as FIPS 204 requires nor consistently.

Thank you for maintaining them.

FreeHSM (https://github.com/afchine1337/freehsm) is an open-source PKCS#11
v3.2 software module in C, built on OpenSSL 3.5's FIPS provider. It runs the
Wycheproof test vectors through its PKCS#11 interface: a harness in
tests/wycheproof/ with one adapter per vector family, run in CI on every push
(.github/workflows/wycheproof.yml), and again through pkcs11-check.

The vectors have found real defects in the module: valid RSA-PSS signatures
rejected because the caller's MGF was ignored, invalid EdDSA public keys
accepted on import, and ML-DSA context strings over 255 bytes handled
neither as FIPS 204 requires nor consistently.

Thank you for maintaining them.

@cpu cpu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR! Happy to hear the vectors have been helpful to your project.

@cpu
cpu merged commit ead91f8 into C2SP:main Oct 12, 2026
3 of 4 checks passed
@afchine1337
afchine1337 deleted the patch-1 branch October 17, 2026 19:56
afchine1337 added a commit to afchine1337/freehsm that referenced this pull request Oct 17, 2026
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