summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-03Added new files to gitignore.Parménides GV
2013-04-03Fixed bug #2146 => A calculation is now fine. Next step: fix M1Parménides GV
calculation, since right now (using tests) response() method is not doing OK. Added new SRPSession modifying response() method from JBoss SRP implementation. Added hosts-for-android-emulator. Use with the following commands to be able to test on api.lvh.me: adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system adb push ~/workspace/leap_android/hosts-for-android-emulator /system/etc/hosts
2013-03-30Trial for srpforjava: it does not work since it implements SRP-6, andParménides GV
not SRP-6a. That means, for example, that M1 is calculated differently from what we need.
2013-03-29Tried to implement SRP with JBoss: discarded because it needs RMI to getParménides GV
the salt, and because of our messageflow I cannot obtain it before starting Authentication. That's why on line 132 from ProviderAPI I tried to get a new SRPClientSession using the newly obtained salt, but of course it fails since A cannot be restored from previous initialization. Next step: try with srpforjava. Next next step: if srpforjava does not work for us, use lower level methods to implement our own http srp flow.
2013-03-19Trying to find a jar from JBoss to use their SRP implementation. ImportsParménides GV
errors because of classes not yet found.
2013-03-12Error using CryptoUtil.calculatePasswordHash.Parménides GV
Going to hit some bugs before continuing with this work.
2013-03-12Gonna try jboss srp implementation, because if I implement myself one weParménides GV
will have to audit it.
2013-03-07Changed POST by PUT in the sendM1 method. Parménides GV
Cleaned some code, pending the M2 one (testing with M1).
2013-03-05Registering method from ProviderAPI implemented and tested.Parménides GV
M1 is not OK, because errors (with null description, awkward) are received from posting M1 to the server instead of M2. Next step: purge user database from leap_webapp and start testing again.
2013-02-28Now, ProviderAPI sends result to ConfigurationWizard.Parménides GV
Refactored downloadJsonFiles in ProviderAPI, new method from block in the intent identification.
2013-02-27Added bouncycastle lib with libs folder.Parménides GV
2013-02-25Finished first implementation of SRP.Parménides GV
Next step: get cookies understood, how do I get server's sent parameters?
2013-02-21Started SRP authentication. Using NG_1024 with g = 2, and SHA256 digest.Parménides GV
Next steps: Implement async communication with the server to receive salt, send A and receive B.
2013-02-21Removed docs from Wizard branchParménides GV
2013-02-14Completed first draft diagrams at doc/diagrams.xmi. Added templates for SRS ↵Parménides GV
and USR documents -> Next week I'll work on them
2013-02-13Doc folder created and first draft of use case diagram and componentsParménides GV
diagram. Use case diagram is complete about future releases (all services, email, chat...). Components diagram should be discussed, I feel far from final solution.
2013-02-13Solves Issue #1757.Parménides GV
The problem was that ProviderItem.custom was not being set by the constructor, and when using this variable from ConfigurationWizard to get providers.json from http or from assets file.
2013-02-12New custom provider dialog effectively adds the new provider to theparmegv
ProviderListFragment, and then the user can choose it.
2013-02-11Gets provider.json from custom url (assuming the file is at the root ofParménides GV
the website, just as bitmask.net/provider.json), and writes it to a file in ~/leap_android. Next steps: parse that file and download eip-service and cert.
2013-02-11The newProviderButton gets user to the DialogFragment correctly.Parménides GV
The problem in the previous commit was that I had to modify the fragment layout, instead of that of the Activity. I learnt how to obtain and modify it from here: https://developer.android.com/reference/android/app/ListFragment.html
2013-02-07Button not working from ConfigurationWizard.Parménides GV
Trying to test cancel button from created new dialog.
2013-02-07Change in Dashboard to startActivityForResult() ConfigurationWizardSean Leonard
2013-02-07Rearrange singleton Provider.class pattern, Fix isolated SharedPreferences silosSean Leonard
2013-02-07Refactor ProviderListActivity.class into ConfigurationWizard.class,Sean Leonard
Moves towards our wizard flow; Addresses #1497 #1500
2013-02-05Clean up unused importsSean Leonard
2013-02-05Removed bad .classpath build path requirement of Windows Android support sdkSean Leonard
2013-02-05Comments regarding TODOs for changes to ProviderListActivitySean Leonard
2013-02-05Change access modifiers of some functions in Provider.class from public to ↵Sean Leonard
protected
2013-02-05Merge branch 'wizard' of ssh://leap.se/leap_android into wizardSean Leonard
Conflicts: src/se/leap/leapclient/Dashboard.java
2013-02-05Simplified certificates and urls: only 1 certificate, and no :443 portParménides GV
in eip. Downloads certificate and eip from web, and loads provider from assets. KeyStore not created with latest version of BouncyCastle. Looking forward to file a bug and look for a solution.
2013-02-05Remove function to push data into preferences (it was for testing before we ↵Sean Leonard
had ProviderList stuff)
2013-02-05Move Dashboard view building code into a function so it does not run when we ↵Sean Leonard
have no config (createed NullPointerExceptions)
2013-02-04Merge branch 'wizard' of ssh://gitolite@leap.se/leap_android into wizardParménides GV
2013-02-04Secure HTTP working with certificates downloaded from api.bitmask.netParménides GV
and bitmask.net. Both prefs are downloaded and parsed to SharedPreferences.
2013-02-04Fix testing conditional looking for saved prefs that made it into last commitSean Leonard
2013-02-04Created ConfigHelper with static information such as sharedprefs keys,Parménides GV
the saveSharedPrefs method and an unimplemented rescueFromJSONException. Next step: managing HttpsURLConnection for the CertPathValidatorException.
2013-02-01I have a handshake failing within an HTTP connection in order to get theParménides GV
eip-service.json file. provider.json downloads and parses itself OK to SharedPreferences. It also does not link OK to the Dashboard, I do not know how to do it properly and I'm so tired (eyes hurting). Beginning with security things :) Happy to have gotten around DownloadManager problem with a simple HTTP connection.
2013-01-31Problems with downloaded file, the emulator cannot find the fileParménides GV
downloaded. Seen http://code.google.com/p/android/issues/detail?id=18462 and decided to look for another solution. First solution thought (and going to be the next test): HTTP Get request :)
2013-01-30More fun with EIP item entry.Sean Leonard
Added parts to expand listing for quick info and settings access
2013-01-30Add EIP Service item in DashboardSean Leonard
2013-01-30FIXME!! Here there be dragons. Of the "fake data seeded by seedy functions" ↵Sean Leonard
variety, And there shady json files...Creates Issue #1593
2013-01-30Put some About love in the menuSean Leonard
Needs attention, as the AboutFragment does not fill the layout You can still see providerLine Creates Issue #1592
2013-01-30Switch the Launcher Activity, resolves #1526Sean Leonard
2013-01-30Beginnings of a Dashboard ActivitySean Leonard
Matching layout and menu XML And don't forget strings
2013-01-30Empty Dashboard.javaSean Leonard
2013-01-30Goodbye, hello_worldSean Leonard
2013-01-30Provider class filled up quick ;) Resolves #1520Sean Leonard
2013-01-30Empty Provider.java fileSean Leonard
2013-01-29Merge branch 'branding' into developSean Leonard
2013-01-29Many strings... Resolves #1527 #1580 but opened #1582 #1583Sean Leonard