From 36a185ef45678ce2a897d7dda1392b0e147ae336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Wed, 27 Feb 2013 17:31:26 +0100 Subject: Added bouncycastle lib with libs folder. --- libs/bcprov-jdk15on-148.jar | Bin 0 -> 2318161 bytes src/se/leap/leapclient/ProviderAPI.java | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 libs/bcprov-jdk15on-148.jar diff --git a/libs/bcprov-jdk15on-148.jar b/libs/bcprov-jdk15on-148.jar new file mode 100644 index 00000000..3fcb136d Binary files /dev/null and b/libs/bcprov-jdk15on-148.jar 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 -- cgit v1.2.3