Questions tagged [python-keyring]

Python library for accessing a system's native keyring service. It can be used for secure password storage.

68 questions
25
votes
1 answer

Missing dependencies causing Keyring error when opening Spyder3 on Ubuntu18?

I'm fairly new to programming and such. I'm trying to use Spyder3, and I keep getting this error (below). I am using Geforce 1080ti, Ubuntu 18.04.01, python3.3.6, python2 is not installed. I tried $ pip3 install keyring, which is now installed but…
Yume
  • 446
  • 1
  • 4
  • 10
22
votes
4 answers

How is python-keyring implemented on Windows?

How does python-keyring provide security on Windows? In GNOME/KDE on Linux, the user is prompted to enter his password to authorize access to the keyring on a per-application basis. In Windows there is no such prompt when an application accesses the…
flak37
  • 885
  • 2
  • 10
  • 18
16
votes
1 answer

Keyring Warning when running pip list -o

I've been trying to run pip list -o and pip list --outdated to see if any packages need to be updated but it enters a loop of printing: WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed.. I've…
Lauren
  • 163
  • 1
  • 1
  • 6
14
votes
3 answers

On WSL2 `pip install virtualenv` comand hangs for too long

Under WSL2 running Ubuntu 20.04 I've tried to install virtualenv with pip running pip install virtualenv but the command just hangs printing nothing. I terminated it and ran it again with python3 -v -m pip install virtualenv as advised here and it…
Ivan Vnucec
  • 604
  • 1
  • 5
  • 17
12
votes
3 answers

How to unlock Gnome Keyring from Python running on a Cron Job?

I'm hooking a Python script up to run with cron (on Ubuntu 12.04), but authentication is not working. The cron script accesses a couple services, and has to provide credentials. Storing those credentials with keyring is easy as can be, except that…
Gastove
  • 896
  • 2
  • 10
  • 21
10
votes
3 answers

Working Poetry project with private dependencies inside Docker

I have a Python library hosted in Google Cloud Platform Artifact Registry. Besides, I have a Python project, using Poetry, that depends on the library. This is my project file pyproject.toml: [tool.poetry] name = "Test" version = "0.0.1" description…
9
votes
5 answers

How do I retrieve a username with Python keyring?

I have a Mercurial keyring on my Windows 7 machine. I am using the Python keyring library to get user credentials from the Mercurial keyring. I can retrieve the password for a given username with: keyring.get_password('Mercurial', 'user@@etc') Is…
yoyodunno
  • 617
  • 1
  • 8
  • 19
8
votes
3 answers

How do you Configure Python Keyring to pull credentials from Windows Credential Manager on Windows 7?

I've spent a lot of time researching the keyring package trying to get a simple example to work. I'm using python 2.7 on a windows 7-x64 machine. I've installed the package and confirmed that the files are within my Lib/site-packages folder. In…
Brian J
  • 231
  • 1
  • 3
  • 9
8
votes
1 answer

keyring module is not included while packaging with py2exe

I am making an app using python 2.7 on windows and keyring-3.2.1 . In my python code on eclipse, I used import keyring keyring.set_password("service","jsonkey",json_res) json_res= keyring.get_password("service","jsonkey") is working fine as I am…
imp
  • 1,967
  • 2
  • 28
  • 40
6
votes
3 answers

Error while packing keyring module with PY2APP on MAC OSX

I am making an app in python which needs to store keys. I used keyring module to store keys. I am using python-2.7 and osx 10.8.5 with keyring 3.2( easy_install keyring). Code is running fine on eclipse, but when I converted code into app using…
imp
  • 1,967
  • 2
  • 28
  • 40
6
votes
1 answer

Is there a way to access the keyring in Windows without giving a master password?

I'm developing a script with a co-worker that involves connecting to a database. We want to keep the code independent of which one of us uses it, while keeping our passwords private and not having to authenticate over and over during the workday.…
Air
  • 8,274
  • 2
  • 53
  • 88
6
votes
1 answer

Error 1312 while using python keyring on Windows Server 2003

I am writing a Windows Service in python and I am using the keyring module to safely store credentials that I need to use regularly and persistently. This means that keyring stores the passwords using the local system user credentials. All I do is…
Avihu Turzion
  • 3,284
  • 4
  • 25
  • 34
5
votes
2 answers

RuntimeError: No recommended backend was available. (Keyring w/ Python)

I have a program which uses Yagmail and the keyring package to safley store email credentials. When I run this script in atom.io and idle it works. However, after I packaged it with pyinstaller it is giving me this message: RuntimeError: No…
rmcknst2
  • 195
  • 1
  • 2
  • 11
5
votes
1 answer

How to disable command line password prompt for python's keyring - headless debian linux

Problem: I would like to use python's keyring library in a headless Linux environment, specifically a Debian 9 GCP compute instance. I have a cron job that wakes up every so often to run a python script (... which utilizes keyring to retrieve…
S. Bogdan
  • 63
  • 1
  • 6
5
votes
2 answers

Avoid keyring messages when running command line tools

I am getting these two messages when running a command line utility (in the case pgcli) in an headless Linux running in Docker: No handlers could be found for logger "keyring.backend" Please enter password for encrypted keyring: How can I configure…
mljrg
  • 4,430
  • 2
  • 36
  • 49
1
2 3 4 5