lyft / python-blessclient

Python client for fetching BLESS certificates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blessid keys passphrase protection

sebastianvillarroel opened this issue · comments

when I add a passphrase to the blesskey, I have experienced the following error.

Requesting certificate for your public key (set BLESSQUIET=1 to suppress these messages)
Traceback (most recent call last):
  File "/home/sebastian/bin/blessclient.run", line 11, in <module>
    load_entry_point('blessclient', 'console_scripts', 'blessclient')()
  File "/home/sebastian/bin/python-blessclient/blessclient/client.py", line 868, in main
    bless(region, args.nocache, args.gui, args.host, bless_config)
  File "/home/sebastian/bin/python-blessclient/blessclient/client.py", line 809, in bless
    ssh_agent_add_bless(identity_file)
  File "/home/sebastian/bin/python-blessclient/blessclient/client.py", line 369, in ssh_agent_add_bless
    subprocess.check_call(['ssh-add', identity_file], stderr=DEVNULL)
  File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ssh-add', '/home/sebastian/.ssh/blessid']' returned non-zero exit status 1
Debian GNU/Linux 9
Permission denied (publickey).

recreating the key without passphrase resolved the problem. #17 is related to this