Supplying a PIN for an HSM with PKCS #11
"Full Name" <[email protected]>
| Newsgroups | gmane.network.gnutls.general |
|---|---|
| Message-ID | <[email protected]> |
In case anyone cares (which I doubt, bearing in mind the negligible volume of traffic in this forum): To answer my own question, the callback that I mentioned is expected to supply the PIN itself, be directly or by invoking some other function, to e.g. prompt a user at the command line for a PIN. The PIN must then be copied to the input pin buffer, with the length constraint specified by pin_max. It would be nice if the gnutls documentation were to include a description similar to this - it's just a couple of lines.