greenclip icon indicating copy to clipboard operation
greenclip copied to clipboard

0.4 version do not support static password

Open deimosfr opened this issue 3 years ago • 3 comments

Hi,

You've recently updated the config format and I've tested several ways to make the static password work correctly. However, I couldn't get it.

Thanks to the syntax checker to validate my tests, I ended up having the correct syntax (your examples in the Readme miss of double quotes, I'll make a PR for it).

So, when activated, those static passwords are not shown anymore, but it prints the path to it instead.

Any idea of what I'm doing wrong?

deimosfr avatar May 12 '21 01:05 deimosfr

Static entries are now directly embeded into the config file instead of being a separate file. Just put the entries from your static file inside statich_history = []

Triple quote in toml is a no escape multiline string

erebe avatar May 12 '21 06:05 erebe

Thanks, it works, but that's a shame it's shared with the configuration as secrets != configuration. Also using multiple files with some "auto-generated" content was very convenient for this. It's a regression to me.

deimosfr avatar May 14 '21 06:05 deimosfr

Agree that's why at first i put it in a separate file. Over the years it was a too many time récurrent question regarding how to use it. So i just merged into the config file. Hope it will solve the questions

erebe avatar May 15 '21 10:05 erebe