Menu

#1 Need to create missing key

open
nobody
None
5
2016-01-26
2010-09-29
Mark
No

It's possible to get a NTE_BAD_KEYSET error when attempting to get the context. According to Microsoft you should then attempt to create a new key set (See http://msdn.microsoft.com/en-us/library/aa379886%28v=vs.85%29.aspx\). An example is provided here: http://msdn.microsoft.com/en-us/library/aa382375%28VS.85%29.aspx

I've attached a patch that fixes EncryptSymmetric. I was able to test and confirm the patch works on a vm where the key set didn't exist.

Discussion

  • Mark

    Mark - 2010-09-29

    Patch to fix bug

     
  • Evgemi Morozovs

    Evgemi Morozovs - 2016-01-26

    How to use it ? Write details please.

     

Log in to post a comment.

MongoDB Logo MongoDB