Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YubiKeyWrapper.cs - Required BOTH 32bit and 64bit folders to be present. #61

Open
goldfish1974 opened this issue Dec 6, 2023 · 0 comments

Comments

@goldfish1974
Copy link

goldfish1974 commented Dec 6, 2023

Unintuitively, both the 32bit and 64bit directories under the KeeChallenge plugin folder must exist.

I only copied the corresponding architecture folder (out of good security practices) to target desktops.

The following line (125) states the following:

if (!Directory.Exists(_32BitDir) || !Directory.Exists(_64BitDir))

If the || was changed to an && then the error condition would only fire if both 32bit and 64bit sub folders were missing.

The proposed fix would thus be:

if (!Directory.Exists(_32BitDir) && !Directory.Exists(_64BitDir))

I was forced to create an empty 32bit folder (i'm x64) to get around this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant