Just reading about collections and have a ‘what to do in the meantime’ question…
I am coding marketplace functionality and thinking about the buyers shipping address and how to enable displaying the address to the seller with conditions;
a) buyers shipping address not stored centrally,
b) is stored in gaia encrypted,
c) can be displayed unencrypted to the seller.
d) and getFile / putFile with encrypt = true doesn’t work with username != logged in username.
One solution I think is to pass a bitcoin public key to put file…
putFile ( encrypt = bitcoinPubKey )
then getFile in the sellers session yields an object with a “cipherText”. Can this be decrypted by sending it via a secure rpc call to the bitcoin node?
Does this work or is there a less complex / more secure way?