
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@consento/cards
Advanced tools
Generator and Reader for qr codes hiding (and restoring) a secret DAT link in several codes using shamir secrets.
This repository contains both the generator and reader user-interface used at https://consento.org/cards.
The user-interface is powered by vue.js. You can simply use the
./dist/consento-cards.min.js
and copy the html code from the ./example.html
to adjust to your liking.
To generate cards we have a 2 step process:
npx @consento/cards <action>
<action> = init ..... to init the secrets necessary to retreive the codes
<action> = create ... to create qr codes based on the secret
Get more help for each action by adding --help or -h
First we need to create the parts created for the secret:
npx @consento/cards init 3 100 dat://ff05ebb2091766118717d78f58d1a19a19fbfa68796d1164f4d6a80f8dd4b2de`
This will create a .json
file like ./codes/F127-2F66-CE58.json
which contains 100 partial secrets. Two of them
are needed to reveal our secret dat.
We can use this .json
in our second step to generate the QR codes:
npx @consento/cards create ./codes/F127-2F66-CE58.json svg tanja martin daniel
This will assign 3 of the partial secrets to the 3 names: tanja
, martin
and daniel
and
render 3 svg's looking like:
Writing ./codes/F127-2F66-CE58-tanja.svg
Writing ./codes/F127-2F66-CE58-martin.svg
Writing ./codes/F127-2F66-CE58-daniel.svg
You can use these to restore restore the dat link in the user interface.
FAQs
Generator and Reader for qr codes hiding (and restoring) a secret DAT link in several codes using shamir secrets.
The npm package @consento/cards receives a total of 1 weekly downloads. As such, @consento/cards popularity was classified as not popular.
We found that @consento/cards 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.