Skip to content
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

Update to OpenSSL 3.x where possible for official packages #7644

Open
patrick-stephens opened this issue Jul 3, 2023 · 4 comments · May be fixed by #9899
Open

Update to OpenSSL 3.x where possible for official packages #7644

patrick-stephens opened this issue Jul 3, 2023 · 4 comments · May be fixed by #9899

Comments

@patrick-stephens
Copy link
Contributor

patrick-stephens commented Jul 3, 2023

Is your feature request related to a problem? Please describe.

OpenSSL 3.x series should be compatible with Fluent Bit and is used for the most recent Ubuntu 22 target but almost all other targets still prefer to use OpenSSL 1.x series. This can lead to security issues and is not best practice so we should step up to OpenSSL 3.x series for all possible targets.

FROM arm64v8/ubuntu:22.04 as ubuntu-22.04.arm64v8-base
ENV DEBIAN_FRONTEND noninteractive
COPY --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
# hadolint ignore=DL3008,DL3015
RUN apt-get update && \
apt-get install -y curl ca-certificates build-essential libsystemd-dev \
cmake make bash wget unzip nano vim valgrind dh-make flex bison \
libpq-dev postgresql-server-dev-all libpq5 \
libsasl2-2 libsasl2-dev openssl libssl-dev libssl3 libyaml-dev pkg-config zlib1g-dev && \

We need to ensure there is no dual linkage to both OpenSSL libraries via other dependencies.

Describe the solution you'd like

See above.

Modify the official build containers in packaging/distros .

Describe alternatives you've considered
None.

Additional context

@edsiper
Copy link
Member

edsiper commented Jul 7, 2023

it seems to me this needs to be a manual check per distro to see which one can use OpenSSL 3 v/s 1

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@nr-dsharma
Copy link

@patrick-stephens is it possible to put OpenSSL 3.x static linking so other distros can use ?

@patrick-stephens
Copy link
Contributor Author

If the distro provides openssl 3 then it should be, just need a PR to update.
I don't think we do static linking for any and it's generally not recommended so you can update the system library easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants