ssh-pkcs11.c

Nuno Gonçalves nunojpg at gmail.com
Sat Jun 18 06:09:55 AEST 2016


On Fri, Jun 17, 2016 at 9:04 PM, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> Not sure what best solution, but ignoring empty PIN is the same as
> ignoring "cancel" or similar constants, which is more explicit.
> What's wrong with plain <Ctrl>-C, as without PIN there is no use to
> continue session anyway.

The session could continue with other publickey auth or even password,
that could be asked after. Anyway I was confuses by the behaviour as a
user, such that it eventually locked my card. I agree there is no
clear cut solution, so I'll just live with it as it is.

>> Regarding the CKF_USER_PIN flags, do you think it is a good idea to
>> implement the warning messages?

OpenSC does. I have no idea what is the OpenSC quota for ssh users.
Anyway the libraries can be waiting for the clients to support it!
I'll provide a patch and hope it is acceptable.

Thanks for the replies!

Nuno


More information about the openssh-unix-dev mailing list