Comment 9 for bug 1864204

Revision history for this message
Dan Streetman (ddstreet) wrote :

eoan verification:

ubuntu@lp1864204-e:~$ dpkg -l |grep python3-keyring
ii python3-keyring 18.0.1-1 all store and access your passwords safely - Python 3 version of the package

ubuntu@lp1864204-e:~$ python3
Python 3.7.5 (default, Nov 20 2019, 09:21:52)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
>>> [keyring.backend.get_all_keyring()]
[[<keyring.backends.chainer.ChainerBackend object at 0x7f1dbd2a3ed0>, <keyring.backends.fail.Keyring object at 0x7f1dbca5b510>]]
>>> keyring.set_password('test', 'test', 'test')
>>>

ubuntu@lp1864204-e:~$ python3
Python 3.7.5 (default, Nov 20 2019, 09:21:52)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
>>> [keyring.backend.get_all_keyring()]
[[<keyring.backends.fail.Keyring object at 0x7f883c612cd0>, <keyring.backends.chainer.ChainerBackend object at 0x7f883bdca4d0>]]
>>> keyring.set_password('test', 'test', 'test')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/keyring/core.py", line 63, in set_password
    _keyring_backend.set_password(service_name, username, password)
  File "/usr/lib/python3/dist-packages/keyring/backends/fail.py", line 24, in get_password
    raise RuntimeError(msg)
RuntimeError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.

ubuntu@lp1864204-e:~$ dpkg -l |grep python3-keyring
ii python3-keyring 18.0.1-1ubuntu1 all store and access your passwords safely - Python 3 version of the package
ubuntu@lp1864204-e:~$ python3
Python 3.7.5 (default, Nov 20 2019, 09:21:52)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
>>> [keyring.backend.get_all_keyring()]
[[<keyring.backends.chainer.ChainerBackend object at 0x7f5ad686b450>, <keyring.backends.fail.Keyring object at 0x7f5ad600a5d0>]]
>>> keyring.set_password('test', 'test', 'test')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/keyring/core.py", line 63, in set_password
    _keyring_backend.set_password(service_name, username, password)
  File "/usr/lib/python3/dist-packages/keyring/backends/fail.py", line 25, in get_password
    raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.