Support Signify-based signatures

http://www.openbsd.org/papers/bsdcan-signify.html
This commit is contained in:
Roman Zeyde
2019-07-20 12:52:31 +03:00
committed by Roman Zeyde
parent dbae284487
commit 020572ef5f
5 changed files with 124 additions and 7 deletions

View File

@@ -36,5 +36,6 @@ setup(
'trezor-agent = trezor_agent:ssh_agent',
'trezor-gpg = trezor_agent:gpg_tool',
'trezor-gpg-agent = trezor_agent:gpg_agent',
'trezor-signify = trezor_agent:signify_tool',
]},
)

View File

@@ -1,7 +1,7 @@
import libagent.gpg
import libagent.ssh
from libagent import signify, gpg, ssh
from libagent.device.trezor import Trezor as DeviceType
ssh_agent = lambda: libagent.ssh.main(DeviceType)
gpg_tool = lambda: libagent.gpg.main(DeviceType)
gpg_agent = lambda: libagent.gpg.run_agent(DeviceType)
ssh_agent = lambda: ssh.main(DeviceType)
gpg_tool = lambda: gpg.main(DeviceType)
gpg_agent = lambda: gpg.run_agent(DeviceType)
signify_tool = lambda: signify.main(DeviceType)