-
-
Notifications
You must be signed in to change notification settings - Fork 520
Open
Labels
bugDefectsDefects
Description
Summary
When creating a secret with a mount name, unexpected behaviors occur.
Steps To Reproduce
$ gp mounts add test C:\Users\raysh\AppData\Local\gopass\stores\test
$ gp mounts list
gopass (C:\Users\raysh\AppData\Local\gopass\stores\root)
└── test (C:\Users\raysh\AppData\Local\gopass\stores\test)
$ gp insert testExpected behavior
# It seems like the shadowed secret should be deleted, but an error occurred.
$ gp remove test
☠ Are you sure you would like to delete ["test"]? [y/N/q]: y
Error: Can not delete "test": can not delete a mount point. Use `gopass mounts remove test`Environment
- OS: windows10
- gopass Version: gopass 1.15.7 go1.20.6 windows amd64
- Installation method: chocolatey
Creating a secret with the mount name creates a .gpg file in the repository with no file name. This works differently than creating shadowed files in subfolders. Is this behavior as intended? I am currently developing a GUI tool that works with gopass, but this method has led to unexpected situations, and gopass cli also has this problem with secret remove.
Metadata
Metadata
Assignees
Labels
bugDefectsDefects