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

lock down the binary #208

Open
elonden opened this issue Apr 17, 2020 · 4 comments
Open

lock down the binary #208

elonden opened this issue Apr 17, 2020 · 4 comments

Comments

@elonden
Copy link

elonden commented Apr 17, 2020

Introduce the ability to remove the --keep --verbose --list --noexec and other -- parameters in the compilation in order to retain a clean binary which does not leave traces and does also not provide the option to leave traces.

This also ensures a somewhat better form of control of the content.

Reason is that in production environments administrators and security people do not allow these options to be present in order to ensure a safety regulation is followed. The current flags do provide that option and may cause harm if embedded scripts are not executed in order as designed.

@megastep
Copy link
Owner

I could technically disable these options in the generated archives, but it would not really prevent determined users from handling the archive manually and extracting/listing its contents as in the end it is still a plain old compressed tar archive. Any user worth its salt can look at the beginning of the archive to figure out how to do it.

@elonden
Copy link
Author

elonden commented Apr 21, 2020

The main reason is that I would like to make it "not so obvious". And it would be better to prove if anyone mucked around with it. If you would just be able to "disable" these options during the build phase that would be great.

@elonden
Copy link
Author

elonden commented May 14, 2020

Hello Stepahne,

Any plans to get this in place or have you decided not to do it?

Regards,
Erwin

@megastep
Copy link
Owner

It's a low priority at the moment. However if you want to contribute a pull request, I'd be happy to merge it.

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

No branches or pull requests

2 participants