Skip to content

secret vs folder #229

@mcnesium

Description

@mcnesium

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

........

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions