summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2025-02-13 22:28:45 +0100
committerGitHub <noreply@github.com>2025-02-13 22:28:45 +0100
commitbbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392 (patch)
treef015a0c037db01e1e904d8a7b0cc89f545528868
parent8726f449a32bcb638815f2f54bf366e45e43655d (diff)
downloadnofuture-go-memguard-bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392.tar.gz
nofuture-go-memguard-bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392.tar.xz
nofuture-go-memguard-bbe3339bdf8b6f24cd8d002dd7d83c1a7a4d2392.zip
Update README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a671981..fe03c87 100644
--- a/README.md
+++ b/README.md
@@ -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