GithubHelp home page GithubHelp logo

kparal / gkeyring Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 11.0 46 KB

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

Python 100.00%

gkeyring's People

Contributors

geekq avatar joergschulz avatar kparal avatar rpatterson avatar toobaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gkeyring's Issues

dbus error No such interface 'org.freedesktop.DBus.Properties'

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?

retrieving by name does not work for non-Default keyrings

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.

GNOME keyring detection

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?

ImportError: No module named gnomekeyring

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

add feature to block/unblock keyrings

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.

Change library backend (from gnomekeyring to universal keyring)

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

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.