Gathering detailed insights and metrics for zb-eosjs-keygen
Gathering detailed insights and metrics for zb-eosjs-keygen
Gathering detailed insights and metrics for zb-eosjs-keygen
Gathering detailed insights and metrics for zb-eosjs-keygen
npm install zb-eosjs-keygen
Typescript
Module System
Node Version
NPM Version
68.4
Supply Chain
91.9
Quality
72.1
Maintenance
100
Vulnerability
99.3
License
JavaScript (100%)
Total Downloads
716
Last Day
1
Last Week
1
Last Month
5
Last Year
74
81 Commits
3 Watching
1 Branches
1 Contributors
Latest Version
1.3.2-1
Package Id
zb-eosjs-keygen@1.3.2-1
Unpacked Size
822.63 kB
Size
185.07 kB
File Count
19
NPM Version
6.3.0
Node Version
10.7.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-50%
1
Compared to previous week
Last month
25%
5
Compared to previous month
Last year
-12.9%
74
Compared to previous year
The purpose of this library is for managing keys in local storage. This is designed to derive and cache keys but also needs a password manager to store a "root" key. This library does not have secure or password protected storage. It does however figure out permission hierarchies and is configurable enough to only store keys you feel are safe to store.
General purpose cryptography is found in eosjs-ecc library. Hierarchical deterministic key generation uses PrivateKey.getChildKey in eosjs-ecc.
1let {Keystore, Keygen} = require('eosjs-keygen') 2Eos = require('eosjs') 3 4sessionConfig = { 5 timeoutInMin: 30, 6 uriRules: { 7 'owner' : '/account_recovery', 8 'active': '/(transfer|contracts)', 9 'active/**': '/producers' 10 } 11} 12 13keystore = Keystore('myaccount', sessionConfig) 14eos = Eos.Testnet({keyProvider: keystore.keyProvider}) 15 16Keygen.generateMasterKeys().then(keys => { 17 // create blockchain account called 'myaccount' 18 console.log(keys) 19 20 eos.getAccount('myaccount').then(account => { 21 keystore.deriveKeys({ 22 parent: keys.masterPrivateKey, 23 accountPermissions: account.permissions 24 }) 25 }) 26 27})
See ./API
1let {Keystore, Keygen} = require('./src')
Use Node v8+ (updates package-lock.json
)
1git clone https://github.com/EOSIO/eosjs-keygen.git 2cd eosjs-keygen 3npm install 4npm run build 5# builds: ./dist/eosjs-keygen.js
1<script src="eosjs-keygen.js"></script> 2<script> 3//kos.Keystore 4//kos.Keygen 5//... 6</script>
Node 6+ and browser (browserify, webpack, etc)
Built with React Native in mind, create an issue if you find a bug.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
70 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More