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

Added OpenSSL static PIE #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Giulia424
Copy link

Signed-off-by: Giulia iuliastefania.sandulescu@yahoo.com

Copy link
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.

OpenSSL/README.md Outdated Show resolved Hide resolved
OpenSSL/README.md Outdated Show resolved Hide resolved
OpenSSL/README.md Outdated Show resolved Hide resolved
OpenSSL/README.md Outdated Show resolved Hide resolved
OpenSSL/README.md Outdated Show resolved Hide resolved
OpenSSL/build.sh Outdated Show resolved Hide resolved
OpenSSL/build.sh Outdated Show resolved Hide resolved
OpenSSL/build.sh Outdated Show resolved Hide resolved
OpenSSL/README.md Outdated Show resolved Hide resolved
OpenSSL/build.sh Outdated Show resolved Hide resolved
Signed-off-by: Giulia <iuliastefania.sandulescu@yahoo.com>
@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
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
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
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