alkem-io / infrastructure

Creates deployments, managing infrastructure scripts, devops, monitoring, ...
European Union Public License 1.2
4 stars 0 forks source link

GDPR compliance: single private IPFS cluster across environment #111

Closed techsmyth closed 3 years ago

techsmyth commented 3 years ago

Description

As a host, I want to be gdpr compliant in my storage of avatars.

Acceptance criteria

Note: Rene has researched what needs to be done, need to see how to automate / do manually for each environment.

Additional Context

valentinyanakiev commented 3 years ago

The following actions need to be performed to create a private IPFS cluster (uh, node ;)):

remove the bootstrap entry in the config file: ipfs bootstrap rm --all create a swarm key: echo -e "/key/swarm/psk/1.0.0/\n/base16/\ntr -dc 'a-f0-9' < /dev/urandom | head -c64" > ~/.ipfs/swarm.key force the use of a private cluster: export LIBP2P_FORCE_PNET=1 set the swarm key file: export IPFS_SWARM_KEY_FILE=/path/to/swarm.key start daemon