Giter Club home page Giter Club logo

Comments (2)

mbassett avatar mbassett commented on July 30, 2024 1

@alanag13
Excellent thank you this is exactly what I needed.

from code42cli.

alanag13 avatar alanag13 commented on July 30, 2024

Hi @mbassett !

You should be able to force the use of the flat file for auth by providing some configuration to keyring. Try the following:
Run this and note the output:

python -c "import keyring.util.platform_; print(keyring.util.platform_.config_root())"

This will return a directory path. Create a file named keyringrc.cfg in that directory with the following contents:

[backend]
default-keyring=keyrings.alt.file.PlaintextKeyring

To verify, you can start a python interactive shell:

python
>>> import keyring
>>> keyring.get_keyring()

This should output something like:

<PlaintextKeyring with no encyption v.1.0 at /<user-specific-dir-omitted>/python_keyring/keyring_pass.cfg>

Hope this helps!

from code42cli.

Related Issues (20)

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.