Vincent Breitmoser
a64d898716
hide view key fragment cards until data is loaded
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
4cdc57c690
clean up KeychainDatabase a bit
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
c8481d0247
use Enum for verification status of certificates
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
64bde4c680
extract findByUserId and findByEmail usage from KeychainProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
fa127add45
use LiveData in ViewKeyKeybaseFragment
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
e6fe353469
minor cleanup in UploadKeyActivity
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
0793300b73
use LiveData in QrCodeViewActivity
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
5d8bc8fc50
remove unused SelectIdentityKeyListFragment
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
4fcc5253ae
use LiveData in LinkedIdWizard and related Fragments
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
2a5b93d9c5
fix unit tests
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
38bf421023
simplify ViewKeyFragment
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
8d584df44c
ditch LoaderFragment
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
5cfe0d140f
use LiveData to load data in ViewKeyActivity
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
2d1ff8cdcc
use LiveData in ViewKeyAdvActivity
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
d57a409fac
extract select by signer from KeychainProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
6cd065a3bd
extract subkey loading from KeychainProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
500c219fa0
Extract remaining user id loading from KeychainProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
cf0b659e78
Some cleanup in user id loading
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
921431b05f
more Dao work
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
1556db897f
introduce AbstractDao, fix import of keys (missing delete in KeychainProvider)
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
587b8b4cc9
Don't use backstack for back button handling in MainActivity
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
729121c13c
add comment to buildfiles about android debug-db for convenience
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
b4ac6cd337
Split up FlexibleKeyItem, re-add support for dummy item if user has no secret keys
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
377bf55b70
extract linked id loading from ContentProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
9ad29318e8
extract deletion of keys from ContentProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
f87209d242
use FlexibleAdapter with LiveData in KeyListFragment
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
72f3ed89a6
update build tools to 27.1.1, and gradle wrapper to 4.8
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
77c89cfa98
extract reading of public key data from ContentProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
6585e7113d
move loading of certs into CertificationDao
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
f3ef530b96
ditch ViewCertActivity and cert fragment in AdvKeyView
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
de708288fb
minor layout fix with autocrypt ids
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
e144a402b5
extract autocrypt_peers from KeychainProvider into AutocryptPeerDao
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
bae90f1b23
extract UpdatedKeys access from KeychainProvider into KeyMetadataDao
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
d133b732e5
use SQLDelight, remove ApiApps access from KeychainProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
59c9f52e85
Store secret keys in private storage instead of database
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
a3fd1609df
fix table reference
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
f22c761376
fix unit tests, add shadow for WorkerManager
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
8bf71b893c
use KeyserverSyncWorker for updating keys in the foreground, too
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
b854331daa
Show notification during key sync
2018-06-21 19:21:41 +02:00
Vincent Breitmoser
40b7701f58
use WorkManager for key sync
2018-06-21 19:21:41 +02:00
Vincent Breitmoser
08ab5669a5
extract getDrawableAsNotificationBitmap into ResourceUtils
2018-06-21 19:21:41 +02:00
Vincent Breitmoser
1593cc0826
use WorkManager to schedule temporary file cleanups
2018-06-21 19:21:41 +02:00
Vincent Breitmoser
b29d98d5a2
add WorkManager arch component
2018-06-21 19:21:41 +02:00
Vincent Breitmoser
d57fffb7ba
remove capturing pattern group names for compatibility
...
Fixes #2352
2018-06-21 19:17:22 +02:00
Vincent Breitmoser
651e799fe2
fix fragment management in AppSettingsActivity
2018-06-21 13:40:31 +02:00
Vincent Breitmoser and Dominik Schürmann
89aa99a13f
show Snackbar if clipboard contains key data
2018-06-19 13:28:29 +02:00
Vincent Breitmoser
8adf4a8a64
move notification of key changes into DAOs
2018-06-14 16:52:43 +02:00
Vincent Breitmoser
10d3ca814c
Use LiveData in favor of ContentLoader for ViewKeyFragment
2018-06-14 16:52:43 +02:00
Vincent Breitmoser
700e06dcb9
Catch SecurityException when opening URIs during decrypt
2018-06-14 14:24:56 +02:00
Vincent Breitmoser
0ef46ecb81
use DateUtils instead of PrettyTime (fixes related crash)
2018-06-14 14:21:14 +02:00
Vincent Breitmoser
87e56580a6
Some dark theme fixes for key search activity
...
Fixes #2287
2018-06-14 14:08:07 +02:00
Vincent Breitmoser
996856ddde
Fix NPE on missing charset in HkpKeyserverClient
...
Hopefully fixes #2345
2018-06-14 13:52:47 +02:00
Vincent Breitmoser
5db5db2a0c
clear cache after changing passphrase
...
Fixes #2239
2018-06-13 18:25:35 +02:00
Vincent Breitmoser
69756eb84a
prevent NPE in divider decoration
2018-06-12 18:36:13 +02:00
Vincent Breitmoser
fc6084a7ef
set cursor factory before the cursor is actually created
2018-06-12 18:09:47 +02:00
Vincent Breitmoser
4967a49949
fix date queries in autocrypt handling
2018-06-12 16:44:27 +02:00
Vincent Breitmoser
4f6852ccfc
log api calls
2018-06-12 15:39:53 +02:00
Vincent Breitmoser
c309c75fee
fix error in savePublicKey
2018-06-12 15:39:42 +02:00
Vincent Breitmoser
6e67c14949
correctly parcel SaveKeyringParcel
2018-06-12 13:39:00 +02:00
Vincent Breitmoser
6070e7a9f9
delay cleanup after Application.onCreate
2018-06-12 13:32:29 +02:00
Vincent Breitmoser
dc913fc8ca
remove branding of glow effect
2018-06-12 13:24:59 +02:00
Vincent Breitmoser
abc50f7e40
fix crash in ImportKeysAdapter
...
Fixes #2343
2018-06-12 11:06:54 +02:00
Vincent Breitmoser
a0f48b8353
log elapsed time for secure messaging setup
2018-06-12 11:06:54 +02:00
Vincent Breitmoser
571c02180f
clean up ExternalKeychainProvider, remove content resolver hack
2018-06-09 20:29:46 +02:00
Vincent Breitmoser and GitHub
fffc98f00a
Merge pull request #2341 from open-keychain/usb-ledger
...
Support Ledger Nano S
2018-06-08 11:06:40 +02:00
Vincent Breitmoser
635ee3e876
Don't pass through selection in ExternalKeychainProvider
...
The external provider uses the selectionArgs parameter in a non-standard
way, so it doesn't make sense to pass selection to the query
independently. Also enabling strict mode here, to nail down the fields
that can be requested to the contract of the provider.
2018-06-07 14:39:16 +02:00
Vincent Breitmoser
0c0c095ad8
add Ledger Nano S to supported devices
2018-06-07 14:34:09 +02:00
Vincent Breitmoser
122a8d97f8
refresh connection capabilities even if connection was already established
...
This is relevant for he Ledger Nano S, which may change "key slots"
interactively.
2018-06-07 14:34:09 +02:00
Vincent Breitmoser
35e7fece0d
Add trivial short apdu protocol for T=0
2018-06-07 14:34:09 +02:00
Vincent Breitmoser and GitHub
7e591118de
Merge pull request #2337 from jatoko/draft-shaw-openpgp-hkp-00-conformance
...
HKP server handling adopted to conform to draft-shaw-openpgp-hkp-00
2018-06-04 11:48:47 +02:00
Vincent Breitmoser and GitHub
53fa371c9c
Merge pull request #2331 from open-keychain/fix_personalized_learning
...
Disable personalized learning for password input widgets
2018-05-29 16:41:04 +02:00
Vincent Breitmoser
98dc854d03
Use 0-9 for generated admin pin (derp)
2018-05-23 16:24:05 +02:00
Vincent Breitmoser
d00e27ad2e
Attempt to fix change of key attributes during smartcard key creation
2018-05-23 15:45:43 +02:00
Vincent Breitmoser and GitHub
1e05b7999e
Merge pull request #2329 from wiktor-k/wkd-url
...
Extend WKD support to include WKD URLs
2018-05-23 15:30:46 +02:00
Vincent Breitmoser and GitHub
aa1e9ffb97
Merge pull request #2323 from wiktor-k/ndef-openpgp4fpr
...
Add support for NDEF tags with `openpgp4fpr` URIs
2018-05-23 13:20:05 +02:00
Vincent Breitmoser and GitHub
090eb7e6e3
Merge pull request #2314 from wiktor-k/wkd
...
Search for keys in Web Key Directory
2018-05-21 20:46:16 +02:00
Vincent Breitmoser
2a33245b20
fix nfc sweetspot activity
2018-05-21 20:25:56 +02:00
Vincent Breitmoser and GitHub
225fdbb79a
Merge pull request #2318 from wiktor-k/vcard-key
...
Extend QR scanner to support VCards with KEY field
2018-05-11 17:17:17 +02:00
Vincent Breitmoser
cb6913f6dd
Simplify backup code fragment
2018-05-08 15:20:36 +02:00
Vincent Breitmoser
8edd084212
allow setting custom headers in autocrypt setup message
2018-05-03 15:27:04 +02:00
Vincent Breitmoser
a63aca623d
make sure all keys are allowed for transfer call
2018-05-03 15:26:27 +02:00
Vincent Breitmoser
be58f2ff4c
Add autocrypt key transfer api method
2018-05-03 15:26:24 +02:00
Vincent Breitmoser
f8e6e08410
incorporate feedback
2018-05-02 20:02:53 +02:00
Vincent Breitmoser and GitHub
85032b4354
Merge pull request #2310 from hagau/ssh_signatures_conv
...
Cleanup SshSignatureConverter
2018-05-01 15:23:12 +02:00
Vincent Breitmoser and GitHub
ff6c4d50e3
Merge pull request #2309 from hagau/ssh_rsa_sha2_auth
...
Use correct signature format identifier when creating SSH signatures for RSA with SHA256 & SHA512
2018-05-01 13:55:54 +02:00
Vincent Breitmoser
d6f8357a76
Slight change to "Use different key" submenu, possibly display Autocrypt Setup Message hint
2018-04-18 16:44:01 +02:00
Vincent Breitmoser
00a13e8533
Slight layout changes, and extract strings
2018-04-18 16:44:01 +02:00
Vincent Breitmoser
1a7b30ef99
update openpgp-api-lib
2018-04-18 16:44:01 +02:00
Vincent Breitmoser
bd7cfb9504
Key selection implies permission to OpenKeychain access
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
50af8b6889
Make api permissive operations idempotent
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
650fb911ff
Slight layout change, keep id on single line
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
ee7706b5e9
Add a way to call legacy getSignKey dialog
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
8858dd5c3b
Return extra values for select sign key call
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
b75cd19a4f
add option to choose from unrelated keys
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
336c43cfde
Actually save key in identity select dialog, and some more design updates
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
b92ff86988
Redesign "select signing key" api dialog
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
23cb3c9426
Use only two subkeys in default configuration
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
69121bfa98
extract KeyInfoInteractor from KeyLoader
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
4c92426fe5
Use more subtle animation for translucent theme
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
c9b1690b76
add AsyncTaskLiveData class
2018-04-18 15:34:39 +02:00