-
Notifications
You must be signed in to change notification settings - Fork 730
Extension Encryption #791
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
xHector1337
wants to merge
34
commits into
rapid7:master
Choose a base branch
from
xHector1337:add-extension-encryption-manager
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Extension Encryption #791
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1554bc2
Add extension encryption manager
xHector1337 72214ad
feat: extension encryption manager, wiring to library loading and com…
dledda-r7 b796d8b
fix: minor fixes in extension_encryption.c
dledda-r7 f7a0384
feat: integrate Extension Encryption Manager into server setup
dledda-r7 e772f2e
fix: streamline Extension Encryption Manager initialization in server…
dledda-r7 a2b09b1
fix: correct indentation for extension encryption includes in project…
dledda-r7 24288ca
fix: update extension count handling in extension encryption manager
dledda-r7 094c1fe
feat: enhance command processing with extension decryption support
dledda-r7 f787835
feat: add get method to Extension Encryption Manager and improve erro…
dledda-r7 df37b63
Add extension encryption manager
xHector1337 e37cf9c
Merge branch 'add-extension-encryption-manager' into collab/feat/add-…
xHector1337 7e2b157
Merge pull request #2 from dledda-r7/collab/feat/add-extension-encryp…
xHector1337 14db760
bug fix
xHector1337 53441ce
revert the usage of GetTickCount in extension_encryption_encrypt
xHector1337 628ca94
add extensionFindDecrypt function
xHector1337 7559689
add additional checks into extensionFindDecrypt and use it in command…
xHector1337 3511b2f
modify the scheduler to make it work with extension encryption
xHector1337 985727e
bug fix in extension_encryption_add
xHector1337 f82a4e7
store CryptographicManagerType in ExtensionEncryptionManager
xHector1337 6141c1d
use extension_encrypt_unused in the command handler
xHector1337 524575c
define a new error type for extensionFindDecrypt and implement it on …
xHector1337 699fee0
update extension_encryption.c
xHector1337 41918bd
fix: using correct base address for extension encryption manager, ref…
dledda-r7 b900afd
Merge pull request #3 from dledda-r7/collab/feat/add-extension-encryp…
xHector1337 ca3b916
fix: ensure proper handling of encryption status and error conditions…
dledda-r7 9ab8ab1
fix: add null check for ExtensionEncryptionManager in unused encrypt …
dledda-r7 2e03b92
fix: enhance cryptographic manager initialization and error handling …
dledda-r7 5187695
fix: improve decryption error handling in command processing and sche…
dledda-r7 845714c
Merge pull request #4 from dledda-r7/collab/feat/add-extension-encryp…
xHector1337 8d71c52
bug fixes
xHector1337 0ce6b62
Merge branch 'master' into add-extension-encryption-manager
dledda-r7 ac1ab02
fix: update extension encryptions post 6.5 merge for embedded extensions
dledda-r7 13973bc
fix: set freed tmp buffer to NULL in extension_encryption encrypt fun…
dledda-r7 b381af1
fix: fix scheduler logic for extension decryption
dledda-r7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
extensionFindDecrypt()reports a decryption failure, the handler is still invoked. For handlers located inside an encrypted extension, this risks executing encrypted bytes (crash/undefined behavior). Consider short-circuiting the dispatch when decryption fails (except for "not encryptable" / "not found" cases), and avoid logging "Decryption successful" unless the return code indicates success.