Worked a bit on the desktop client tonight, now I store username/pass/server url, but it’s insecure at the moment. I need to find a way to store it more securely.
One thing I did in another project was to use sqlite that had encryption. I might do that here as well. That would work well for this.
@stigatle@yarn.stigatle.no Why not use the OS for this like Keychain on macOS?
@prologic@twtxt.net GNOME Keyring, anyone?
@shreyan@twtxt.net Yup 👌
@prologic@twtxt.net @shreyan@twtxt.net been thinking about that too. Ill check on that before deciding.
I’ve been looking into this tonight, and it seems like ‘libsecret’ is what I need, so I will try and implement this.
I can then store password and other things (username \ url) as well with it.
@stigatle@yarn.stigatle.no Nice! 👌
Okay, so spent some more time with this. I can now store password - and retrieve it as well.
I’ll clean it up and get it working properly as soon as possible.
This was a nice thing to learn.
Pushed the code now.
the next thing to fix is thread view, and the reply to
.. feature (showing the text preview of the post the reply goes to).