Skip to content

update dependencies, don't statically link openssl#120

Merged
serprex merged 1 commit into
mainfrom
update-dependencies
Jul 14, 2026
Merged

update dependencies, don't statically link openssl#120
serprex merged 1 commit into
mainfrom
update-dependencies

Conversation

@serprex

@serprex serprex commented Jul 14, 2026

Copy link
Copy Markdown
Member

static openssl was getting overridden by postgres openssl anyways

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the pinned vcpkg baseline/commit and changes the build to avoid statically linking OpenSSL, relying on the host OpenSSL at runtime to prevent symbol interposition issues and allow distro CVE patching.

Changes:

  • Bump vcpkg baseline/commit pin across config, CI action, and Docker build.
  • Update vcpkg Linux PIC triplets to build the openssl port as a shared library while keeping other deps static.
  • Add linker option to hide symbols from static archives in the produced extension (--exclude-libs,ALL) to reduce RTLD_GLOBAL symbol interposition.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vcpkg-configuration.json Updates the vcpkg registry baseline commit.
triplets/x64-linux-pic.cmake Switches OpenSSL to dynamic linkage for this triplet.
triplets/arm64-linux-pic.cmake Switches OpenSSL to dynamic linkage for this triplet.
INSTALL.md Updates installation/runtime dependency statement for OpenSSL.
docker/postgres-ext.Dockerfile Pins vcpkg commit and installs runtime OpenSSL package (libssl3).
CMakeLists.txt Adds linker option to hide static-archive symbols from dynamic export.
.github/actions/setup-vcpkg/action.yml Pins vcpkg commit for CI to keep binary cache stable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread INSTALL.md
@serprex serprex marked this pull request as draft July 14, 2026 15:22
@serprex serprex force-pushed the update-dependencies branch 2 times, most recently from 5f194c1 to f442360 Compare July 14, 2026 15:43
@serprex serprex marked this pull request as ready for review July 14, 2026 16:06
Copilot AI review requested due to automatic review settings July 14, 2026 16:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

@JoshDreamland JoshDreamland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems fine on both counts.

static openssl was getting overridden by postgres openssl anyways
Copilot AI review requested due to automatic review settings July 14, 2026 19:24
@serprex serprex force-pushed the update-dependencies branch from f442360 to d768dc4 Compare July 14, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

@serprex serprex merged commit 2c48592 into main Jul 14, 2026
13 checks passed
@serprex serprex deleted the update-dependencies branch July 14, 2026 19:32
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