-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Directory / filename collision when deleting #1105
Comments
I've also experienced the same issue using gopass Error: failed to encrypt secret ./secretname: a folder named ./secretname already exists Environment
|
What would be the expected behavior here? Maybe one also want's prevent the creation of this scenario. What should be deleted first, directory or file? |
I'd like to be asked a question along these lines. Perhaps something like:
Then, if N
|
I've hit this when trying to do a |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Did this get fixed? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bumping because this should be fixed-- the behavior I'd like to see if there's ambiguity, is for gopass to prompt which, directory or file, you'd like to move/delete/etc. If you don't like the prompt, perhaps a config option should exist about which should be picked if there is ambitguity. |
Fixes gopasspw#1105 RELEASE_NOTES=[BUGFIX] Allow deleting shadowed secret Signed-off-by: Dominik Schulz <[email protected]>
Fixes #1105 RELEASE_NOTES=[BUGFIX] Allow deleting shadowed secret Signed-off-by: Dominik Schulz <[email protected]>
Fixes gopasspw#1105 RELEASE_NOTES=[BUGFIX] Allow deleting shadowed secret Signed-off-by: Dominik Schulz <[email protected]>
Summary
Can't delete secret with same name as directory.
Steps To Reproduce
(edited for brevity)
Expected behavior
An option (or alternative command) to delete the secret or directory.
Environment
The text was updated successfully, but these errors were encountered: