Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-platform FdoSecrets? #6686

Closed
michaelk83 opened this issue Jun 29, 2021 · 4 comments
Closed

Cross-platform FdoSecrets? #6686

michaelk83 opened this issue Jun 29, 2021 · 4 comments

Comments

@michaelk83
Copy link

Summary

On Linux, the FdoSecrets integration works by exposing an interface on DBus. It is disabled on MacOS and Windows. However, it's technically possible to install DBus on MacOS (ref1, ref2) and may be possible to install on Windows WSL (ref3, ref4, ref5). Would it be possible to enable FdoSecrets under those circumstances?

I suppose Windows WSL would still count as "Linux" this purpose?

Context

This could be useful for scripting and automation tasks, as I noted in #1483 (comment).

@Aetf , thoughts?

@Aetf
Copy link
Contributor

Aetf commented Jun 29, 2021

Hmm, there are a few places in the code assuming a Linux environment (mostly getting PID from the client). Also, I can't test it on those OSes.

But PRs that make the code more portable in general are welcome.

@droidmonkey
Copy link
Member

droidmonkey commented Jun 29, 2021

You run keepassxc through WSL, done. What would you talk to on macOS? There would need to be fdosecrets aware consumers installed. This is a "won't implement" for me.

@michaelk83
Copy link
Author

What would you talk to on macOS?

Assuming the use case is scripting, then whatever scripts the users write. I assume one can install libsecret and python on MacOS, but even if not, such scripts can use the FdoSecrets DBus interface directly (along with KPXC's main DBus interface).

Anyway, this was more of a "crazy thought" / what-if.

@droidmonkey
Copy link
Member

You're much better off using keepassxc-cli in scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants