-
-
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
Using caps in Keys causes issues #1777
Comments
Is pr #1778 really the best solution for this?
|
Well, here is the logic behind it:
So we are storing everything "as is", which you can check using the So not sure what's best, but currently to not complicate things too much we just handle all keys as lowercase during parsing. That being said, the unpredictable behaviour should not be. Do you have a minimal example to reproduce the issue? |
Ok, finally got some time to work on this. Here is showcase of what caused me to write my previous message. Remember, that this was with
Anyways, Gopass IS A GREAT SOFTWARE. As I mentioned, man page would be great, and, since "YAML support is deprecated.", cosider adding warning about this in |
Thank you for sharing your findings with us. A man page is a very good idea, and I don't know why we don't have one already. |
Just updated my system and noticed, that |
Hit this issue too.
Seems like a wrong way to do it and i wouldn't expect this until i read this issue |
This sounds less then optimal, indeed. However we currently only store lower-case keys. But I don't remember why we chose to do that. |
Fixes gopasspw#1777 RELEASE_NOTES=[ENHANCEMENT] Do not enforce lower case keys Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
* Do not enforce lower case keys Fixes #1777 RELEASE_NOTES=[ENHANCEMENT] Do not enforce lower case keys Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org> * Use canonical MIME header key for well known header keys Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org> Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Summary
It used to work.
Steps To Reproduce
Create a new secret
t1
containing:Display it (with
safecontent
set totrue
):with safecontent set to
false
it works (but adds a trailing newline):Furthermore the key
User
is not recognized:Both with
User
and withuser
as the queried keys and both with and withoutsafecontent
enabledExpected behavior
It should just not display the "secret" if safecontent is set (and the unsafe keys, if these are used)
The text was updated successfully, but these errors were encountered: