python-keyring

Avoid keyring messages when running command line tools

大城市里の小女人 提交于 2020-01-03 03:20:30
问题 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 the logger and the password for keyring, so that I am no longer bothered when running any utility dependent on keyring? Note that I am on an headless Ubuntu, so I need to know how to do this from the command line. Thanks 回答1: v1.10.2 is now out,

Missing dependencies causing Keyring error when opening Spyder3 on Ubuntu18?

六月ゝ 毕业季﹏ 提交于 2020-01-02 02:46:09
问题 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 still receiving error. $ spyder3 Error initializing plugin EntryPoint('Windows (alt)', 'keyrings.alt.Windows', None, Distribution('keyrings.alt', '3.0')). Traceback (most recent call last): File "/home/usr/.local/lib/python3.6/site-packages/keyring

How is python-keyring implemented on Windows?

故事扮演 提交于 2019-12-20 20:28:47
问题 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 keyring. What is stopping a random python application to retrieve a password from the keyring by running import keyring get_password(service, username) How is user consent implemented? Is the whole concept, atleast in Windows, based on the

Get attributes of GnomeKeyring key with Python 2.7 GTK3 on Ubuntu 14.04

纵饮孤独 提交于 2019-12-10 12:18:53
问题 I am using Linux Mint 17, based on Ubuntu 14.04 I have installed: python-gnomekeyring 2.3.2 python-gi 3.12 python-gtk2 2.24 I want to use the GnomeKeyring. I save and read a key name an key password, but I annot access the attributes. When I try to access them I always get: *** Error in `python': double free or corruption (out) Here is my code, I created this today to work with the GnomeKeyring: #!/usr/bin/python # -*- coding: utf8 -*- import gi gi.require_version('Gtk', '3.0') gi.require

keyring module is not included while packaging with py2exe

旧城冷巷雨未停 提交于 2019-12-10 03:31:45
问题 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 storing json response in keyring. But, when I converted python code into exe by using py2exe, it shows import error keyring while making dist. Please suggest how to include keyring in py2exe. Traceback (most recent call last): File "APP.py", line 8,

Avoid keyring messages when running command line tools

删除回忆录丶 提交于 2019-12-08 13:29:26
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 the logger and the password for keyring, so that I am no longer bothered when running any utility dependent on keyring? Note that I am on an headless Ubuntu, so I need to know how to do this from the command line. Thanks v1.10.2 is now out, with keyring optional. Using pgcli on a headless system should not be a problem anymore. We fixed the problem

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

浪子不回头ぞ 提交于 2019-12-07 02:47:58
问题 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. After some searching (we are both novices in Python) it seems that we can use keyring for this purpose, so I installed it from pip (most likely version 1.2.2 of the library, based on my memory of the installation date). The problem is that when I try