gpdb
gpdb copied to clipboard
Change cryptography package version
In cryptography package version 3.2 when certain sequences of update() calls with large values (multiple GBs) for symmetric encryption or decryption occur, it's possible for an integer overflow to happen, leading to the mishandling of buffers. This is patched in version 3.3.2 and newer.
This commit changes the package version from 3.2 to 3.3.2.
Here are some reminders before you submit the pull request
- [ ] Add tests for the change
- [ ] Document changes
- [ ] Communicate in the mailing list if needed
- [ ] Pass
make installcheck - [ ] Review a PR in return to support the community
@jnihal Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@jnihal Thank you for signing the Contributor License Agreement!
Curious to know what exact purpose this package or dependency is used?
Curious to know what exact purpose this package or dependency is used?
@ashwinstar We do not use this package directly in our code, but seems like it is a dependent package for openssl.
Curious to know what exact purpose this package or dependency is used?
@ashwinstar We do not use this package directly in our code, but seems like it is a dependent package for openssl.
So, how are we making sure there is no impact from upgrading the package? Plus, its listed in dev requirements, which seems then is not shipped but only used internally for some testing?
So, how are we making sure there is no impact from upgrading the package?
@ashwinstar I ran the pipeline for this branch, and there were no issues caused by this change.
Plus, its listed in dev requirements, which seems then is not shipped but only used internally for some testing?
Yes, it is not shipped and it is used to install packages, before running the behave test cases on the pipeline.
After a discussion with Ashwin, these packages/dependencies in the file should be baked into the images and should not be installed every time before a test needs to be run on the pipeline (which leads to more time and is less secure). The above part will be tracked separately and for now, since updating the package seems to not cause any failures in the pipeline, we can commit this change.