Gathering detailed insights and metrics for ecdsa-sig-formatter
Gathering detailed insights and metrics for ecdsa-sig-formatter
Gathering detailed insights and metrics for ecdsa-sig-formatter
Gathering detailed insights and metrics for ecdsa-sig-formatter
npm install ecdsa-sig-formatter
99.6
Supply Chain
87.6
Quality
75.6
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
18 Stars
63 Commits
9 Forks
7 Watching
2 Branches
12 Contributors
Updated on 03 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-8.4%
3,175,251
Compared to previous day
Last week
1.7%
18,771,863
Compared to previous week
Last month
6.6%
78,696,494
Compared to previous month
Last year
24.8%
795,704,976
Compared to previous year
1
Translate between JOSE and ASN.1/DER encodings for ECDSA signatures
1npm install ecdsa-sig-formatter --save
1var format = require('ecdsa-sig-formatter'); 2 3var derSignature = '..'; // asn.1/DER encoded ecdsa signature 4 5var joseSignature = format.derToJose(derSignature); 6
.derToJose(Buffer|String signature, String alg)
-> String
Convert the ASN.1/DER encoded signature to a JOSE-style concatenated signature.
Returns a base64 url encoded String
.
String
, it should be base64 encoded.joseToDer(Buffer|String signature, String alg)
-> Buffer
Convert the JOSE-style concatenated signature to an ASN.1/DER encoded
signature. Returns a Buffer
String
, it should be base64 url encodedFork the repository. Committing directly against this repository is highly discouraged.
Make your modifications in a branch, updating and writing new unit tests
as necessary in the spec
directory.
Ensure that all tests pass with npm test
rebase
your changes against master. Do not merge.
Submit a pull request to this repository. Wait for tests to run and someone to chime in.
This repository is configured with EditorConfig and ESLint rules.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 2/26 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
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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