Files
trezor-agent/agents/onlykey/onlykey_agent.py
2020-09-24 22:29:21 +03:00

8 lines
253 B
Python

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