diff options
author | mar-v-in <github@rvin.mooo.com> | 2014-06-04 17:55:24 +0200 |
---|---|---|
committer | mar-v-in <github@rvin.mooo.com> | 2014-06-04 18:05:16 +0200 |
commit | dd959876f4a1a7f26a3f7524e238416c1a30c7e5 (patch) | |
tree | 116f900bec79da37f04126dcec40bc99c7e7f635 /OpenKeychain/src/main/res | |
parent | cc2ef0c17ca1d032477eb21308c5ea677b1cc548 (diff) | |
download | open-keychain-dd959876f4a1a7f26a3f7524e238416c1a30c7e5.tar.gz open-keychain-dd959876f4a1a7f26a3f7524e238416c1a30c7e5.tar.bz2 open-keychain-dd959876f4a1a7f26a3f7524e238416c1a30c7e5.zip |
First version of automatic contact discovery.
TODO:
- Configuration (much of it)
- Enabled by default?
- Which keys to import? Current state: All non-revoked and non-expired with matching userid
- Search for keys if already known? Current state: yes, may cause traffic (configuration: only when wifi?)
- Update interval: Currently Android handles it, might be good (causes automatic refresh on new contact and stuff like that) or bad (too many of refreshes)
Diffstat (limited to 'OpenKeychain/src/main/res')
4 files changed, 21 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 1ba8a6d2d..70b8616d4 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -518,5 +518,7 @@ <string name="unknown_algorithm">unknown</string> <string name="can_sign_not">cannot sign</string> <string name="error_no_encrypt_subkey">No encryption subkey available!</string> + <string name="info_no_manual_account_creation">Do not create OpenKeychain-Accounts manually. + For more information, see Help.</string> </resources> diff --git a/OpenKeychain/src/main/res/xml/account_desc.xml b/OpenKeychain/src/main/res/xml/account_desc.xml new file mode 100644 index 000000000..94ffdf40b --- /dev/null +++ b/OpenKeychain/src/main/res/xml/account_desc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> + +<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" + android:accountType="org.sufficientlysecure.keychain" + android:icon="@drawable/icon" + android:label="@string/app_name"/> diff --git a/OpenKeychain/src/main/res/xml/custom_pgp_contacts_structure.xml b/OpenKeychain/src/main/res/xml/custom_pgp_contacts_structure.xml new file mode 100644 index 000000000..3318f3b45 --- /dev/null +++ b/OpenKeychain/src/main/res/xml/custom_pgp_contacts_structure.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<ContactsSource xmlns:android="http://schemas.android.com/apk/res/android"> + <ContactsDataKind android:mimeType="vnd.android.cursor.item/vnd.org.sufficientlysecure.keychain.key" + android:icon="@drawable/key_small" + android:summaryColumn="data1" + android:detailColumn="data2"/> +</ContactsSource>
\ No newline at end of file diff --git a/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml b/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml new file mode 100644 index 000000000..d8fe60e91 --- /dev/null +++ b/OpenKeychain/src/main/res/xml/sync_adapter_desc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android" + android:contentAuthority="com.android.contacts" + android:accountType="org.sufficientlysecure.keychain" + android:supportsUploading="false" + android:userVisible="true"/>
\ No newline at end of file |