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

respect .gpg-id in subfolders #103

Open
gotjoshua opened this issue Mar 27, 2023 · 1 comment
Open

respect .gpg-id in subfolders #103

gotjoshua opened this issue Mar 27, 2023 · 1 comment

Comments

@gotjoshua
Copy link

Summary

i have an empty .gpg-id at the root of my repo and subfolders for shared and private
shared has a .gpg-id with three keys
all subfolders of pri have .gpg-id with a single key

creating a pw via gopass bridge (which calls gopass-jsonapi) fails
failed to store secret: failed to encrypt

creating via gopass commandline is functional:
finds and respects the first .gpg-id file and only encrypts for that key

Steps To Reproduce

set up a repo as described above
add a key via chrome gopassbridge

Expected behavior

success to create an encrypted new key

Environment

  • OS: Fedora 37
  • gopass-jsonapi Version: 1.15.4
  • Installation method: dnf
@gotjoshua
Copy link
Author

gotjoshua commented Mar 27, 2023

investigation
the error comes from here

which comes from here

which leads me to belive that something is going on over here

which means this is may be a problem in gopass itself, but then its hard to explain why adding a key from the command line works fine.

crawling to [find the id file should work] (https://github.com/gopasspw/gopass/blob/2409939549eeeaef31353fd73394a80b8237aaba/internal/store/leaf/store.go#L77) and seems to on the cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant