Python-keyring in Debian

I have been introducing the Python Keyring library in this previous post. At that time I was looking for a sponsor and thanks to Piotr Ożarowski, python-keyring is now available in Sid.

What for ?

  • You can access the keyring you use on your system (Gnome-keyring, KWallet) to store your app’s passwords.
  • It’s a unified access to keyrings that the Python Keyring library provides, meaning you can easely write your own backend for your keyring software.
  • You can create your own keyring, crypted on a file, still with the same library.
  • Keyrings are cool and this library provides a great way to play with them, from your Python applications.
  • When mature, the Keyring library will be integrated in the official Python module getpass, which means you’re not learning yet-another-soon-unmaintained library.

How ?

The source package provides three binary packages :

  • python-keyring : the Keyring library without the support of both Gnome-keyring and KWallet.
  • python-keyring-gnome : the support for Gnome-keyring.
  • python-keyring-kwallet : the support for KWallet.

If you use passwords in your Python apps, it’s worth to give python-keyring a try.

About these ads

3 Responses to “Python-keyring in Debian”

  1. 1 Np237 septembre 28, 2009 à 12:47  

    The latest versions of kwallet and gnome-keyring, which should soon be in Debian, share a common D-Bus interface (org.freedesktop.Secrets) to access the keyring.

    Which makes this effort a bit pointless…

    • 2 chaica septembre 28, 2009 à 2:31  

      Hi Np237,

      You can have a look at the Keyring webpage to have a full list of Keyring possibilities (e.g the OSXKeychain backend, Win32CryptoKeyring). Backends for Gnome-keyring and KWallet are not the only features the Keyring library offer.

      One of the major features of this API is you can create your own keyring or write your own keyring backends, meaning you just have to develop a backend to integrate any keyring you want in this API.

      It doesn’t seem pointless to me, especially if this library merges with an official Python module like getpass in the future, offering the developers in the standard library a unified way to access/create any keyring.

  1. 1 Python-keyring in Debian | - Your one stop for news about Debian Rétrolien sur septembre 28, 2009 à 7:00  

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:


Vous commentez à l'aide de votre compte Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s

À propos de l’auteur

Carl Chenet, architecte système et expert GNU/Linux indépendant. N'hésitez pas à faire appel à mes services.
>>> Mon offre de services

Soutenir l’auteur

Soutenir les activités Debian de l'auteur Faire un don Pourquoi faire un don ?

Faire un don en bitcoins

Adresse pour les dons en bitcoins :


Suivez-moi aussi sur !



Recevez les nouvelles publications par mail.

Joignez-vous à 29 followers

%d bloggers like this: