question

GUPTADeepika-1813 avatar image
0 Votes"
GUPTADeepika-1813 asked

Changing cryptographic_provider_guid of an existing Asymmetric/Symmetric key

Hi All

Below is a scenario :

  • I have created a key Key_A on an External Key Manager via Cryptographic_Provider_A installed on an MS SQL Server.
    Key_A is used to perform column encryption as well as TDE.

  • Now, after deleting the credential & cryptographic provider, a new cryptographic provider Cryptographic_Provider_B is installed on the same system.

  • Now if I try to use the Key_A to decrypt Database_A and decrypt Column data, I get an error that the cryptographic provider with which the key was created, and the one that is installed on the system have different GUIDs.

Question : Is it possible to manipulate the Key_A and change it's cryptographic_provider_guid from the GUID of Cryptographic_Provider_A to the GUID of Cryptographic_Provider_B ?

Best Regards
Kumar Abhishek

windows-api
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.

0 Answers