multiOTP / multiOTPCredentialProvider

multiOTP Credential Provider is a V2 Credential Provider for Windows 7/8/8.1/10/2012(R2)/2016 with options like RDP only and UPN name support
Apache License 2.0
228 stars 75 forks source link

Failed to read registry setting values correctly. #87

Closed khaisis closed 10 months ago

khaisis commented 1 year ago

Hi there.

The code in the following location doesn't seem to be working correctly.

It looks like you need to either find a pointer to the string in the settings array and compare for equality, or treat it as a string comparison function.

multiOTP commented 11 months ago

Hello, thanks for your feedback but I don't have the same results as you. It's true if the value you are looking for has MULTIOTP_SETTINGS in the s_CONF_VALUES array (for example CONF_PATH) It's false if the value you are looking for has NOT MULTIOTP_SETTINGS in the s_CONF_VALUES array (for example CONF_RDP_PORT)

Best regards

khaisis commented 10 months ago

hello. I tried to double-check the issue, but it's been a while and I don't remember the situation.

I'll get back to you if I check back later.