aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorAdithya Abraham Philip <adithyaphilip@gmail.com>2015-04-19 13:31:37 +0530
committerAdithya Abraham Philip <adithyaphilip@gmail.com>2015-04-20 21:42:51 +0530
commit91443c2f43615f25cd412007d89fe5a8ccc082bb (patch)
tree8f1abcb0996ee84ee98758829ee62677d3e69977 /OpenKeychain/src/main/AndroidManifest.xml
parentf2d3abd4c9cd521754d932a057356b511247be00 (diff)
downloadopen-keychain-91443c2f43615f25cd412007d89fe5a8ccc082bb.tar.gz
open-keychain-91443c2f43615f25cd412007d89fe5a8ccc082bb.tar.bz2
open-keychain-91443c2f43615f25cd412007d89fe5a8ccc082bb.zip
support for handling keyserver urls from browser, added documentation
Diffstat (limited to 'OpenKeychain/src/main/AndroidManifest.xml')
-rw-r--r--OpenKeychain/src/main/AndroidManifest.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/AndroidManifest.xml b/OpenKeychain/src/main/AndroidManifest.xml
index d0f50d5cc..8c66176fd 100644
--- a/OpenKeychain/src/main/AndroidManifest.xml
+++ b/OpenKeychain/src/main/AndroidManifest.xml
@@ -624,6 +624,23 @@
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.bin" />
</intent-filter>
+ <!-- VIEW from keyserver urls opened in a browser -->
+ <intent-filter android:label="@string/intent_import_key">
+ <action android:name="android.intent.action.VIEW" />
+
+ <category android:name="android.intent.category.BROWSABLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+
+ <data android:scheme="https"/>
+ <data android:scheme="http"/>
+ <!-- if we don't specify a host, pathPattern will be ignored-->
+ <data android:host="*"/>
+ <!-- convention for keyserver paths specified by internet draft
+ draft-shaw-openpgp-hkp-00.txt
+ (http://tools.ietf.org/html/draft-shaw-openpgp-hkp-00#section-3) -->
+ <data android:pathPattern="/pks/lookup.*"/>
+ </intent-filter>
+
<!-- Keychain's own Actions -->
<!-- IMPORT_KEY with files TODO: does this work? -->
<intent-filter android:label="@string/intent_import_key">