Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with keychain over ssh #496

Closed
insanerwayner opened this issue Aug 15, 2017 · 2 comments
Closed

Errors with keychain over ssh #496

insanerwayner opened this issue Aug 15, 2017 · 2 comments
Labels
🔒 Outdated

Comments

@insanerwayner
Copy link

When I try to use over ssh I get thrown a lot of errors about the keychain. I'd like to be able to use this remotely on the go.

On Ubuntu 16.04 LTS btw

Here are the errors:

wayne@waynebuntu:~$ jrnl
Traceback (most recent call last):
  File "/usr/local/bin/jrnl", line 11, in <module>
    sys.exit(run())
  File "/usr/local/lib/python2.7/dist-packages/jrnl/cli.py", line 194, in run
    journal = Journal.Journal(journal_name, **config)
  File "/usr/local/lib/python2.7/dist-packages/jrnl/Journal.py", line 39, in __i                                                                                                                                                             nit__
    self.open()
  File "/usr/local/lib/python2.7/dist-packages/jrnl/Journal.py", line 105, in op                                                                                                                                                             en
    journal = util.get_password(keychain=self.name, validator=validate_password)
  File "/usr/local/lib/python2.7/dist-packages/jrnl/util.py", line 37, in get_pa                                                                                                                                                             ssword
    pwd_from_keychain = keychain and get_keychain(keychain)
  File "/usr/local/lib/python2.7/dist-packages/jrnl/util.py", line 56, in get_ke                                                                                                                                                             ychain
    return keyring.get_password('jrnl', journal_name)
  File "/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 41, in get                                                                                                                                                             _password
    return _keyring_backend.get_password(service_name, username)
  File "/usr/local/lib/python2.7/dist-packages/keyring/backends/fail.py", line 2                                                                                                                                                             3, in get_password
    raise RuntimeError(msg)
RuntimeError: No recommended backend was available. Install the keyrings.alt pac                                                                                                                                                             kage if you want to use the non-recommended backends. See README.rst for details                                                                                                                                                             .
@insanerwayner
Copy link
Author

Answered my own question. Installed keyrings.alt with pip and it started working.

@lock
Copy link

lock bot commented May 21, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the 🔒 Outdated label May 21, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔒 Outdated
Projects
None yet
Development

No branches or pull requests

1 participant