I’m not a security expert, please help me understand if what I ask is useful or not.
I’m trying to build an app which uses public IPFS network (as opposed to uses private swarm) but keep the data private by encrypting it before adding it to IPFS.
I plan to have several machines running the same apps showing the same pictures. When required a new machine will be setup and it should be able to fetch the pictures from any other available machine.
I thought to use the hash of the original picture as a symmetric key to encrypt the picture and then put it on IPFS. The key will be encrypted with the public key of the node I’ll like to transfer the pictures to so it will be able to decrypt it. That way, any machine will be able to put the exact same encrypted picture on IPFS.
What do you think? Is that a good idea?