GithubHelp home page GithubHelp logo

Linux Support about autologin_plugin HOT 9 CLOSED

SimonIT avatar SimonIT commented on August 28, 2024
Linux Support

from autologin_plugin.

Comments (9)

rekire avatar rekire commented on August 28, 2024 1

PoC
Here we go credentials written with the plugin. Some cleanup is still required

from autologin_plugin.

rekire avatar rekire commented on August 28, 2024

Thank you for your input! I'm aware of libsecret from flutter_secure_storage, but I think it is not the right idea.

I want support two things:

  • Simple logins in best case with one click
  • Zero touch logins

I don't see where libsecret could help me with that. I am not aware of any synchronization of secrets for Linux in general. I think it would just be possible to support single platforms or a very generic way of keeping login data somewhere in /etc.

What do you think about this?

from autologin_plugin.

SimonIT avatar SimonIT commented on August 28, 2024

Hmm, yeah, you're right...
What's about pass (or any other password manager)? Yes, of course, the user must set it up manually, but then they could deliver the experience... Also, there are a lot of password managers, so I don't know how it would be possible to support those. A benefit would be that they would also work on the other desktop platforms

from autologin_plugin.

SimonIT avatar SimonIT commented on August 28, 2024

When reading this article: https://avaldes.co/2020/01/28/secret-service-keepassxc.html, libsecret might be very useful. Am I reading this right, that we could read the passwords stored by chrome and firefox? And if enabled, also those of KeepassXC?

from autologin_plugin.

rekire avatar rekire commented on August 28, 2024

Looks very interesting, do you know which Linux flavor and version has that requirements so that I can test it in a VM? I just use headless Linux and I am not familiar with the UI.

from autologin_plugin.

SimonIT avatar SimonIT commented on August 28, 2024

There seem to be several distros for GNOME and KDE:
https://www.gnome.org/getting-gnome/
https://community.kde.org/Distributions
(I use myself Pop!_OS which uses GNOME)

from autologin_plugin.

rekire avatar rekire commented on August 28, 2024

Cool, that makes it easier. Do you have some sample code for that so that I have some start point?
Related: https://developer-old.gnome.org/libsecret/unstable/

from autologin_plugin.

rekire avatar rekire commented on August 28, 2024

I checked this sample code. This seems to work fine.

from autologin_plugin.

rekire avatar rekire commented on August 28, 2024

I wrote a PoC how to read and write credentials with that API (the API does not support usernames out of the box, but you can have custom fields I call one username :-). Next step is to bake that into the plugin

from autologin_plugin.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.