das-labor / neopg

The multiversal cryptoengine!
Other
216 stars 16 forks source link

Better agent protocol #86

Open lambdafu opened 6 years ago

lambdafu commented 6 years ago

The agent protocol could be easier to use. Some ideas:

See also: https://github.com/romanz/trezor-agent, https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-August/013008.html

romanz commented 6 years ago

Do we need to handle SCD SERIALNO openpgp command? Currently I'm naively returning ERR 100696144 No such device <SCD>...

romanz commented 6 years ago

IIUC RESET commands are not required, since the agent is started on-demand (and not running forever like in GPG).