Commit Graph

361 Commits

Author SHA1 Message Date
Vincent Breitmoser
cb111a09c9 drop contacts permission and related features 2020-09-07 20:19:13 +02:00
Vincent Breitmoser
7154159a36 analytics: remove 2020-09-05 14:14:33 +02:00
Vincent Breitmoser
5172002f0e migrate to androidx 2020-05-30 15:47:09 +02:00
Vincent Breitmoser
5cd210831b ditch minidns 2020-05-30 15:47:09 +02:00
Vincent Breitmoser
864fbc95ea re-merge libkeychain 2020-05-30 15:47:09 +02:00
Vincent Breitmoser
d3e48db520 ditch keybase 2020-05-30 15:47:09 +02:00
Eero Häkkinen
e901322ea3 Add query parameter to WKD URLs
This change adds the l=LOCAL-PART query parameter to WKD URLs as
specified in RFC Draft: draft-koch-openpgp-webkey-service-09 section 3.1
since version 07.
2020-02-18 01:08:27 +02:00
Dominik Schürmann
d44cb1dc24 Merge pull request #2493 from Anders-Linden/master
Adding support for WKD Advanced method
2019-10-22 16:23:04 +02:00
Chris Forno
0008c218ad workaround for NullPointerException for some document thumbnails 2019-10-04 15:50:12 +08:00
Anders Lindén
ff4c6684e1 Adding support for WKD Advanced method
This change extends the WKD support with Advanced mode stated in
RFC Draft: draft-koch-openpgp-webkey-service-08 section 3.1
2019-09-28 22:26:43 +02:00
Vincent Breitmoser
cb054156a7 use keys.openpgp.org by default 2019-06-27 13:55:37 +02:00
Vincent Breitmoser
2cc22c6b65 Remove experimental Linked Identities feature 2018-10-22 12:49:52 +02:00
Vincent Breitmoser
9bd53e48f8 Merge pull request #2397 from open-keychain/effective-authkey
Use specialized query exclusively to select authentication key
2018-10-02 16:11:34 +02:00
Vincent Breitmoser
400db49e75 Use specialized query exclusively to select authentication key 2018-10-01 21:36:01 +02:00
Wiktor Kwapisiewicz
5c55c1a166 Fix saving XMPP URIs in phone Contact Book
Previously XMPP URIs were saved as non functional e-mails in Android built-in
Contact Book. This change saves them as a special IM field that is used
directly by other applications (e.g. Conversations).
2018-09-08 21:48:51 +02:00
Christian Hagau
3ea27ab717 Rewrite ShareKeyHelper 2018-08-04 00:00:00 +00:00
Christian Hagau
d1c64e3159 Extract key sharing methods from ViewKeyAdvShareFragment 2018-08-02 00:00:00 +00:00
Vincent Breitmoser
71ad44ea7c more robustly re-schedule key sync 2018-07-19 11:43:27 +02:00
Vincent Breitmoser
192d87d58f fix crash in replaceDefaultKeyserverWithUbuntu method 2018-07-18 16:11:42 +02:00
Vincent Breitmoser
a4b1751da4 Don't try to lock screen orientation in SecurityTokenOperationActivity on Android 8.0 2018-07-18 16:01:53 +02:00
Vincent Breitmoser
3f4de8b9c6 add (coarse!) analytics for preferences 2018-07-17 15:57:06 +02:00
Vincent Breitmoser
73a4dcdcb7 don't ask for 24h if user cancels dialog (eg clicking outside) 2018-07-17 15:56:16 +02:00
Vincent Breitmoser
c5d7e482e0 Add opt-in setting for tracking 2018-07-17 15:56:16 +02:00
Vincent Breitmoser
9e079329d5 ditch ThreadPoolExecutor for AsyncTask 2018-07-17 14:25:14 +02:00
Vincent Breitmoser
126224e751 ditch unused KeyUpdateHelper class 2018-07-04 13:59:21 +02:00
Vincent Breitmoser
cb7a774324 delete unused FilterCursorWrapper class 2018-07-04 13:59:21 +02:00
Vincent Breitmoser
eb34f900e4 clean up package structure 2018-07-04 13:59:21 +02:00
Vincent Breitmoser
353c75e49c use KeyRepository in ContactHelper 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
921431b05f more Dao work 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
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
8adf4a8a64 move notification of key changes into DAOs 2018-06-14 16:52:43 +02:00
Vincent Breitmoser
571c02180f clean up ExternalKeychainProvider, remove content resolver hack 2018-06-09 20:29:46 +02:00
Wiktor Kwapisiewicz
92e7995b83 Add preference toggle for switching on/off WKD 2018-05-23 15:06:59 +02:00
Wiktor Kwapisiewicz
fe78850b3d Automatically construct CloudSearchPrefs using auto-value 2018-05-23 15:06:59 +02:00
Wiktor Kwapisiewicz
222231066e Show import key dialog when clicking on WKD URL
This change extends WKD support for direct Web Key Directory URLs
similarily to Facebook key URLs and HKP URLs.

When a link with scheme `https` and path starting with
`/.well-known/openpgpkey/hu/` is clicked Android will suggest importing
the key with OpenKeychain.

Fixes #2270.
2018-05-22 22:13:00 +02:00
Wiktor Kwapisiewicz
bc25b345fc Extract out contruction of Web Key Directory URLs
Moves `toWebKeyDirectoryURL` to a separate class adding unit tests
for URL correctness as well as support for spaces at the beginning
and end of the e-mail. Spaces are frequently automatically inserted
by soft keyboards.
2018-05-22 21:32:53 +02:00
Wiktor Kwapisiewicz
fa3b32eddc Add ability to search for keys using WKD protocol
If a search pattern that looks like an email address is found
an additional query using Web Key Directory will be performed.

Implements basic flow described in "Key Discovery" [0] I-D.
Querying SRV records is not supported.

Fixes partially #2270.

[0]: https://tools.ietf.org/html/draft-koch-openpgp-webkey-service-05#section-3.1
2018-05-12 21:14:56 +02:00
Vincent Breitmoser
ba9d714c1b Add Numeric9x4PassphraseUtils 2018-04-13 19:37:33 +02:00
Vincent Breitmoser
3fdc4059b5 add option to toggle self-encrypt for text 2018-03-05 14:02:48 +01:00
Vincent Breitmoser
285184d7c6 add option to toggle self-encrypt for files 2018-03-05 14:02:32 +01:00
Dominik Schürmann
7eaabdaac1 Refactor preference upgrade 2018-02-20 16:59:03 +01:00
Dominik Schürmann
3700432bd2 Use keyserver.ubuntu.com as new default 2018-02-20 16:41:24 +01:00
Vincent Breitmoser
3379a1d85c update compile sdk to 27 2018-01-24 01:32:14 +01:00
Vincent Breitmoser
22c65f2ab8 Use Timber instead of Android.Log 2018-01-20 21:32:37 +01:00
Dominik Schürmann
3cc43e9f69 Adapt copyright headers according to CLA 2017-12-15 16:03:36 +01:00
Dominik Schürmann
4514e1b074 Remove experimental word confirm 2017-12-15 15:25:45 +01:00
Vincent Breitmoser
ecf9249247 don't create OpenKeychain dir on startup 2017-11-29 15:05:45 +01:00