Full Name
2018-10-26 20:11:44 UTC
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.
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.