joaojacome/bitwarden-ssh-agent

Error

Cabel-T opened this issue · 1 comments

when I exec this script,output error:
python3 bw_add_sshkeys.py

INFO:root:Getting Bitwarden session
Traceback (most recent call last):
  File "bw_add_sshkeys.py", line 313, in <module>
    main()
  File "bw_add_sshkeys.py", line 295, in main
    session = get_session()
  File "bw_add_sshkeys.py", line 86, in get_session
    '--quiet'
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'bw': 'bw'

You'd need to install the bitwarden CLI to use this tool. Check it out here https://github.com/bitwarden/cli
Good luck!