Invalid directory created when key-prefix set to '' --- works with . (dot)
Closed this issue · 3 comments
matthewsht commented
Got a chance to test new version v0.7.0 of keyring_pass.
The config file (~/.config/python_keyring/keyringrc.cfg) contains
[pass]
key-prefix=.
With key-prefix=. the password ends up at local/monkey -- which is correct.
According to the documentation, key-prefix='' should also have worked but did not -
I got a directory named ''/local/monkey at the top of tree which was not intended:
pass
Password Store
├── ''
│ └── local
│ └── monkey
│ └── foo
OTHER ENTRIES ELIDED
nazarewk commented
ini/cfg files do not have a concept of quoted string, everything after the equal sign is a string, you can try writing simply key-prefix=
without anything else in the line.
matthewsht commented
Darn - that was it. Blank works fine - I was being too literal.
Sorry for the issue report.
…--
Hunter Matthews
Scientific System Engineer [C]
NIH/National Human Genome Research Institute
***@***.******@***.***> | (919) 491-2124
On Sep 1, 2021, at 3:04 AM, Krzysztof Nazarewski ***@***.******@***.***>> wrote:
ini/cfg files do not have a concept of string, everything after the equal sign is a string, you can try writing simply key-prefix= without anything else in the line.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATFEQQZCNSBONPPVE25MPNLT7XF6XANCNFSM5DFJQVRA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
matthewsht commented
Mistakenly reported NOTABUG - closing.
Thank you for quick reply.