diff options
| author | Gab <24553253+gabrix73@users.noreply.github.com> | 2025-02-13 22:28:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 22:28:45 +0100 |
| commit | bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392 (patch) | |
| tree | f015a0c037db01e1e904d8a7b0cc89f545528868 | |
| parent | 8726f449a32bcb638815f2f54bf366e45e43655d (diff) | |
| download | nofuture-go-memguard-bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392.tar.gz nofuture-go-memguard-bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392.tar.xz nofuture-go-memguard-bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392.zip | |
Update README.md
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,14 +26,14 @@ sudo -u www-data /usr/local/go/bin/go get -v \ github.com/open-quantum-safe/liboqs-go@latest \ golang.org/x/crypto@latest \ golang.org/x/sys@latest</code></pre> - +<pre><code> # 6. Compilazione finale sudo -u www-data /usr/local/go/bin/go build -v \ -tags="oqs,purego,harden" \ -trimpath \ -ldflags="-s -w -extldflags '-Wl,-z,relro,-z,now'" \ -buildmode=pie \ - -o nofuture nofuture.go + -o nofuture </code></pre> # 7. Hardening del binario sudo setcap cap_sys_ptrace,cap_net_admin=ep nofuture |
