gkeyring is a small Python utility for command-line access to GNOME keyring. It provides simple querying for and storing of network credentials. It can be used as a CLI or as a Python module.
This tool currently suits my needs, but if you want to develop it more, don't hesitate to contact me, I will gladly assign you to the development team.
Use 'get' for retrieving network credentials from GNOME keyring and 'set' for
storing network credentials into the keyring.
--version show program's version number and exit
-h, --help show this help message and exit
Options to be used for 'get':
-s SERVER, --server=SERVER
-p PROTOCOL, --protocol=PROTOCOL
-u USER, --user=USER
Options to be used for 'set':
Notice: Also all options for 'get' can be used here. Mandatory options
are: protocol, server, user.
-w PASSWORD, --password=PASSWORD
password (you will be asked if not specified)
-t PORT, --port=PORT
-d DOMAIN, --domain=DOMAIN
-k KEYRING, --keyring=KEYRING
keyring name (will use default one when no specified)
Example usage: gkeyring.py get -s myserver.com -p ftp
- Option --no-newline added, tweaked -1 option behavior.