trezor: fix protocol defaults

This commit is contained in:
Roman Zeyde
2015-08-13 18:31:37 +03:00
parent 211c989b1a
commit 838df004f0
2 changed files with 11 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ def trezor_agent():
if command:
command = ['git'] + command
identity = client.get_identity(label=label)
identity = client.get_identity(label=label, protocol='ssh')
public_key = client.get_public_key(identity=identity)
use_shell = False
@@ -104,7 +104,7 @@ def trezor_agent():
return
def signer(label, blob):
identity = client.get_identity(label=label)
identity = client.get_identity(label=label, protocol='ssh')
return client.sign_ssh_challenge(identity=identity, blob=blob)
try: