Commit Graph

5 Commits (a54166c90115041a8dc1c9fe3e2d2e39b452b842)

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 162110c1fb feat: enforce CCN-STIC-221 crypto constraints and bump to v3.0.0 2026-08-04 22:23:56 +02:00
Marcos Sanz Latorre 179fdf11e4 refactor: extract createSigner factory and add signature algorithm OID 2026-08-04 22:12:14 +02:00
Marcos Sanz Latorre db7b45d445 refactor: extract RsaSigner for crypto-agility seam 2026-08-04 13:40:37 +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