syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

Encrypt secret xattrs #103

Closed jcnelson closed 8 years ago

jcnelson commented 10 years ago

Any xattr prefixed with "secret.$GATEWAY" must be encrypted by $GATEWAY's public key. For example, if a UG wants to add an xattr called "bar" that a particular RG called "foo" can read, then it should call the attribute "secret.foo.bar". Then, gateway "foo" can decrypt the secret and read it. Syndicate Gateways should do so transparently.

jcnelson commented 10 years ago

We should sub-namespace this as well:

If we can think of a scheme for Volumes, like "secret.volume.$VOLUMENAME.$ATTRNAME", we could do that too (but then the gateway would need access to the Volume private key?)

jcnelson commented 8 years ago

Let's just worry about verifying authenticity for the release.