Files
trezor-agent/agents/fake/fake_device_agent.py
2017-07-16 15:29:47 +03:00

8 lines
260 B
Python

import libagent.gpg
import libagent.ssh
from libagent.device.fake_device import FakeDevice as DeviceType
ssh_agent = lambda: libagent.ssh.main(DeviceType)
gpg_tool = lambda: libagent.gpg.main(DeviceType)
gpg_agent = lambda: libagent.gpg.run_agent(DeviceType)