Upgrade to OpenSSL v1.1.1l

This commit is contained in:
Matéo Duparc 2021-08-29 13:35:54 +02:00
parent 54b6d03335
commit ba42938f5a
Signed by: hardcoresushi
GPG Key ID: 007F84120107191E
1 changed files with 5 additions and 5 deletions

View File

@ -103,16 +103,16 @@ $ git submodule update --init
libgocryptfs needs OpenSSL: libgocryptfs needs OpenSSL:
``` ```
$ cd app/libgocryptfs $ cd app/libgocryptfs
$ wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz $ wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz
``` ```
Verify OpenSSL signature: Verify OpenSSL signature:
``` ```
$ wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz.asc $ wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz.asc
$ gpg --verify openssl-1.1.1k.tar.gz.asc openssl-1.1.1k.tar.gz $ gpg --verify openssl-1.1.1l.tar.gz.asc openssl-1.1.1l.tar.gz
``` ```
Continue **ONLY** if the signature is **VALID**. Continue **ONLY** if the signature is **VALID**.
``` ```
$ tar -xvzf openssl-1.1.1k.tar.gz $ tar -xvzf openssl-1.1.1l.tar.gz
``` ```
#### Build #### Build
@ -127,7 +127,7 @@ $ go get golang.org/x/sys/unix golang.org/x/sys/cpu golang.org/x/crypto/hkdf git
Then, retrieve your Android NDK installation path, usually someting like "/home/\<user\>/Android/SDK/ndk/\<NDK version\>". We can now build libgocryptfs: Then, retrieve your Android NDK installation path, usually someting like "/home/\<user\>/Android/SDK/ndk/\<NDK version\>". We can now build libgocryptfs:
``` ```
$ cd DroidFS/app/libgocryptfs $ cd DroidFS/app/libgocryptfs
$ env ANDROID_NDK_HOME="<your ndk path>" OPENSSL_PATH="./openssl-1.1.1k" ./build.sh $ env ANDROID_NDK_HOME="<your ndk path>" OPENSSL_PATH="./openssl-1.1.1l" ./build.sh
``` ```
Then, open the DroidFS project with Android Studio. \ Then, open the DroidFS project with Android Studio. \
If a device (virtual or physical) is connected, just click on "Run". \ If a device (virtual or physical) is connected, just click on "Run". \