๐พ Archived View for bbs.geminispace.org โบ s โบ Lagrange โบ 4727 captured on 2023-09-28 at 16:48:17. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2023-09-08)
โก๏ธ Next capture (2023-11-04)
-=-=-=-=-=-=-
Missing file chooser for importing identities
The interface for importing an identity breaks with usual practice because there is no file chooser and it does not support traditional middle click paste behavior.
We don't all use drag-and-drop enable desktop environments or those which support CUA style cut and paste.
2023-08-25 ยท 5 weeks ago
I've used Lagrange's certificate import dialog the other day and chose to use the clipboard method (with the i3 window manager it's not so easy to drag-and-drop), it worked fine. But thinking about it now, it's not really ideal in terms of security ? I think a file chooser dialog would make things easier but there must be a reason why the author implemented it this way.
Yes, Lagrange has no file chooser dialogs on desktop platforms. It does support native file pickers on iOS and Android, though.
This is a known issue and at some point I'll need to implement three versions of this: a platform-independent basic chooser, macOS native picker, and Windows native picker.
In the meantime, I could add a simple dialog button for pasting from clipboard (this actually exists in the mobile version).
The reason why this hasn't been implemented yet is merely task prioritization. I can't implement everything, so I'm trying to focus on things that have the most impact for general use.
Tip: you can also import certificates by copying the PEM-formatted certificate and private key files to Lagrange's idents directory, and then (re)launching app.
Thank you @skyjake, clearly this isn't high-priority. Just saw the "config/lagrange/idents" directory. "config/lagrange/idents.lgr" seems to be the file that stores the identity <=> capsule mappings ?
Yeah, idents.lgr contains the identity metadata (activations, notes).
Thanks for the tip! I'm sure it was somewhere in the documentation...
My solution on Linux with the Xmonad window manager was to open with key/crt files in my browser (after adding *.txt) to the filenames and then using CUA cut & paste.
Thanks for a nice piece of software, BTW!