summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-03-18Loads bks file from assets.Parménides GV
2013-03-18Refactored ProviderAPI code.Parménides GV
ConfigurationWizard works without problem for both new and preseeded providers. I've added flow control for the activity to finish when all files have been downloaded, managing errors with setResult(RESULT_CANCELED).
2013-03-18If ca.crt from new provider is not trusted, we can download it withoutParménides GV
problems assuming user wanted to trust it since s/he entered by him/herself the URL. Next step: refactor a bit, to make code more beautiful.
2013-03-14After downloading provider.json successfully, ConfigurationWizard nowParménides GV
can download eip-service.json and ca.crt without having the latter as a predefined trusted certificate. It does not ask anything about trusting the new certificate as far as selecting a custom provider means that the user trusts that url. Next step: make provider.json also downloadable from https address using ca.cert not trusted.
2013-03-13ConfigurationWizard sets provider.json correctly for Dashboard once aParménides GV
custom provider is selected. Tested using https://bitmask.net as url for custom provider.
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-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-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-30Beginnings of a Dashboard ActivitySean Leonard
Matching layout and menu XML And don't forget strings
2013-01-30Empty Dashboard.javaSean Leonard
2013-01-30Provider class filled up quick ;) Resolves #1520Sean Leonard
2013-01-30Empty Provider.java fileSean Leonard
2013-01-25Replace hardcoded package name string, FIXME but closes #1494Sean Leonard
2013-01-22Start rebranding: a whole lotta string replacement, moving src/ file treeSean Leonard
2013-01-18Ignore route-pre-down tooArne Schwabe
2013-01-14Do not save BYTECOUNT state message as last message.Arne Schwabe
2013-01-10Fix inserting inline certificates, increase log bufferArne Schwabe
2013-01-07Logs arguments to strings for minidumpArne Schwabe
2013-01-04Some more changes making external API possibleArne Schwabe
2013-01-04remote overrides port and proto options (Closes issue #128)Arne Schwabe