question

TuanTran-3980 avatar image
0 Votes"
TuanTran-3980 asked JeffMcCashland-5087 edited

How to debug KSP (key storage provider)

Hi,
I am trying to build a KSP driver, I have download sample for KSP, build successfully and registered with windows but I don't know how to debug this Visual Studio.
Do you have any document for this?
Please help!

dotnet-visual-basicwindows-api-security-crypto
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @TuanTran-3980

Thank you for contact Microsoft Open Specification Support.

To confirm you are implementing key storage providers that is covered by the Cryptography API Next Generation (CNG)
https://docs.microsoft.com/en-us/windows/win32/seccng/key-storage-and-retrieval

The the same code you downloaded is from Microsoft Cryptographic Provider Development Kit (CPDK) Version 8.0. https://www.microsoft.com/en-us/download/details.aspx?id=30688?

The CPDK also has dependencies on Windows Driver Kit which can be Download the Windows Driver Kit (WDK) - Windows drivers | Microsoft Docs. Since this is not an open spec question, I am removing [openspecs-windows] and adding [windows-api-security-crypto] https://docs.microsoft.com/en-us/answers/topics/364718/windows-api-security-crypto.html

There are some additional posts that might help you.
https://www.pkisolutions.com/understanding-microsoft-crypto-providers/
https://sdtimes.com/devops/a-developers-guide-to-key-storage-providers/


Hungchun Yu
Microsoft Open Specifications Support.


0 Votes 0 ·

Hi @TuanTran-3980 ,
I have some questions to confirm with you based on your description.
What's the type of your application?

I have download sample for KSP

Could you provide more details about the sample? It will help us analyze the question.
We are waiting for your update.



0 Votes 0 ·

The openspec-* tags are dedicated to supporting issues related to open specifications. You can find open specifications here https://docs.microsoft.com/en-us/openspecs/. Since your question does not pertain to one of these specifications, I've removed the openspecs tag and added the windows-api-security-crypto tag. Hopefully this will get your post the proper attention.

Best Regards,
Jeff McCashland
Microsoft Open Specifications

0 Votes 0 ·

0 Answers