1.1 KiB
1.1 KiB
Security Model
Basic goals
- Intents without permissions should only work based on user interaction (e.g. click a button in a dialog)
Android primitives to exchange data: Intent, Intent with return values, Send (also an Intent), Content Provider, AIDL
Without Permissions
Intents
All Intents start with org.sufficientlysecure.keychain.action.
android.intent.action.VIEWconnected to .gpg and .asc files: Import Key and Decrypt- ``android.intent.action.SEND connected to all mime types (text/plain and every binary data like files and images): Encrypt and Decrypt
IMPORTIMPORT_FROM_FILEIMPORT_FROM_QR_CODEIMPORT_FROM_NFCSHARE_KEYRINGSHARE_KEYRING_WITH_QR_CODESHARE_KEYRING_WITH_NFCEDIT_KEYRINGSELECT_PUBLIC_KEYRINGSSELECT_SECRET_KEYRINGENCRYPTENCRYPT_FILEDECRYPTDECRYPT_FILE
TODO:
- remove IMPORT, SHARE intents, simplify ENCRYPT and DECRYPT intents (include _FILE derivates like done in SEND based on file type)
- EDIT_KEYRING and CREATE_KEYRING, should be available via for registered apps
- new intent REGISTER_APP?