vechain-sdk-js icon indicating copy to clipboard operation
vechain-sdk-js copied to clipboard

666 pure and secure keystore

Open lucanicoladebiasi opened this issue 9 months ago • 2 comments

Description

The code at packages/core/src/keystore/keystore.ts provides the JSON Keystore v3 Wallet encrypt and decrypt functionalities only based on secure audited code, minimally based on

The docs/examples/accounts/keystore.ts documents the use of the keystore, encrypt/decrypt functions wipe sensitive data.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [x] yarn test:examples
  • [x] yarn test:solo
  • [x] yarn test:unit

Test Configuration:

  • Node.js Version: v21.6.2
  • Yarn Version: 1.22.22

Checklist:

  • [x] My code follows the coding standards of this project
  • [x] I have performed a self-review of my code
  • [x] I have commented on my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [x] New and existing integration tests pass locally with my changes
  • [x] Any dependent changes have been merged and published in downstream modules
  • [x] I have not added any vulnerable dependencies to my code

lucanicoladebiasi avatar May 08 '24 18:05 lucanicoladebiasi

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@noble/[email protected] None 0 624 kB paulmillr

View full report↗︎

socket-security[bot] avatar May 08 '24 18:05 socket-security[bot]

Test Coverage

Summary

Lines Statements Branches Functions
Coverage: 100%
100% (3172/3172) 100% (716/716) 100% (655/655)
Title Tests Skipped Failures Errors Time
core 468 0 :zzz: 0 :x: 0 :fire: 1m 10s :stopwatch:
network 606 0 :zzz: 0 :x: 0 :fire: 3m 32s :stopwatch:
errors 48 0 :zzz: 0 :x: 0 :fire: 14.137s :stopwatch:

github-actions[bot] avatar May 08 '24 18:05 github-actions[bot]