Heiko Schaefer
994e10c2d7
Minor restructuring, add some comments.
2021-11-12 19:02:35 +01:00
Heiko Schaefer
c84561d5e8
Clarify SCD command size limitation comment and naming.
2021-11-12 18:53:13 +01:00
Heiko Schaefer
90ae9398ed
Adjust the backend API and interaction with openpgp-card some more.
2021-11-12 18:47:56 +01:00
Heiko Schaefer
d55985807c
Change the API for interactions between openpgp-card and backends.
...
The goal of this change is a cleaner structure, and in particular to make it the default for client-code to obtain a CardApp with pre-initialized "capabilities" (that is, init_caps() gets called implicitely).
2021-11-11 16:40:08 +01:00
Heiko Schaefer
c73a4fa2f8
Adjust card name to the shop's naming.
2021-09-22 16:42:43 +02:00
Heiko Schaefer
316ca7eb3a
Rename error types and re-export them at the crate top level.
2021-09-01 23:59:56 +02:00
Heiko Schaefer
f28c9c2204
Adjust visibility and add accessors to CardCaps.
2021-08-21 19:02:04 +02:00
Heiko Schaefer
f67501d0f9
Lints
2021-08-05 15:16:16 +02:00
Heiko Schaefer
897847cb46
Add a shutdown_scd() function, to explore managing scdaemon.
2021-08-03 23:17:06 +02:00
Heiko Schaefer
f46d94f989
Communicate with scdaemon via gpg-agent (this removes the need for a "socket" parameter)
2021-08-03 17:46:13 +02:00
Heiko Schaefer
c9e7f1b0aa
Some cleanup/documentation.
...
ScdClient now produces the lower level CardClientBox objects (instead of CardBase)
2021-08-03 15:31:40 +02:00
Heiko Schaefer
ff65d200ec
Improve scdaemon client backend:
...
- Use "--exlen" SCD parameter for extended length commands.
- Deal with Assuan line length limitations.
- Add a CardCaps to ScdClient.
2021-07-29 18:35:25 +02:00
Heiko Schaefer
97d4880118
Signing
2021-07-18 12:00:00 +02:00
Heiko Schaefer
f59a8a948c
Remove unused imports; Lints.
2021-07-16 18:44:59 +02:00
Heiko Schaefer
01126aabdf
Support scdaemon as an alternative backend for interaction with OpenPGP cards.
2021-07-16 16:30:56 +02:00