mirror of
https://github.com/romanz/amodem.git
synced 2026-03-25 11:51:02 +08:00
Add OnlyKey support
This commit is contained in:
7
agents/onlykey/onlykey_agent.py
Normal file
7
agents/onlykey/onlykey_agent.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user