Skip to content

Ykmd 5.0 SCP11b/MSVC updates #557

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Ykmd 5.0 SCP11b/MSVC updates #557

wants to merge 5 commits into from

Conversation

notdpate
Copy link
Contributor

I have ported the ECDH CNG functions to be Win8 compatible (earlier CNG implementations do not support pseudo-handles). Also, a lot of MSVC specific warnings have been mitigated in libykpiv for a clean build in the tool and minidriver build.

The scp11_open_channel function has been made internal public to the minidriver, to deterministically establish an scp connection, since it cannot use the standard ykpiv_connect function.

I also found a logic error in the size check for scp11b messages, which has been fixed.

notdpate added 5 commits July 22, 2025 13:45
Do not use bcrypt pseudohandles for Win7 compat
Improve ecdh provider handle management
Allow direct scp11 session call from ykmd
Add conditions of use error for commands that require scp session
Fix tool build include of bcrypt.h
Fix x86 build ref to htonl
@notdpate notdpate requested a review from aveenismail July 24, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant