forge
forge copied to clipboard
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
Kindly, help me solve this error of Malformed URI when encrypting string using md5. ## The error is: ```bash URIError: URI malformed at decodeURIComponent () at Object.util.decodeUtf8 (/home/pi/Projects/scratcher/node_modules/node-forge/lib/util.js:1671:10) at ByteStringBuffer.util.ByteStringBuffer.toString...
``` TypeError: Cannot read property 'tag' of undefined at /home/wh0ami/WebstormProjects/fsociety/index.js:24:32 at Layer.handle [as handle_request] (/home/wh0ami/WebstormProjects/fsociety/node_modules/express/lib/router/layer.js:95:5) at next (/home/wh0ami/WebstormProjects/fsociety/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/wh0ami/WebstormProjects/fsociety/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/home/wh0ami/WebstormProjects/fsociety/node_modules/express/lib/router/layer.js:95:5) at /home/wh0ami/WebstormProjects/fsociety/node_modules/express/lib/router/index.js:281:22 at Function.process_params...
we are facing the problem in **RSA/ECB/OAEPWITHSHA-256ANDMGF1PADDING** encryption in node.js decryption in java. below i can share my code in node: ``` var nodeForgeRsaEncryption = function (data,publicKeyPem){ var buf =...
I think it makes for a nice addition to allow digestInfo to be extracted and signed off-platform when the private key isn't available and the private-key owner's platform doesn't support...
**Use-case:** take existing pkcs12, extend it with a new entry and save to filesystem as p12. **Issue:** `PKCS#12 PFX object` cannot be converted to `asn1 object` Looking at the available...
I just started looking into Forge and it looks potentially very useful, but I did notice something troubling.. It appears that (unless deliberately overridden) the X509 routines default to using...
I have an angular app generating a CSR it works except for adding extensions/attributes to the CSR (I can successfully ad a subject, public key, get it signed, the resulting...
Hi, I am trying to leverage forge inside a chrome extension. I was able to import **forge.all.min.js** through the content script section of the manifest, like so : ```json [{...
While trying to parse DERs of PKCS#7 EnvelopedData using RustCrypto, I found that node-forge generates CMS spec non-compliant ASN.1 structures. Since the details have already been discussed in the RustCrypto/formats...
Hi there, I am writing to report some bugs. We found that the `forge` can accept the empty attributes in the issuer/subject. For example, if the issuer cert's subject field...