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

secret vs folder #229

Open
mcnesium opened this issue Jan 2, 2023 · 2 comments
Open

secret vs folder #229

mcnesium opened this issue Jan 2, 2023 · 2 comments

Comments

@mcnesium
Copy link

mcnesium commented Jan 2, 2023

Just startet using this browser extension and I found out that if there is a secret with the same name as a subdirectory, for example:

www/gitlab.com/mcnesium
www/gitlab.com/mcnesium/access_tokens/api
www/gitlab.com/mcnesium/access_tokens/registry

it ignores the secret and only shows the subdirectory contents, while gopass itself recognizes it and shows that warning together with the secret:

$ gopass www/gitlab.com/mcnesium
⚠ www/gitlab.com/mcnesium is a secret and a folder. Use 'gopass show www/gitlab.com/mcnesium' to display the secret and 'gopass list www/gitlab.com/mcnesium' to show the content of the folder
Secret: www/gitlab.com/mcnesium

........
@martinhoefling
Copy link
Collaborator

Needs to be triaged if the issue comes from the extension or the jsonapi go binary.

@leogott
Copy link

leogott commented Apr 4, 2024

fixed by gopasspw/gopass#2341 ?

Seems to work on my end at least

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

3 participants