From 3dad9e0648c9e29d351bcdf7a9b243b2838d9566 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 8 Jun 2021 09:55:04 +0200 Subject: README: recommend build-without-openssl.bash For build.bash, list missing dependencies: gcc, pkg-config Fixes https://github.com/rfjakob/gocryptfs/issues/575 --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c665412..6144361 100644 --- a/README.md +++ b/README.md @@ -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 --- -- cgit v1.2.3