Open BrunoGoirand opened 3 years ago
Hi,
Yes seems like it takes the gpg.recipients from the top most project dir that is open, and not the directory the file is in.
I will check if I can do something to this in the christmas holidays. It's just been very long time for touching this that I don't even remember how coffeescript worked and all the libs :) so will take some time.
Hi, Super, thank you, I look forward to getting it fixed, I hope you will be able to get back into it easily.
Hi, I am wondering whether there is something that should be fixed here...
Suppose I have two RSA keys:
project_1
files calledproject_1@email.domain
project_2
files calledproject_2@email.domain
Those two projects are located in my home directory
~/project_1
and~/project_2
.I have created a
gpg.recipients
file:~/project_1/gpg.recipients
and it contains a unique entry:project_1@email.domain
~/project_2/gpg.recipients
and it contains a unique entry:project_2@email.domain
When I work on
project_1
, I load the project into my treeview and I can encrypt or decrypt content with no issue. It works the same way when I work onproject_2
.If I load both
project_1
, andproject_2
in my treeview, it seems that the encryption key used is the one from thegpg.recipients
file of the project located at the top of the treeview.In order to come to this conclusion, I remove the unique entry from the
gpg.recipients
file of the project at the top of the treeview and I get the error message that says:Also, notice that the error message is writing two times the path of the
gpg.recipients
file it is looking for.