Skip to content

keychain/libsecret support for storing creds? #106

@nuclearcodecat

Description

@nuclearcodecat

hai, first of all, super useful tool, thanks a lot for your work :3

there is a small thing about the software that i find very annoying, that is putting the creds in every time i want to upload.
supporting cross-platform keychains would be great. i'll look at the code, but i've never ever worked with d so i'm not promising anything. there is a great cross-platform libsecret/macos keychain/windows credential manager wrapper for c++ that is really easy to work with and the system could easily be implemented as described:

  • check keyring for creds =>
    • if found => get email and passphrase
    • else => fall back to regular log-in prompt, allowing user to store creds with a check-box

but yeah, that wrapper's for c++, so the names will be mangled, and i'm guessing unusable, not sure if anything like this exists for d... maybe a fork with c externs could solve this? you seem to have some .d files that i don't think come with the original libraries, so maybe you have some experience with making stuff like this? not sure what to even call this, i've never had such a situation.

for now i'll probably just make a small shell script to get the creds from gnome-keyring and pass them to sideloader. if i ever finish that, i'll probably post it here.

ps: i just noticed a secretapi.d file, is this in the works already? if so, sorry :c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions