forge
                                
                                 forge copied to clipboard
                                
                                    forge copied to clipboard
                            
                            
                            
                        A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
I just added ECDSA support with elliptic. Supported algo: - secp192r1, prime192v1 - secp256r1, prime256v1 - secp224r1 - secp384r1 - secp521r1 - secp256k1 Features: - key generation - DER/PEM encoding/decoding...
I noticed that this library has support for a decent range of password-based key derivation function. Does this library also support HKDFs? If not, how can one help in adding...
This is now required for browser certificates, according to https://crt.sh/lintcert, but node-forge doesn't seem to support it at all yet. The spec is here: https://www.rfc-editor.org/rfc/rfc5280.html#section-4.2.2.1
I’m creating “bogus” x509 certificates for testing using forge.js. (https://tlstest.site) I’d like to use the certificatePolicies extension to indicate a DV or OV certificate. I noticed that, while the certificatePolicies...
Hello, I am trying to generate a CMS signature and my code is working when using a x509 certificate with no special characters. However, when using one that contains accents...
After importing my PEM encoded X.509 certificate, and trying to do `const cert = forge.pki.certificateFromPem(myCertificate)` I got this error Cannot read public key. OID is not RSA By trying to...
The default signature algorithm for the `CertificateRequest` `sign()` method should be updated to at least SHA-256 not SHA-1 as SHA-1 is considered obsolete by certificate authorities like Let’s Encrypt (see...
I'm using a key in two different use cases. 1. It's stored in a file and works normally. 1. It's added by the user as a string, and this case...
I am trying to create x509 certs by following code mentioned in [x.509](https://github.com/digitalbazaar/forge#x509) but for generating keys instead of RSA, I am using [ed25519](https://github.com/digitalbazaar/forge#ed25519) However, line `cert.sign(keys.privateKey);` fails with below...