kparal / gkeyring Goto Github PK
View Code? Open in Web Editor NEWA small Python tool for shell access to GNOME keyring. It provides a simple way to query and create keyring items.
License: GNU Affero General Public License v3.0
A small Python tool for shell access to GNOME keyring. It provides a simple way to query and create keyring items.
License: GNU Affero General Public License v3.0
Looks like there's no escape now. We need to find another way. E.g. #6
Hi,
Gkeyring is now broken on my machine, probably after an OS update (Debian).
Gkr-Message: secret service operation failed: No such interface 'org.freedesktop.DBus.Properties'
on object at path /org/freedesktop/secrets/collection/login/230
Any idea?
I can add a password to the keychain with a given name, but then I can't retrieve it with the same name.
$ gkeyring --set --name test_gkeyring --keyring graphs_life
Password:
6
$ gkeyring --keyring graphs_life --n test_gkeyring
$ gkeyring --keyring graphs_life --name=test_gkeyring
$ gkeyring --keyring graphs_life --id=6
6 test_gkeyring foobar
id
works fine, but name
does not return anything. I'm running the latest version from your github repo.
I wanted to run gkeyring from crontab, but gkeyring fails with:
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
GNOME keyring is not available!
How do gkeyring detects the GNOME keyring?
On Fedora 27:
$ pip install --upgrade --user gkeyring
Collecting gkeyring
Downloading https://files.pythonhosted.org/packages/6c/0a/9ef736875004442ccdc1f87f8c5896fb7853028125a9bdcb2e1fbb51ce06/gkeyring-0.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/brian/tmp/pip-build-3wcDsu/gkeyring/setup.py", line 4, in <module>
import gkeyring
File "gkeyring.py", line 21, in <module>
import gnomekeyring as gk
ImportError: No module named gnomekeyring
Can you add command options to (un-)lock keyrings?
This would be useful to me. I'd be able to create a script to auto-lock
my keyring after 5min being unused.
For some reason, some items have a name in seahorse that is not accessible by gnomekeyring library, only their 'description'. So it might seem that you can only query for some items (the items created in the old keyring). It's probably cased by the fact that newer GNOME moved to SecretService backend. There's a library that might be better than the current one to access these items:
https://pypi.python.org/pypi/keyring
keyring provides support for OSXKeychain, KDEKWallet, GnomeKeyring, SecretServiceKeyring, WinVaultKeyring, Win32CryptoKeyring, CryptedFileKeyring, UncryptedFileKeyring
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.