Simple way to post an encrypted screenshot to IPFS and decrypt it on the fly with the public key as an anchor in the link.
Garto:
ipfs hash A is just the encrypted image, and ipfs hash B is a page that isn't encrypted and contains js that downloads the image using a hard coded (in B) reference to A and decrypts using the frag identifier from url B. Then you just share B and it Just Works.
- Ephemeral Elliptic Curve (ed25519) for one shot asymmetric encryption
- encrypt, put and pin asset
- javascript decrypt function
- put "viewer" payload with asset
- generate view URL with public key from ephemeral private key
- clear down keys