Skip to content

Added OpenSSL static PIE#72

Open
Giulia424 wants to merge 1 commit intounikraft:masterfrom
Giulia424:master
Open

Added OpenSSL static PIE#72
Giulia424 wants to merge 1 commit intounikraft:masterfrom
Giulia424:master

Conversation

@Giulia424
Copy link
Copy Markdown

Signed-off-by: Giulia [email protected]

Copy link
Copy Markdown
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

Thank you for this @Giulia424, please see the comments.
Besides those, please also rename the directory from OpenSSL to openssl.

@Giulia424 Giulia424 requested a review from StefanJum October 22, 2022 10:50
@razvand razvand added enhancement New feature or request kind/hackathon Hackathon challenge labels Oct 23, 2022
@razvand razvand self-assigned this Oct 23, 2022
@razvand razvand linked an issue Oct 23, 2022 that may be closed by this pull request
Copy link
Copy Markdown
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

Looks good @Giulia424, just few more comments.

@@ -0,0 +1,28 @@
# Build OpenSSL as static PIE

Script to build OpenSSL as a static PIE ELF binary.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
Script to build OpenSSL as a static PIE ELF binary.
Script to build OpenSSL as a static PIE ELF binary.

#!/bin/bash

SSL_URL="https://www.openssl.org/source/openssl-3.0.5.tar.gz"
rm -rf SSL-*
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a cleanup step here.
The rm -rf SSL-* command does not do anything since there is nothing in the current directory to match that name.
It should remove the extracted source code, see nginx as an example.

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

Labels

enhancement New feature or request kind/hackathon Hackathon challenge

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Add OpenSSL static PIE build

3 participants