misc-bdauvergne/qrcode-certificate/v1
Benjamin Dauvergne 84593ccf94 add qrcode-certficate v1 2022-09-28 11:50:53 +02:00
..
qrcode-reader add qrcode-certficate v1 2022-09-28 11:50:53 +02:00
signed_qrcode add qrcode-certficate v1 2022-09-28 11:50:53 +02:00
README add qrcode-certficate v1 2022-09-28 11:50:53 +02:00

README

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