Mholloway has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/351719 )
Change subject: Add Secure-preferences library ...................................................................... Add Secure-preferences library This is a very small library that encrypts SharedPreference values. https://github.com/scottyab/secure-preferences It's based on an idea (and code) described here: https://www.codeproject.com/Articles/549119/Encryption-Wrapper-for-Android-SharedPreferences This will add some minimal protection for stored user credentials. Change-Id: I34676d76dc80d601b647d0d90c928c417e5f82ad --- M app/build.gradle A app/src/main/assets/licenses/secure-preferences M app/src/main/res/values/credits.xml 3 files changed, 18 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia refs/changes/19/351719/1 diff --git a/app/build.gradle b/app/build.gradle index fbf1f65..0ac28fa 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -206,6 +206,7 @@ compile 'net.hockeyapp.android:HockeySDK:4.1.3' compile 'org.apache.commons:commons-lang3:3.5' compile 'org.jsoup:jsoup:1.10.2' + compile 'com.scottyab:secure-preferences-lib:0.1.4' annotationProcessor "com.jakewharton:butterknife-compiler:$butterKnifeVersion" diff --git a/app/src/main/assets/licenses/secure-preferences b/app/src/main/assets/licenses/secure-preferences new file mode 100644 index 0000000..28562d1 --- /dev/null +++ b/app/src/main/assets/licenses/secure-preferences @@ -0,0 +1,13 @@ +Copyright (C) 2013, Daniel Abraham, Scott Alexander-Bown + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/app/src/main/res/values/credits.xml b/app/src/main/res/values/credits.xml index ae29729..459da3b 100644 --- a/app/src/main/res/values/credits.xml +++ b/app/src/main/res/values/credits.xml @@ -52,5 +52,9 @@ <a href="https://github.com/ragunathjawahar/android-saripaar">Saripaar</a> <!-- https://github.com/ragunathjawahar/android-saripaar#license --> (<a href="asset:///android_asset/licenses/Saripaar">license</a>) + + <a href="https://github.com/scottyab/secure-preferences">secure-preferences</a> + <!-- https://github.com/scottyab/secure-preferences --> + (<a href="asset:///android_asset/licenses/secure-preferences">license</a>) </string> </resources> -- To view, visit https://gerrit.wikimedia.org/r/351719 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I34676d76dc80d601b647d0d90c928c417e5f82ad Gerrit-PatchSet: 1 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Mholloway <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
