Add a boolean parameter to indicate whether pinentry environment
variables should be passed to the agent.
Setting this parameter to a non-zero value is equivalent to
calling the init_agent_environment function one the connection
with the agent is established.
If the key is to be read from a read-protected DO, ensure that
the appropriate PIN is checked before attempting to read it. If
the PIN has not been previously verified, the GPG Agent will then
take care of it.
Add an option to specify the private DO slot where the key is
to be read, instead of always using private DO #1.
Note that reading from private DOs 3 and 4 will fail if the
appriopriate PIN has not been verified prior the call to
scdtotp.
Allow to chose the HMAC algorithm among SHA-1, SHA-256 and
SHA-512. Other algorithms are available in libgcrypt but those
are the only one specified in RFP 6238.
Add a new tool, scdtotp, to use the OpenPGP smartcard as a poor
man’s one-time password token. The program reads a key from
the smartcard’s private DO and derives and time-based one-time
password from it.