Posted 29 January 2018 - 08:17 PM
I don't like posting in this forum, but when I tried to look up my answer long walls of text with non-simple English answers came up.
Lets say I have a single file and I want to encrypt it. Simple enough.
Now I want to give another user the ability to edit the file. I have them enter their desired password, and encrypt it with both keys. A bit less simple, but still doable.
Now let's say the second user wants to edit the file when I am not around.
I still want access to the program, but the encryption system cannot take my password into account as I'm not around to enter it.
And I'm certainly not going to put a loophole into my program that allows it to decrypt my password.
So I guess that my real question is how can I make a file able to be modified and then re-encrypted in such a way that a set key will be able to decrypt it if it does not know that key?
To me this sounds impossible but somebody must know someway around this?
Lets say I have a single file and I want to encrypt it. Simple enough.
Now I want to give another user the ability to edit the file. I have them enter their desired password, and encrypt it with both keys. A bit less simple, but still doable.
Now let's say the second user wants to edit the file when I am not around.
I still want access to the program, but the encryption system cannot take my password into account as I'm not around to enter it.
And I'm certainly not going to put a loophole into my program that allows it to decrypt my password.
So I guess that my real question is how can I make a file able to be modified and then re-encrypted in such a way that a set key will be able to decrypt it if it does not know that key?
To me this sounds impossible but somebody must know someway around this?
Edited on 29 January 2018 - 07:19 PM