diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-11-08 12:54:50 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 12:54:50 +0530 |
commit | e4eaae37eb419a7b2f381bc4a9d972f14a70dd32 (patch) | |
tree | eee9e32e4594c2866c969983f4657c4d678ae083 | |
parent | 6ab66f9f0e8cc7db46384462276c47128de32f98 (diff) | |
parent | 67160f50d16e725a1464214da2d4a43ef671f10e (diff) |
Re-add OpenPgpAppPreference (#564)
Re-add OpenPgpAppPreference
-rw-r--r-- | app/build.gradle | 6 | ||||
-rw-r--r-- | app/src/main/res/xml/preference.xml | 4 | ||||
-rw-r--r-- | versions.gradle | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/app/build.gradle b/app/build.gradle index d49ffd43..4565a00d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,6 +10,10 @@ plugins { id 'kotlin-android-extensions' } +repositories { + maven { url 'https://jitpack.io' } +} + android { defaultConfig { applicationId 'com.zeapo.pwdstore' @@ -76,7 +80,7 @@ dependencies { implementation 'com.google.android.material:material:' + versions.material implementation 'androidx.annotation:annotation:' + versions.annotation implementation 'androidx.biometric:biometric:' + versions.biometric - implementation 'org.sufficientlysecure:openpgp-api:' + versions.openpgp + implementation 'com.github.msfjarvis:openpgp-api:' + versions.openpgp implementation('org.eclipse.jgit:org.eclipse.jgit:' + versions.jgit) { exclude group: 'org.apache.httpcomponents', module: 'httpclient' } diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 25026517..6ac317ad 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -40,11 +40,9 @@ </androidx.preference.PreferenceCategory> <androidx.preference.PreferenceCategory android:title="@string/pref_crypto_title"> - <!-- TODO(msf): Update the damn library and re-enable this - <org.openintents.openpgp.util.OpenPgpAppPreference + <org.openintents.openpgp.util.OpenPgpAppPreference2 android:key="openpgp_provider_list" android:title="@string/pref_provider_title" /> - --> <androidx.preference.Preference android:key="openpgp_key_id_pref" android:title="@string/pref_key_title" /> diff --git a/versions.gradle b/versions.gradle index 9670d26b..611eab65 100644 --- a/versions.gradle +++ b/versions.gradle @@ -35,7 +35,7 @@ ext { commons_codec: '1.13', jgit: '3.7.1.201504261725-r', jsch: '0.1.55', - openpgp: '12.0', + openpgp: 'v14', sshauth: '1.0' ] } |