Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
blockstack-proofs
Advanced tools
A library for verifying proofs (twitter, github, domains etc) linked to a Blockstack ID
A library for verifying blockstack profile proofs.
Note: this document uses ES6 in its examples but it is compiled down to Javascript (ES5) and is perfectly compatible with it. If you're using the latter, just make a few adjustments to the examples below (e.g. use "let" instead of "var").
$ npm install blockstack-proofs
import {
validateProofs
} from 'blockstack-proofs'
var blockstackProofs = require('blockstack-proofs')
let fqdn = "naval.id"
validateProofs(profile, fqdn).then((proofs) => {
console.log(proofs)
})
[
{ "identifier": "naval",
"proof_url": "https://twitter.com/naval/status/486609266212499456",
"service": "twitter",
"valid": true
},
{
"identifier": "navalr",
"proof_url": "https://facebook.com/navalr/posts/10152190734077261",
"service": "facebook",
"valid": true
},
{
"identifier": "navalr",
"proof_url": "https://gist.github.com/navalr/f31a74054f859ec0ac6a",
"service": "github",
"valid": true
}
]
Run npm run test
to run the test suite.
This test will only work with your browser's Cross-Origin Restrictions disabled.
Run npm run compile; npm run browserify
before opening the file test.html
in your browser.
FAQs
A library for verifying proofs (twitter, github, domains etc) linked to a Blockstack ID
We found that blockstack-proofs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.