From cfffcaa1b25da52608bab4e5727d9028dc6e39aa Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Sat, 23 Apr 2016 00:09:46 +0200 Subject: [PATCH] Update build instructions --- doc/build.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/build.md b/doc/build.md index 1a86a4a97d..3042339552 100644 --- a/doc/build.md +++ b/doc/build.md @@ -46,11 +46,22 @@ If `javac` is not found, or your version is anything less than `1.8.0_40`, then ##### 2. Enable unlimited Strength for cryptographic keys -Bitsquare uses 256 bit length keys which are still not permitted by default. Get around that ridiculous fact by adding the missing [jars from Oracle](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html). You will get an error when building Bitsquare package if you don't have these. +Bitsquare uses 256 bit length keys which are still not permitted by default. +Get around that ridiculous fact by adding the missing [jars from Oracle](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html). +Please follow the steps described in the Readme file at the downloaded package. +You will get an error when building Bitsquare package if you don't have these. ##### 3. Copy the BountyCastle provider jar file -Copy the BountyCastle provider jar file (bcprov-jdk15on-1.53.jar) from you local maven repository (/home/.m2) to $JavaHome/jre/lib/ext/. This prevent a "JCE cannot authenticate the provider BC" exception when starting the Bitsquare client. +Copy the BountyCastle provider jar file (bcprov-jdk15on-1.53.jar) from you local maven repository (/home/.m2) to $JavaHome/jre/lib/ext/. +This prevent a "JCE cannot authenticate the provider BC" exception when starting the Bitsquare client. + +##### 4. Edit the jre\lib\security\java.security file to add BouncyCastleProvider + +Add org.bouncycastle.jce.provider.BouncyCastleProvider as last entry at: List of providers and their preference orders +E.g.: +security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider + Steps -----