Skip to content
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

.gpg-id file not respected in sub folder #462

Closed
Bouke opened this issue Nov 13, 2017 · 3 comments
Closed

.gpg-id file not respected in sub folder #462

Bouke opened this issue Nov 13, 2017 · 3 comments
Assignees

Comments

@Bouke
Copy link

Bouke commented Nov 13, 2017

I have mounted a password store which contains a sub-folder with a .gpg-id file. This file is not respected when managing passwords inside this sub-folder.

MyMount
|-- .gpg-id
\-- SubFolder
   \-- .gpg-id

On another note, I was quite surprised when running recipients add --store MyMount/SubFolder SOMEKEY combined with auto sync that it added SOMEKEY to MyMount, not the sub folder without warning (and then pushing the incorrectly rekeyed passwords to the store).

@dominikschulz dominikschulz self-assigned this Nov 13, 2017
@dominikschulz dominikschulz added feature Enhancements and new features help-wanted labels Nov 13, 2017
@dominikschulz
Copy link
Member

FYI: gopass only implements partial support of .gpg-id files. Please see: #291

What exactly do you mean by this file is not respected when managing passwords?
Encryption should respect sub folders gpg-ids, but gopass recipients is not (yet) able to handle those.

We usually prefer mounts over sub folder gpg ids and thus nobody is working on this (as far as I know). If someone is willing to provide a PR that would be very welcome.

@dominikschulz dominikschulz removed their assignment Nov 13, 2017
@Bouke
Copy link
Author

Bouke commented Nov 13, 2017

When I add a password in MyMount/SubFolder, it uses the keys in MyMount/.gpg-id instead of MyMount/SubFolder/.gpg-id.

@dominikschulz
Copy link
Member

Ok, thanks for the clarification. This should indeed work. Will try to reproduce.

@dominikschulz dominikschulz self-assigned this Nov 13, 2017
@dominikschulz dominikschulz added bug Defects bug/confirmed and removed bug Defects feature Enhancements and new features labels Nov 13, 2017
dominikschulz added a commit to dominikschulz/gopass that referenced this issue Nov 14, 2017
dominikschulz added a commit that referenced this issue Nov 14, 2017
kpitt pushed a commit to kpitt/gopass that referenced this issue Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants