summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-02-27 17:31:26 +0100
committerParménides GV <parmegv@sdf.org>2013-02-27 17:31:26 +0100
commit36a185ef45678ce2a897d7dda1392b0e147ae336 (patch)
tree7450958a92977ddb337b6b5040b85d37e380ddba
parent5964b1ffec270b99cdbc962cd0c4aefa2c5fcb4d (diff)
Added bouncycastle lib with libs folder.
-rw-r--r--libs/bcprov-jdk15on-148.jarbin0 -> 2318161 bytes
-rw-r--r--src/se/leap/leapclient/ProviderAPI.java6
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/bcprov-jdk15on-148.jar b/libs/bcprov-jdk15on-148.jar
new file mode 100644
index 00000000..3fcb136d
--- /dev/null
+++ b/libs/bcprov-jdk15on-148.jar
Binary files differ
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java
index 39bb50ec..96544159 100644
--- a/src/se/leap/leapclient/ProviderAPI.java
+++ b/src/se/leap/leapclient/ProviderAPI.java
@@ -84,9 +84,9 @@ public class ProviderAPI extends IntentService {
}
}
else if ((task = task_for.getBundleExtra(ConfigHelper.srpAuth)) != null) {
- String username = (String) task.get(ConfigHelper.username_key);
- String password = (String) task.get(ConfigHelper.password_key);
- String authentication_server = (String) task.get(ConfigHelper.srp_server_url_key);
+ String username = "username";//(String) task.get(ConfigHelper.username_key);
+ String password = "password";//(String) task.get(ConfigHelper.password_key);
+ String authentication_server = "localhost:3000";//(String) task.get(ConfigHelper.srp_server_url_key);
SRP6Client srp_client = new SRP6Client();
srp_client.init(new BigInteger(ConfigHelper.NG_1024, 16), ConfigHelper.g, new SHA256Digest(), new SecureRandom());
// Receive salt from server