A very common functionality nowadays is to allow the user to present their credentials using QR codes. Verifiable credentials can use much space and make the code unable to be displayed on phone screens or scanned by cameras. With that motivation, this protocol is designed to allow transporting a message between two parties, with a third party in the form of a relayer.
Alice: wants to share a file with Bob showing a QR code
Bob: wants to read the file using a QR code scanner
Convey service: cachés and publishes files into IPFS
Send a message:
convey://v1/QmPChd2hVbrJ6bfo3WBcTW4iZnpHm8TEzWkLHmLpXhF68A#secretKey
Resolve a message:
If the Convey service is known by Bob
Bob requests file to the Convey service
If Convey service responses the file content
Bob has the encrypted file => done.
Bob requests file to IPFS
If IPFS responses the file content
Bob has the encrypted file => done.
Otherwise
Bob could not find the file => reject.
Alice and Bob must know what encryption algorithm was used to encrypt the file
Remarks:
Future versions might:
Go to top