This has some code to generate QR codes for use in the camera setup for the PIU.
python3 -m http.server
Go to
http://localhost:8000/qr_mag.html
For future reference, here is a proposal to generate QR codes for one time use:
s_pub,s_hash)s_hash should be at least as long as the longest credential stringvmag, for ease) with s_hashqrstr as %s_pub@<b64(xor(vmag,s_hash))> (where <xor...> is the xor of vmag and s_hash and b64 is the base64 encoding of the xor)qstr and give the rider a PDF (or whatever else)s_pubs_pub doesn't exist, reject outrights_pub exists but is marked as used, rejects_pub exists and isn't used, retrieve the s_hash stringxor the s_hash string with the encoded string to retrieve the credentialvmag) as normalThere might need to be some fiddling with the base64 encoding to make sure it works out and doesn't become too large.
If the messages are through a different channel or through a known channel but masked as debug or update messages that are ignored by the legacy system, it should be able to be used in tandem with the legacy system without issue.
Some notes:
s_pub, while "public", doesn't give enough information, by itself, to get free ridess_hash bit string