Replies: 1 comment 4 replies
-
Just doing a small test based on this example a minified payload is 1780 bytes. The max alphanumeric size on a QR Code is 4296. Minification isn't a particularly taxing process and should be a feature of almost any JSON/string processing library available. Based on minification allowing a bit of headroom, even if there's some extra extensions or a little bulkier payload, it should fit within a QR code. That feels like it might be a good offline option. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(For visibility, cross-linking to discussion at #6.)
There are a few aspects here. Offline could mean nobody is on the internet, but there may be local intranet access -- vs offline like the holder doesn't have a device at all, or doesn't have a device that can connect to the verifier's device. In all these scenarios, a verifier needs to keep a local cache of valid issuers for any of these schemes to work. Beyond this consideration... if the holder and verifier are on a local network together, DID-SIOP can work; if the holder has a device but no network access, you could theoretically convey a verifiable presentation through QR codes or BLE or NFC. Alternatively, if the holder doesn't have a device at all, you can't quite do Verifiable Presentation, but you can at least share a VC in its entirety (e.g., by scanning a QR code, or by tapping an NFC card). We haven't gone deep in specifying a standard for this, but this is worth doing! The size of the VCs (if you don't take particular steps to keep them small) isn't entirely conducive to QR codes, so this is an area that needs more attention.
Beta Was this translation helpful? Give feedback.
All reactions