QRSig is a draft format for embedding a digital signature alongside ordinary content in a QR code. A standard scanner can still read the content, such as a Bitcoin address, while a compatible QRSig reader can additionally check whether the content was signed using a key associated with a particular domain. The demonstration separates the code into its readable content and an embedded Ed25519 signature, showing how the two layers serve different purposes without changing the address itself.
Verification uses the exact content bytes, a format context, and a header joined in a defined order to form the signed message. The signature is checked against a 32-byte public key, which is published in a QRSig v1 JSON document on the issuer’s domain; the signature also binds the claimed issue time. The interactive example lets users inspect the inputs and change a character in the address to see that the original signature no longer matches the altered message. The format is explicitly unfinished and may change. A successful check supports the claim that the domain associated with the key signed the content; it does not establish that a destination is trustworthy or safe. The Bitcoin example is for demonstration only, and users are warned not to send funds to it.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.