{"name":"jsrsasign","version":"10.8.1","description":"opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)","main":"lib/jsrsasign.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/kjur/jsrsasign.git"},"keywords":["crypto","cryptography","Cipher","RSA","ECDSA","DSA","RSAPSS","PKCS#1","PKCS#5","PKCS#8","private key","public key","CSR","PKCS#10","hash function","HMac","ASN.1","certificate","X.509","CRL","OCSP","RFC 3161","Digital Timestamp","Timestamp","Time Stamp Token","CMS","Cryptgraphic Message Syntax","PKCS#7","Signature","Digital Signature","signing","Message Digest","JSON Web Token","JWT","JSON Web Signature","JWS","JSON Web Key","JWK","JOSE","JWA"],"author":{"name":"Kenji Urushima"},"homepage":"http://kjur.github.io/jsrsasign/","license":"MIT","bugs":{"url":"https://github.com/kjur/jsrsasign/issues"},"dependencies":{},"devDependencies":{"mocha":"*"},"funding":"https://github.com/kjur/jsrsasign#donations","badges":{"list":["githubsponsors","crypto"],"config":{"githubSponsorsUsername":"kjur","cryptoURL":"https://github.com/kjur/jsrsasign#cryptocurrency"}},"gitHead":"9671f4b35992df3ceed61682aa713af216f06292","_id":"jsrsasign@10.8.1","_nodeVersion":"18.0.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-vlrtvCuhmFvKznjkJkQKHTQjg+Ol3t9S8cLiaOWFx87pk/OjNW/AfNG/3jQCB+e45otEz0JvNxOILwFg57JW5w==","shasum":"b29985f4d1b2c457baba28094987ab42dee557a5","tarball":"http://registry-npm.ywwl.com/jsrsasign/download/jsrsasign-10.8.1.tgz","fileCount":13,"unpackedSize":872618,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/AqYP5f5Ignkn+Trz2KDJi5D8Mm53rL94hHV5h8G4TAIhANOya6suQ6ulB0EHVXlltfSSj/pmHzMS9latsAqlNUxk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMgqnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRwBAAoX1NGtVCxO+1k/C09wiV0+fR/om6LmRqom2jLzCNOAD3JR/b\r\niN7fAloT4GKLa+ErD1MCcuuhWz2P9nuJgyA6g4c8ildxNSEPOk/xGhBw8o9b\r\nk2X+g1KG2OEs/9sRSHBKlKaVEXfIJuOIP6mP8M3FqmaFaiJRQkz2EEVixziN\r\n3XYmLhCBzzYfRQ0LfE+VrhwYIyuscuHRQ853Ay29JBWXkzerwZ2j8CbYjw7f\r\nXIqihYzVbbykZIrkpsvcLNbO8tIesnWoDkeCdBWu7OQN53P88rdrZNc0Xy8M\r\nnDekTDJBBRijmVrpek4fywqnGcyPrbhttZWEjNcAn750Q0nXtu4hXcmACOVp\r\n+qR0YHxYbp0CIPKpdr7iioYIf+dx2ryC/jCjFXH7tI6YqcMDNuVnvNcqnlfi\r\ngJuVlvgzr1OmAIiNL8j2SjDqy0WSgQSFZI/gaUY2qg3NjkEVWmMdH3bkpHCX\r\nOK/dOGa44KUMTXiTzK0SMsWJtaJipzOdhWFPAz5Oj6qTaBI6aUivv1V+tb5f\r\n15RayWsx0w3HUwc5A2c0UXGHD6NTKdqbbPkmiqfAhF9KLxCXZuY+WDQ+Dks3\r\nkxSvUWE86LGG1F8WYBBX23ZwBScELk+OMDmqMZq0mbc66abNxQqqCB7L/63l\r\nZCB3IfnEfG86bg7KE7KnFDDEWRPpHpUdIhQ=\r\n=0DCd\r\n-----END PGP SIGNATURE-----\r\n","size":240300,"noattachment":false,"key":"/jsrsasign/-/jsrsasign-10.8.1.tgz"},"_npmUser":{"name":"kjur","email":"kenji.urushima@gmail.com"},"directories":{},"maintainers":[{"name":"kjur","email":"kenji.urushima@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsrsasign_10.8.1_1681001126909_0.2666670710836676"},"_hasShrinkwrap":false,"readme":"jsrsasign\r\n=========\r\n\r\n[![license](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/kjur/jsrsasign/blob/master/LICENSE.txt)\r\n[![bower](https://img.shields.io/bower/v/jsrsasign.svg?maxAge=2592000)](https://libraries.io/bower/jsrsasign)\r\n[![npm version](https://badge.fury.io/js/jsrsasign.svg)](https://badge.fury.io/js/jsrsasign)\r\n[![npm downloads](https://img.shields.io/npm/dm/jsrsasign.svg)](https://www.npmjs.com/package/jsrsasign)\r\n[![jsdeliver downloads](https://data.jsdelivr.com/v1/package/npm/jsrsasign/badge)](https://www.jsdelivr.com/package/npm/jsrsasign)\r\n[![CDNJS](https://img.shields.io/cdnjs/v/jsrsasign.svg)](https://cdnjs.com/libraries/jsrsasign)\r\n[![githubsponsors](https://img.shields.io/badge/github-donate-yellow.svg)](https://github.com/sponsors/kjur)\r\n[![cryptocurrency](https://img.shields.io/badge/crypto-donate-yellow.svg)](https://github.com/kjur/jsrsasign#cryptocurrency)\r\n\r\njsrsasign [TOP](https://kjur.github.io/jsrsasign/) | [github](https://github.com/kjur/jsrsasign) | [Wiki](https://github.com/kjur/jsrsasign/wiki) | [DOWNLOADS](https://github.com/kjur/jsrsasign/releases) | [TUTORIALS](https://github.com/kjur/jsrsasign/wiki#programming-tutorial) | [API REFERENCE](https://kjur.github.io/jsrsasign/api/) | [Online Tool](https://github.com/kjur/jsrsasign/wiki/jsrsasign-Online-Tools) | [DEMO](https://github.com/kjur/jsrsasign/wiki/jsrsasign-Demo) | [NODE TOOL](https://github.com/kjur/jsrsasign/wiki/Sample-Node-Tool-List) | [AddOn](https://github.com/kjur/jsrsasign/wiki/jsrsasign-Add-On) | [DONATE](https://github.com/kjur/jsrsasign#donations)\r\n\r\nThe 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES JSON Web Signature/Token/Key in pure JavaScript.\r\n\r\nPublic page is https://kjur.github.io/jsrsasign .\r\n\r\nYour bugfix and pull request contribution are always welcomed :)\r\n\r\nNOTICE FOR COMMING 11.0.0 RELEASE\r\n---------------------------------\r\nThe \"jsrsasign\" library is a long lived JavaScript library from 2010 developed with old JavaScript style and backword compatibility. From coming release 11.0.0, following are planed and suport them gradually:\r\n- Stop to support Internet Explorer.\r\n- Stop to support bower.\r\n- Modern ECMA functions will be introduced such as Promise, let, Array methods or class.\r\n- API document generator will be changed from Jsdoc Toolkit to JSDoc3.\r\n- Module bandler will be used such as browserify or webpack.\r\n- Not to use YUI compressor.\r\n- Unit test framework will be changed from QUnit and mocha to jest.\r\n- W3C Web Crypto API support.\r\n- split into some modules besides jsrsasign have been all in package before 11.0.0.\r\n\r\nNEWS\r\n----\r\n- 2023-Mar-12: [10.7.0 Release](https://github.com/kjur/jsrsasign/releases/tag/10.7.0). Now supports custom X.509 extension and custom OIDs by new \"Add-on\" architecture. ([See here in detail](https://github.com/kjur/jsrsasign/wiki/jsrsasign-Add-On2))\r\n- 2021-Nov-21: [10.5.0 Release](https://github.com/kjur/jsrsasign/releases/tag/10.5.0). Now supports secp521r1(P-521) ECDSA.\r\n- 2021-Apr-14: [Security advisory](https://github.com/kjur/jsrsasign/security/advisories/GHSA-27fj-mc8w-j9wg) and [update](https://github.com/kjur/jsrsasign/releases/tag/10.2.0) for CVE-2021-30246 RSA signature validation vulnerability published\r\n- 2020-Oct-05: jsrsasign won [Google Open Source Peer Bonus Award](https://opensource.googleblog.com/2020/10/announcing-latest-google-open-source.html). Thank you Google.\r\n- 2020-Sep-23: 10.0.0 released for CMS SignedData related class including timestamp and CAdES architecture update\r\n- 2020-Aug-24: 9.1.0 released to new CRL APIs align with certificate\r\n- 2020-Aug-19: 9.0.0 released for major update of certificate and CSR generation and parsing without backward compatibility. Please see [migration guide](https://github.com/kjur/jsrsasign/wiki/NOTE-jsrsasign-8.0.x-to-9.0.0-Certificate-and-CSR-API-migration-guide) in detail.\r\n- 2020-Aug-02: twitter account [@jsrsasign](https://twitter.com/jsrsasign) started for announcement. please follow.\r\n\r\nHIGHLIGHTS\r\n----------\r\n- Swiss Army Knife style all in one package crypto and PKI library\r\n- available on [Node.js](https://www.npmjs.com/package/jsrsasign) and browsers\r\n- Long live open source software from 2010\r\n- very easy API to use\r\n- powerful various format key loader and ASN.1 API\r\n- rich document and samples\r\n- no dependency to other library\r\n- no dependency to [W3C Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/) nor [OpenSSL](https://www.openssl.org/)\r\n- no dependency on newer ECMAScirpt function. So old browsers also supported. \r\n- very popular crypto library with [1M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2023-04-20)\r\n- supports \"Add-on\" architecture\r\n\r\nINSTALL\r\n-------\r\n### Node NPM\r\n    > npm install jsrsasign jsrsasign-util\r\n### Bower\r\n    > bower install jsrsasign\r\n### Or include in HTML from many CDN sites\r\n    > <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jsrsasign/8.0.20/jsrsasign-all-min.js\"></script>\r\n\r\nUSAGE\r\n-----\r\n\r\nLoading encrypted PKCS#5 private key:\r\n\r\n    > var rs = require('jsrsasign');\r\n    > var rsu = require('jsrsasign-util');\r\n    > var pem = rsu.readFile('z1.prv.p5e.pem');\r\n    > var prvKey = rs.KEYUTIL.getKey(pem, 'passwd');\r\n\r\nSign string 'aaa' with the loaded private key:\r\n\r\n    > var sig = new a.Signature({alg: 'SHA1withRSA'});\r\n    > sig.init(prvKey);\r\n    > sig.updateString('aaa');\r\n    > var sigVal = sig.sign();\r\n    > sigVal\r\n    'd764dcacb...'\r\n\r\nMORE TUTORIALS AND SAMPLES\r\n--------------------------\r\n- [Tutorials in GitHub Wiki](https://github.com/kjur/jsrsasign/wiki)\r\n- [Sample Node Scripts](https://github.com/kjur/jsrsasign/tree/master/sample_node)\r\n\r\n## RECENT SECURITY ADVISORY\r\n\r\n|published|fixed version|title/advisory|CVE|CVSS|\r\n|:---|:---|:---|:---|:---|\r\n|2022Jun24|10.5.25|[JWS and JWT signature validation vulnerability with special characters](https://github.com/kjur/jsrsasign/security/advisories/GHSA-3fvg-4v2m-98jf)|CVE-2022-25898|?|\r\n|2021Apr14|10.2.0|[RSA signature validation vulnerability on maleable encoded message](https://github.com/kjur/jsrsasign/security/advisories/GHSA-27fj-mc8w-j9wg)|CVE-2021-30246|9.1|\r\n|2020Jun22|8.0.19|[ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding](https://github.com/kjur/jsrsasign/security/advisories/GHSA-p8c3-7rj8-q963)|CVE-2020-14966|5.5|\r\n|2020Jun22|8.0.18|[RSA RSAES-PKCS1-v1_5 and RSA-OAEP decryption vulnerability with prepending zeros](https://github.com/kjur/jsrsasign/security/advisories/GHSA-xxxq-chmp-67g4)|CVE-2020-14967|4.8|\r\n|2020Jun22|8.0.17|[RSA-PSS signature validation vulnerability by prepending zeros](https://github.com/kjur/jsrsasign/security/advisories/GHSA-q3gh-5r98-j4h3)|CVE-2020-14968|4.2|\r\n\r\nHere is [full published security advisory list](https://github.com/kjur/jsrsasign/security/advisories?state=published).\r\n\r\n## DONATIONS\r\n\r\nIf you like jsrsasign and my other project, you can support their development by donation through any of the platform/services below. Thank you as always.\r\n\r\n### Github Sponsors\r\nYou can sponsor jsrsasign with the [GitHub Sponsors](https://github.com/sponsors/kjur) program.\r\n\r\n### Cryptocurrency\r\nYou can donate cryptocurrency to jsrsasign using the following addresses:\r\n- Bitcoin(BTC): [34vSRe7XHoMy78HKgps9YJ5BrBLYJLeM22](https://en.cryptobadges.io/donate/34vSRe7XHoMy78HKgps9YJ5BrBLYJLeM22)\r\n- Ethereum(ETH): [0x9c4cdbb531e5b84796ff5f91a9f652704761e64e](https://en.cryptobadges.io/donate/0x9c4cdbb531e5b84796ff5f91a9f652704761e64e)\r\n- Litecoin(LTC): [LPf3VDJVamwPcNJNjjVtrUQuJQ17ZyWzeU](https://en.cryptobadges.io/donate/LPf3VDJVamwPcNJNjjVtrUQuJQ17ZyWzeU)\r\n- Bitcoin Cash(BCH): bitcoincash:pq3hy08pc9vm57q6ddgsc06cqdffmfzwwqxd9yejyf\r\n\r\n\r\n","publish_time":1681001127047,"deprecated":"This package is no longer maintained.","_cnpm_publish_time":1681001127047,"dist-tags":{"latest":"11.1.5"}}