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

Document/Update s2n to build process for Ubuntu 20.04 #3036

Closed
alexw91 opened this issue Sep 3, 2021 · 1 comment
Closed

Document/Update s2n to build process for Ubuntu 20.04 #3036

alexw91 opened this issue Sep 3, 2021 · 1 comment

Comments

@alexw91
Copy link
Contributor

alexw91 commented Sep 3, 2021

Problem:

s2n currently builds on older versions of Ubuntu. There are several modifications to the existing s2n build that are needed to get s2n to build on Ubuntu 20.04.

Issue 1: Ubuntu 20.04's openssl.cnf file disables TLS 1.0, which breaks s2n's Python integration tests.

Potential Fixes:

  1. Manually edit the installed openssl.cnf file to allow TLS 1.0 system wide.
    - Link: https://stackoverflow.com/a/61568390
  2. Create and Maintain our own openssl.cnffile to be used during Integration Tests

Issue 2: Older Compiler versions are not available on Ubuntu 20.04

Potential Fix:

  1. Allow Ubuntu to install Apt packages from older Ubuntu versions in order to install older compiler versions:
    - Link: https://gist.github.com/zuyu/7d5682a5c75282c596449758d21db5ed#gistcomment-3807040

Issue 3: GnuTLS build scripts do not complete on Ubuntu 20.04

Potential Fix: N/A, needs investigation

Solution:

Make updates to the s2n build scripts to work on Ubuntu 20.04

@alexw91 alexw91 changed the title Document/Update s2n to build on Ubuntu 20.04 Document/Update s2n to build process for Ubuntu 20.04 Sep 7, 2021
@dougch dougch added the s2n-core team label Mar 23, 2022
@dougch
Copy link
Contributor

dougch commented Mar 1, 2023

Gnutls was fixed as part of the move to integrationv2. We have a pre-built docker container for Ubuntu22 running the fuzz tests, but as mentioned above, there are still missing tools that are not available. Our approach now will be to get the integration tests running with nix.

@dougch dougch closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants