Reply with an ERR to `SCD SERIALNO openpgp` ASSUAN command

(for NeoPG)
master
Roman Zeyde 6 years ago
parent 912b1cde7a
commit f74de828fc
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

@ -119,6 +119,7 @@ class Handler(object):
"""No support for smart-card device protocol."""
reply = {
(b'GETINFO', b'version'): self.version,
(b'SERIALNO', b'openpgp'): 'ERR 32848 GPG_ERR_UNKNOWN'
}.get(args)
if reply is None:
raise AgentError(b'ERR 100696144 No such device <SCD>')

Loading…
Cancel
Save