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
zboris12
45995fd2ae
Merge pull request #12 from Th3G33k/main
...
fix character encoding + fix signAndProtect
2025-09-28 16:27:01 +09:00
Th3G33k
bb8faab7d7
Update zgapdfsigner.js - revert commit
2025-09-23 15:12:28 -10:00
zboris12
66bec77187
In Node.js mode, changed it to use Node.js' built-in fetch method if available.
...
And this may also solve issue #11 .
2025-09-13 20:13:00 +09:00
Th3G33k
32a3b5f1e0
Update zgapdfsigner.js - fix signAndProtect
2025-09-08 08:59:30 -10:00
Th3G33k
4bdbeabaa2
Update zgapdfsigner.js - fix signAndProtect
2025-09-08 08:57:06 -10:00
Th3G33k
d427170408
Update zgapdfcryptor.js - fix character encoding
2025-09-08 08:49:20 -10:00
Yurii
86571800bd
fix: Remove unnecessary LDAP query of Certificate Revocation List during signing process (which is not supported and lead to exception).
2024-09-25 21:34:15 +03:00
zboris12
0d39f569ae
Changed to allow TSA feature in web browser
2024-08-24 12:17:43 +09:00
zboris12
9706bfe31a
Improved to support font subsetting and changed to use pdf-fontkit.
2024-08-19 21:33:38 +09:00
zboris12
4def4068f7
Improved to reuse the font if it is already embedded in the PDF.
2024-08-18 21:32:27 +09:00
zboris12
1f92ca61d7
Added support for typescript development.
2024-08-17 11:51:46 +09:00
zboris12
de687d8bf7
Fixed a bug of break line.
2024-08-10 20:12:19 +09:00
zboris12
0505fd1e0e
Working on text signature and placing on multiple pages.
2024-08-09 21:57:20 +09:00
zboris12
fd2b97d5b3
Working on text signature.
2024-08-04 20:07:21 +09:00
Marcos Sanz
e6361df479
Add name to signature
2023-02-27 07:05:24 +01:00
Marcos Sanz
e37d5b1ce1
fix(node): added pkg follow-redirects
...
Added follow-redirects package to allow the urlFetch function to follow the redirect that some cert providers has. For example: http://www.accv.es/gestcert/ACCVCA120SHA2.cacert.crt
2023-02-24 12:51:21 +01:00
Marcos Sanz
202edbc768
Fix EU signature
...
Fix signature to have a check in: Is the signature intact?
2023-02-24 12:09:38 +01:00
zboris12
dd52e4e8be
Working on LTV, Completeness is 90%.
2022-11-14 22:20:19 +09:00
zboris12
3f0dd0af9f
Changed folder structure and working on LTV.
2022-11-06 18:03:48 +09:00