I am exploring HSM devices to check their feasibility with blockchain platforms. I haven't found a good resource which tells how an end user who does not own a HSM but he's keys are stored on it, using a mobile application can authenticate himself to the HSM in order to get a signature from his private key.
Possible solutions could be a PIN/password. But I feel this would still be unsafe. Although an HSM only gives out signatures, anyone gaining access to the users PIN/password will be able to get a signature.
I would like to know what authentication methods are currently being used to access a HSM and what methods could be possible to use in the above scenario.
Another thing I was wondering about was: How can a mobile device communicate with the HSM? Does the HSM support HTTPS for a mobile device to interact with it?
Hypothetical answers are fine as well :)