Set the public key fingerprint for an existing user while the system is running.
enum nm_iam_error nm_iam_set_user_fingerprint(struct nm_iam* iam, const char* username, const char* fingerprint)
- [in] IAM module to manipulate
- [in] the username of the user
- [in] hex encoded public key fingerprint
NM_IAM_ERROR_INVALID_FINGERPRINT if the specified fingerprint is invalid. NM_IAM_ERROR_NO_SUCH_USER if the specified user does not exist. NM_IAM_ERROR_INVALID_ARGUMENT if the fingerprint length was not 64. NM_IAM_ERROR_OK if the fingerprint was set successfully for the user.