Skip to content

Decrypt Protected Settings in VMSnapshot Extension for FIPS 140-3 AES256 support and backward compatibility for DES_EDE3_CBC encryption#2122

Open
deveshjagwani wants to merge 2 commits intomasterfrom
dev/dejagwan/fips140
Open

Decrypt Protected Settings in VMSnapshot Extension for FIPS 140-3 AES256 support and backward compatibility for DES_EDE3_CBC encryption#2122
deveshjagwani wants to merge 2 commits intomasterfrom
dev/dejagwan/fips140

Conversation

@deveshjagwani
Copy link
Member

FedRamp requirement security task: 34614091

@deveshjagwani deveshjagwani changed the title Decrypt protected settings with FIPS 140-3 AES256 support and backward compatibility for DES_EDE3_CBC encryption Decrypt Protected Settings in VMSnapshot Extension for FIPS 140-3 AES256 support and backward compatibility for DES_EDE3_CBC encryption Nov 3, 2025
return cleartxt
else:
self.log("CMS decryption failed with return code: " + str(result[0]) + ", attempting fallback to SMIME")
except Exception as e:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any failure scenario logs like the decryption via the cms fails in that case we are logging the error and falling back to the other approach, but does the error have any details related to key or cert as this data would be pushed to kusto and it should not be having any sensitive info

@@ -205,6 +205,67 @@ def error(self, message):
def fetch_log_message(self):
return self.log_message

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since protected settings are used in guest path, please do test the guest path

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

Successfully merging this pull request may close these issues.

3 participants