diff options
author | Jakob Unterwurzacher | 2021-06-08 09:55:04 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-06-08 09:55:04 +0200 |
commit | 3dad9e0648c9e29d351bcdf7a9b243b2838d9566 (patch) | |
tree | 8ee134aa06ff167d9d078aa4a81a550497f6fde8 | |
parent | 14d422dc9cc6a5c94e1adb527123bf698d806f9c (diff) |
README: recommend build-without-openssl.bash
For build.bash, list missing dependencies: gcc, pkg-config
Fixes https://github.com/rfjakob/gocryptfs/issues/575
-rw-r--r-- | README.md | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -100,13 +100,19 @@ With go 1.11 or higher: $ git clone https://github.com/rfjakob/gocryptfs.git $ cd gocryptfs - $ ./build.bash + $ ./build-without-openssl.bash -build.bash needs the OpenSSL headers installed (Debian: `apt install libssl-dev`, -Fedora: `dnf install openssl-devel`). Alternatively, you can compile -without OpenSSL using +This will compile a static binary that uses the Go stdlib crypto backend. - $ ./build-without-openssl.bash +If you want to use the OpenSSL crypto backend (faster on +old CPUs lacking AES-NI), you have to install a few dependencies: + +* Debian/Ubuntu: `apt install libssl-dev gcc pkg-config` +* Fedora: `dnf install openssl-devel gcc pkg-config` + +Then, run: + + $ ./build.bash Use --- |