mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
Reply with an ERR to SCD SERIALNO openpgp ASSUAN command
(for NeoPG)
This commit is contained in:
@@ -119,6 +119,7 @@ class Handler(object):
|
|||||||
"""No support for smart-card device protocol."""
|
"""No support for smart-card device protocol."""
|
||||||
reply = {
|
reply = {
|
||||||
(b'GETINFO', b'version'): self.version,
|
(b'GETINFO', b'version'): self.version,
|
||||||
|
(b'SERIALNO', b'openpgp'): 'ERR 32848 GPG_ERR_UNKNOWN'
|
||||||
}.get(args)
|
}.get(args)
|
||||||
if reply is None:
|
if reply is None:
|
||||||
raise AgentError(b'ERR 100696144 No such device <SCD>')
|
raise AgentError(b'ERR 100696144 No such device <SCD>')
|
||||||
|
|||||||
Reference in New Issue
Block a user