5.16.124 • Published 1 year ago

@diotoborg/laudantium-itaque-esse v5.16.124

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@diotoborg/laudantium-itaque-esse

license npm version npm downloads jsdeliver downloads CDNJS githubsponsors cryptocurrency

@diotoborg/laudantium-itaque-esse TOP | github | Wiki | DOWNLOADS | TUTORIALS | API REFERENCE | Online Tool | DEMO | NODE TOOL | AddOn | DONATE

The '@diotoborg/laudantium-itaque-esse' (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.

Public page is https://kjur.github.io/@diotoborg/laudantium-itaque-esse .

Your bugfix and pull request contribution are always welcomed :)

NOTICE FOR COMMING 11.0.0 RELEASE

The "@diotoborg/laudantium-itaque-esse" 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:

  • Stop to support Internet Explorer.
  • Stop to support bower.
  • Modern ECMA functions will be introduced such as Promise, let, Array methods or class.
  • API document generator will be changed from Jsdoc Toolkit to JSDoc3.
  • Module bandler will be used such as browserify or webpack.
  • Not to use YUI compressor.
  • Unit test framework will be changed from QUnit and mocha to jest.
  • W3C Web Crypto API support.
  • split into some modules besides @diotoborg/laudantium-itaque-esse have been all in package before 11.0.0.

NEWS

  • 2024-Jan-16: Security advisory and update for Marvin attack vulnerability published. Due to this vulnerability, RSA PKCS#1.5 and RSAOAEP encryption/decryption no longer be supported.
  • 2023-Mar-12: 10.7.0 Release. Now supports custom X.509 extension and custom OIDs by new "Add-on" architecture. (See here in detail)
  • 2021-Nov-21: 10.5.0 Release. Now supports secp521r1(P-521) ECDSA.
  • 2021-Apr-14: Security advisory and update for CVE-2021-30246 RSA signature validation vulnerability published
  • 2020-Oct-05: @diotoborg/laudantium-itaque-esse won Google Open Source Peer Bonus Award. Thank you Google.
  • 2020-Sep-23: 10.0.0 released for CMS SignedData related class including timestamp and CAdES architecture update
  • 2020-Aug-24: 9.1.0 released to new CRL APIs align with certificate
  • 2020-Aug-19: 9.0.0 released for major update of certificate and CSR generation and parsing without backward compatibility. Please see migration guide in detail.
  • 2020-Aug-02: twitter account @@diotoborg/laudantium-itaque-esse started for announcement. please follow.

HIGHLIGHTS

  • Swiss Army Knife style all in one package crypto and PKI library
  • available on Node.js and browsers
  • Long live open source software from 2010
  • very easy API to use
  • powerful various format key loader and ASN.1 API
  • rich document and samples
  • no dependency to other library
  • no dependency to W3C Web Cryptography API nor OpenSSL
  • no dependency on newer ECMAScirpt function. So old browsers also supported.
  • very popular crypto library with 1M+ npm downloads/month
  • supports "Add-on" architecture

INSTALL

Node NPM

> npm install @diotoborg/laudantium-itaque-esse @diotoborg/laudantium-itaque-esse-util

Bower

> bower install @diotoborg/laudantium-itaque-esse

Or include in HTML from many CDN sites

> <script src="https://cdnjs.cloudflare.com/ajax/libs/@diotoborg/laudantium-itaque-esse/8.0.20/@diotoborg/laudantium-itaque-esse-all-min.js"></script>

USAGE

Loading encrypted PKCS#5 private key:

> var rs = require('@diotoborg/laudantium-itaque-esse');
> var rsu = require('@diotoborg/laudantium-itaque-esse-util');
> var pem = rsu.readFile('z1.prv.p5e.pem');
> var prvKey = rs.KEYUTIL.getKey(pem, 'passwd');

Sign string 'aaa' with the loaded private key:

> var sig = new a.Signature({alg: 'SHA1withRSA'});
> sig.init(prvKey);
> sig.updateString('aaa');
> var sigVal = sig.sign();
> sigVal
'd764dcacb...'

MORE TUTORIALS AND SAMPLES

RECENT SECURITY ADVISORY

publishedfixed versiontitle/advisoryCVECVSS
2024Jan1611.0.0Marvin attack vulnerability for RSA and RSAOAEP decryptionCVE-2024-214847.5
2022Jun2410.5.25JWS and JWT signature validation vulnerability with special charactersCVE-2022-25898?
2021Apr1410.2.0RSA signature validation vulnerability on maleable encoded messageCVE-2021-302469.1
2020Jun228.0.19ECDSA signature validation vulnerability by accepting wrong ASN.1 encodingCVE-2020-149665.5
2020Jun228.0.18RSA RSAES-PKCS1-v1_5 and RSA-OAEP decryption vulnerability with prepending zerosCVE-2020-149674.8
2020Jun228.0.17RSA-PSS signature validation vulnerability by prepending zerosCVE-2020-149684.2

Here is full published security advisory list.

DONATIONS

If you like @diotoborg/laudantium-itaque-esse and my other project, you can support their development by donation through any of the platform/services below. Thank you as always.

Github Sponsors

You can sponsor @diotoborg/laudantium-itaque-esse with the GitHub Sponsors program.

Cryptocurrency

You can donate cryptocurrency to @diotoborg/laudantium-itaque-esse using the following addresses:

cloudwatchbatchpruneremoveArray.prototype.filterES2020clienttakesuperagentutil.inspectroute53eslintconfiges2016dropwafopenstreamssideinspectreadablepicomatchargvobjectless mixinsdataredirectendpointReflect.getPrototypeOfmatchvalidatettyfullwidthECMAScript 2017columnweakmapregularpreprocessorcloudformationkarmaspinnercoercibleprogressObject.isestreepackage.jsononceperformancediffmatchAlliamratelesscsscharacterasciiformatgetterflags@@toStringTagwatchFile_.extendworkflowguidwrapfast-copyInt8Arraymodulesnodejscommandercollection.es6stylesoptimistcommandslothasOwnPropertyextensionfsunicoderobusttoStringTagArray.prototype.flatMapvestcjkcode pointswidthSetbundlermiddlewarearraysWebSockettypesafeECMAScript 2021trimRighttoobjectwatcherregexObject.definePropertyjestdeepeslintfindupwarningfiltersearchform-validationeslint-pluginArray.prototype.flathttpsmakeredactglacierenderpromisermcompile lessreduxlook-upchromeoptionconsolestreamECMAScript 2023computed-typesES2018fastifyECMAScript 2018private dataInt16Arraypatchairbnbbreakpostcss-pluginequallintformattingbundlingstateterminalsyntaxerrorcloudsearchyupjoidotenvflatStyleSheetshellio-tsregexpgradients cssoutputes2017call-boundtouch[[Prototype]]predictablehookformrapidfunctionaldayjstimenpmawslimitrfc4122wordwraptoSortedsharedarraybufferhttpbluebirdtapansisesdefineStreamchineseschemeextendECMAScript 2016equalityqsiterationavareact-hook-formzodcallbackjsdomintrinsicmulti-packagereducerstreams2numberroutingaccessibilityreplayhasOwnsettingsswfprivatepositivedescriptorsnodereact-testing-librarygetPrototypeOfreducestyleguidedeepcloneclassnamejwtutilecmascriptjsonpathpromisesfluxdependenciesworkspace:*i18nRxmimetypescss nestingagentbeanstalkes-shimsdebugtestingponyfillFunction.prototype.nameObject.entriesstringifierformsES5libphonenumberString.prototype.trimtoolsfile systembytemkdirtermsymlinkfpsquotebindgetintrinsicgetoptesredux-toolkitencryptionratelimitloggingrdsimmerstringdirbyteOffsetwatchinglastshamincludesregular expressionstringifyphoneloggdprisConcatSpreadableparentlazyclasseshigher-ordertaskflaghooksnamemaptextajaxchecklimitedes8Object.getPrototypeOffetchkeykoreanES8make dirdeep-clonejseast-asian-widthcharactershotmodulequeryconnectprefixparentsuninstalljasminepreserve-symlinksbootstrap lesshelpersIteratorconfigbuffersreact-hookschannelArray.prototype.findLastIndexObservablespathlanguagemovefindLastIndexAsyncIteratorwhatwgkinesisTypedArrayMicrosoftargumentECMAScript 5enumerablefast-clonenativepersistentsequenceTypeScriptvaluesperformantforEachpropless compilergenericstoolkitjsdiffdatemetadatastdlibweaksetcloudtrailpropertystylesetImmediaterequestES2023trimenvironmentutilityESimmutablefunctiontc39BigInt64ArrayPushdefinePropertybyteLengthrm -rfcallboundmochagrouplengthfindfulls3fromcontainsemrschemacolorwriteloadingrgbhardlinksgetvaluekeysefficientprettyrm -frpackageCSSStyleDeclarationObject.keyslivereactapollofastcopychromiumsimpledbtypeECMAScript 2022JSONsns__proto__sameValueZerovalidES3compiler$.extenddescriptorglobsetPrototypeOfSymbolJSON-SchemaWeakMapfigletcopyiddeterministicdynamodbeventEmittereveryasttypeerrorinstalles-shim APIArray.prototype.findLastinternallruparsesorteddependency managerpipeUint32Arrayidlecallmkdirpregular expressionses2018xhriecomparetoArrayaccessorinpostcsstypanionmimeStreamsArray.prototype.includestypedarraysownwgetconcatMaptyped arraycloudfrontzeroinferenceiteratorcircularArrayBuffer.prototype.sliceamazonFloat64ArrayjapaneseObservablejavascriptinternal slotes6ObjectframeworklocationbddArrayBuffer#slicepnpm9elmlinewraptestdatastructure-0Array.prototype.flattenes2015ES2017debuggerdataViewwalkwebspinnersES2015ReactiveExtensionsESnextclassnamesrmdiriteratestylinglistenerscreatebootstrap cssHyBipasswordupwritableeslintpluginwaittelephonerangeerrorimportexportutilitiesshebangUnderscoreexpresslockfileentriesBigUint64ArrayES2021fileflatMapArrayextramonorepoexpressionruntimecss-in-jserrormime-dbbannerWeakSettrimLeftgroupByqueueObject.fromEntriesmatcheselbvariables in cssoffsetfastcloneargscall-bindtraverseclass-validatorsymlinksarktypeYAMLboundECMAScript 3randomObject.valuesstableescapeslicetypesfunctionsES2022lessargparseES2019find-upfastexecstylesheetelectronmrunested cssminimalsymbolconsumehas-ownajvcolourvalidationES2016Array.prototype.containsflattenvariablesbrowserlistsyntaxchaideletefindLastECMAScript 7viewes7deepcopyString.prototype.matchAlltddstoragegatewaysymbolsxtermqueueMicrotaskArrayBufferES7watchespreesettercss variablewalkingURLSearchParamsprotocol-buffersfolderObject.assignresolveawesomesaucees5256full-widthcensorthroatrequirefixed-widthECMAScript 2019ECMAScript 2015TypeBoxspectslibconcatcolumnsPromiseWebSocketsspeedoptimizerindicatortrimStarttypeoffast-deep-clonearraybufferpushassertsmobilebcryptworkerisECMAScript 6less.jsgradients css3artdeep-copyl10nCSSECMAScript 2020statelessnegativelookwhichFloat32Arraygraphqlreal-timesuperstructec2.envcsstapeRegExp#flagsless cssES6starterrouteassertioncryptostructuredCloneapihashbrowserslistduplexmergeSymbol.toStringTagserializequerystringauthenticationebsjsonstyled-componentsawaitreadUint16Arraytestertostringtagscheme-validationcodesnamesserialization0curldirectorycorseventssomerecursivepolyfillbusybrowsercommand-lineelasticacheproxyReactiveXtypedarrayshimmixinscoreshrinkwrapa11ypackages
@diotoborg/harum-neque@diotoborg/sapiente-nihil-sunt@diotoborg/sed-tempora-natus@diotoborg/suscipit-officia@diotoborg/temporibus-fugiat@diotoborg/veritatis-sapiente@diotoborg/tenetur-hic@diotoborg/ullam-neque-voluptates@diotoborg/similique-fugit@diotoborg/sunt-necessitatibus@diotoborg/sunt-iure@diotoborg/tempore-beatae-debitis@diotoborg/tempore-ad-veritatis@diotoborg/sequi-perspiciatis@diotoborg/soluta-amet-enim@diotoborg/suscipit-amet@diotoborg/tenetur-nobis-maiores@diotoborg/vero-ab@diotoborg/voluptas-nulla@diotoborg/sit-voluptas@diotoborg/velit-labore@diotoborg/veniam-blanditiis-sit@diotoborg/veritatis-nihil-vero@diotoborg/veritatis-nobis@diotoborg/voluptatum-quae@diotoborg/voluptatibus-impedit@diotoborg/voluptatibus-officiis@diotoborg/voluptatem-quod-magnam@diotoborg/voluptatibus-earum@diotoborg/sit-illo@diotoborg/sunt-totam@diotoborg/ab-harum@diotoborg/accusantium-reprehenderit-commodi@diotoborg/aliquid-fugit@diotoborg/adipisci-dolorum@diotoborg/amet-cum-culpa@diotoborg/ad-rerum@diotoborg/aliquid-non@diotoborg/adipisci-soluta@diotoborg/alias-amet@diotoborg/aliquam-quod-at@diotoborg/aliquam-ut@diotoborg/aperiam-amet-natus@diotoborg/aperiam-iste@diotoborg/aspernatur-in@diotoborg/aspernatur-nihil@diotoborg/asperiores-maiores-velit@diotoborg/at-exercitationem-esse@diotoborg/asperiores-similique-quasi@diotoborg/consectetur-tempora-quia@diotoborg/atque-mollitia-consequuntur@diotoborg/atque-voluptatum-maxime@diotoborg/consequatur-facilis-qui@diotoborg/asperiores-hic@diotoborg/aspernatur-eaque@diotoborg/assumenda-praesentium@diotoborg/aut-officiis@diotoborg/autem-vero@diotoborg/aperiam-cum@diotoborg/beatae-culpa@diotoborg/autem-dolor@diotoborg/beatae-possimus@diotoborg/aspernatur-id@diotoborg/at-vitae@diotoborg/aut-provident-cumque@diotoborg/consequuntur-rem@diotoborg/cumque-sequi@diotoborg/delectus-recusandae-aut@diotoborg/deserunt-cupiditate@diotoborg/dolore-sint-deserunt@diotoborg/culpa-reiciendis@diotoborg/cum-ab@diotoborg/distinctio-vel@diotoborg/distinctio-voluptates-deleniti@diotoborg/dolores-esse-incidunt@diotoborg/deleniti-cum@diotoborg/corporis-similique-commodi@diotoborg/cum-illum-cum@diotoborg/dolore-magnam-ipsam@diotoborg/corrupti-quos-quo@diotoborg/doloremque-asperiores@diotoborg/dolores-iusto@diotoborg/doloremque-tempore-harum@diotoborg/doloribus-provident@diotoborg/dolores-voluptates@diotoborg/doloribus-sapiente-voluptatum@diotoborg/enim-molestias@diotoborg/dolorum-ipsam@diotoborg/ea-sint@diotoborg/ea-praesentium@diotoborg/dolorum-iste-excepturi@diotoborg/ducimus-ducimus-sed@diotoborg/est-ad@diotoborg/eaque-iste@diotoborg/esse-rerum@diotoborg/dolorum-autem@diotoborg/earum-vero@diotoborg/enim-explicabo-saepe@diotoborg/eos-eum@diotoborg/est-unde-excepturi
5.16.123

1 year ago

5.16.124

1 year ago

3.13.101

1 year ago

4.15.115

1 year ago

3.9.57

2 years ago

3.9.56

2 years ago

3.7.46

2 years ago

5.15.123

1 year ago

3.7.44

2 years ago

5.15.122

1 year ago

3.7.45

2 years ago

3.7.42

2 years ago

3.7.43

2 years ago

3.11.75

1 year ago

3.11.77

1 year ago

3.11.76

1 year ago

3.11.79

1 year ago

3.11.78

1 year ago

1.4.31

2 years ago

1.4.33

2 years ago

1.4.32

2 years ago

3.7.41

2 years ago

1.2.16

2 years ago

1.2.17

2 years ago

1.2.14

2 years ago

1.2.15

2 years ago

5.15.116

1 year ago

5.15.115

1 year ago

3.15.115

1 year ago

5.15.118

1 year ago

3.15.114

1 year ago

5.15.117

1 year ago

3.15.113

1 year ago

3.15.112

1 year ago

3.15.111

1 year ago

3.15.110

1 year ago

3.12.98

1 year ago

3.10.75

1 year ago

3.12.97

1 year ago

3.10.73

1 year ago

3.12.99

1 year ago

3.10.74

1 year ago

5.15.119

1 year ago

3.12.90

1 year ago

3.12.92

1 year ago

3.12.91

1 year ago

3.12.94

1 year ago

3.10.71

1 year ago

1.3.31

2 years ago

3.12.93

1 year ago

3.10.72

1 year ago

3.12.96

1 year ago

2.6.39

2 years ago

3.12.95

1 year ago

3.10.70

1 year ago

1.3.30

2 years ago

5.15.121

1 year ago

5.15.120

1 year ago

3.15.105

1 year ago

3.15.104

1 year ago

3.15.103

1 year ago

3.15.102

1 year ago

3.15.109

1 year ago

3.15.108

1 year ago

3.15.107

1 year ago

3.15.106

1 year ago

3.8.49

2 years ago

3.10.59

1 year ago

3.8.47

2 years ago

3.8.48

2 years ago

3.8.46

2 years ago

3.10.57

1 year ago

3.10.58

1 year ago

3.12.101

1 year ago

1.5.34

2 years ago

1.5.33

2 years ago

3.8.56

2 years ago

3.8.54

2 years ago

3.8.55

2 years ago

3.12.87

1 year ago

3.10.64

1 year ago

3.12.86

1 year ago

3.10.65

1 year ago

3.12.89

1 year ago

3.10.62

1 year ago

3.12.88

1 year ago

3.10.63

1 year ago

3.10.68

1 year ago

3.10.69

1 year ago

3.10.66

1 year ago

3.10.67

1 year ago

3.12.81

1 year ago

2.7.39

2 years ago

3.12.80

1 year ago

3.12.83

1 year ago

3.10.60

1 year ago

3.12.82

1 year ago

3.10.61

1 year ago

3.12.85

1 year ago

3.12.84

1 year ago

3.8.52

2 years ago

3.8.53

2 years ago

3.8.50

2 years ago

3.8.51

2 years ago

1.3.28

2 years ago

1.3.29

2 years ago

1.3.26

2 years ago

1.3.27

2 years ago

1.2.18

2 years ago

1.2.19

2 years ago

2.7.40

2 years ago

3.11.80

1 year ago

1.2.20

2 years ago

1.2.23

2 years ago

1.2.24

2 years ago

1.2.21

2 years ago

2.7.41

2 years ago

1.2.22

2 years ago

1.2.25

2 years ago

1.2.26

2 years ago

3.12.100

1 year ago

2.5.36

2 years ago

2.5.37

2 years ago

3.14.102

1 year ago

2.5.38

2 years ago

3.14.101

1 year ago

2.5.39

2 years ago

2.5.34

2 years ago

2.5.35

2 years ago

1.2.13

2 years ago

1.2.9

2 years ago

1.2.12

2 years ago

1.2.10

2 years ago

1.2.11

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago