Commit Graph

2 Commits (5fcf0f98cd14f4ddade311efed5f8f7fa5e5c8fc)

Author SHA1 Message Date
Marcos Sanz Latorre a54166c901 refactor: make CCN-STIC-221 enforcement opt-in via strictCrypto
Replace the always-on `allowLegacyEncryption` / default-on RSA checks
with a single `strictCrypto` flag on both `SignOption` and
`EncryptOption`. All modes and key lengths work by default; set
`strictCrypto: true` to enforce the approved-algorithms rules.
Update tests, externs, type declarations, and docs accordingly.
2026-08-04 23:42:43 +02:00
Marcos Sanz Latorre 185f760790 feat: enforce CCN-STIC-221 crypto constraints on sign and encrypt 2026-08-04 11:53:47 +02:00