misc-bdauvergne/qrcode-certificate/v1/README

26 lines
809 B
Plaintext

QRCode certificate
==================
Create qrcode containing certificate signed with an NaCl assymetric key, the data is JSON like encoded with a MIME-like encoder or CBOR.
To produce a qrcode:
--------------------
$ python3 -m signed_qrcode --output-format png 1234123412341234123412341234123412341234123412341234123412341234 coin:bouh test.png
Verify key: 0dafa08f33249cfbd131340f228f358af1e7e699df50a2a0a2aaecb4a1e916c3
Print test.png on a sheet of paper (or display it on your mobile phone)
To read it:
-----------
* Go into qrcode-reader
* Build the JS code:
npm install
npm run build
* Open index.html in your browser
* Set the verify key to: 0dafa08f33249cfbd131340f228f358af1e7e699df50a2a0a2aaecb4a1e916c3
* Show the QRcode produced at the last paragraph to your camera