4

Using python-keyring, can one dump all of the available passwords? I'm looking for an iterate_passwords() or similar, but it doesn't seem to exist.

According to this blog post, this is possible using gnomekeyring, but I can't find anything similar in python-keyring, which appears to be a much more prevalent library.

Jonathon Reinhart
  • 132,704
  • 33
  • 254
  • 328

1 Answers1

4

According to the python-keyring documentation, the keyring backends only specify get_, set_ and delete_ methods for single passwords. For example, see the Gnome backend.

There is an open issue on this, which states:

The current API does not provide a way to enumerate keys.

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437