-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share encrypted file #149
Comments
How do you plan the UX for this? |
For this to make sense, some terminology first. If the host wants to share a file (let's call it "cats.gif") it does this: Or more verbose: This action should give "something" as data that the client needs to receive. So the "share" method in securefs is going to return a "data" blob.
I'm picking option 2 for this example because it's easier transfer wise. On the The
Ideally |
You can do the same thing with |
That is spread over multiple tools with quite a steep learning curve (gpg) to even consider using it. |
The learning curve of GPG comes with the concept and the management of public/private key pairs. Moving that functionality to |
Hi,
As i understand the design, each file is encrypted with it's own key (derived from the master key).
Would it be possible in this mechanism to create a "share" function?
In public/private cryptography this would be as "simple" as encrypting that file's encryption key with someone else's public key.
That someone else then would place the encrypted file in it's own "securefs" folder. As the file would be encrypted against the "target public key", that folder - who can access the private key - should then be able to read the data from the shared file.
Now this share function is much described as how i know public=private key cryptography. It's not a thing in securefs a far as i know. But still, would it be possible to create a sort of share function with the cryptography it uses already?
Best regards,
Mark
The text was updated successfully, but these errors were encountered: