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
0ef46ecb81
use DateUtils instead of PrettyTime (fixes related crash)
2018-06-14 14:21:14 +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
abc50f7e40
fix crash in ImportKeysAdapter
...
Fixes #2343
2018-06-12 11:06:54 +02:00
jatoko
e965475540
HKP server handling adopted to conform to draft-shaw-openpgp-hkp-00
...
- updated regex
- added error if server does not implement hkp function
- added algorithm extraction from downloaded key if hkp fails
-- fixes algorithm shown unknown if hkp response field is empty
2018-05-30 17:10:39 +02:00
Vincent Breitmoser
98dc854d03
Use 0-9 for generated admin pin (derp)
2018-05-23 16:24:05 +02:00
Vincent Breitmoser
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
Wiktor Kwapisiewicz
fe78850b3d
Automatically construct CloudSearchPrefs using auto-value
2018-05-23 15:06:59 +02:00
Vincent Breitmoser
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
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
759e51e6f4
Add support for NDEF tags with openpgp4fpr URIs
...
This change allows importing keys from NDEF tags that have fingerprint
encoded as an `openpgp4fpr` URI when the application is in background.
After scanning a tag the `Import keys` activity is shown with results of
the search for key fingerprint encoded in the tag.
2018-05-22 09:25:52 +02:00
Vincent Breitmoser
090eb7e6e3
Merge pull request #2314 from wiktor-k/wkd
...
Search for keys in Web Key Directory
2018-05-21 20:46:16 +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
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
Wiktor Kwapisiewicz
01aadf6a1f
Extend QR scanner to support VCards with KEY field
...
Currently QR scanner supports only `openpgp4fpr` URIs. VCard specification
allows embedding public key information as an URI in `KEY` field [0]. Two
schemes used with this field - `https` and `data` are either insecure or
not practical [1]. As the value of `KEY` field is a URI one can use
`openpgp4fpr` URI there to have both secure and small links.
This change will extract URI from `KEY` field from a scanned VCard and
process it just like it would be a URI scanned directly. When a `openpgp4fpr`
URI is put there the UI would search and import the key and show the confirm
dialog.
Example VCard with this URI:
BEGIN:VCARD
FN:Test WKD
EMAIL:test-wkd@metacode.biz
KEY:OPENPGP4FPR:74EC8D3DA82A79DAA25DF10C6BA55ED83ABAE1BB
END:VCARD
[0]: https://tools.ietf.org/html/rfc6350#section-6.8.1
[1]: https://www.av8n.com/computer/htm/distributing-keys.htm#sec-fing
2018-05-10 15:22:09 +02:00
Vincent Breitmoser
cb6913f6dd
Simplify backup code fragment
2018-05-08 15:20:36 +02:00
Dominik Schürmann
5db00cd924
Merge pull request #2301 from open-keychain/api-choose-sign-key
...
New identity chooser dialog for API
2018-05-03 14:58:20 +02:00
Vincent Breitmoser
b92ff86988
Redesign "select signing key" api dialog
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
c9b1690b76
add AsyncTaskLiveData class
2018-04-18 15:34:39 +02:00
Vincent Breitmoser
8ad2d56f1c
Add option to BackupOperation to export only secret keys
2018-04-16 22:14:38 +02:00
Vincent Breitmoser
45c481c067
add prefixColor attribute to PrefixedEditText
2018-04-16 22:12:28 +02:00
Vincent Breitmoser
9bb19a3ad7
Support import from application/autocrypt-setup type
2018-04-16 16:45:16 +02:00
Vincent Breitmoser
079305c375
Add support for Passphrase-Begin in PassphraseDialog
2018-04-16 16:45:16 +02:00
Vincent Breitmoser
a140797da7
Fix PrefixedEditText in combination with hints
2018-04-13 21:45:48 +02:00
Vincent Breitmoser
f238e1a75e
Use numeric9x4 format in backup fragment
2018-04-13 21:41:30 +02:00
Vincent Breitmoser
ded58588ad
Support numeric9x4 passphrase-format during decryption
2018-04-13 21:12:21 +02:00
Vincent Breitmoser
a1da52420e
Always show creation time for own keys, and show as "just now" for new keys
2018-03-31 00:13:49 +02:00
Vincent Breitmoser
5032453dc2
show email address as name instead of '<no name>'
2018-03-31 00:12:48 +02:00
Vincent Breitmoser
1892baba62
Change upload checkbox name and default in certify dialog, too
2018-03-26 22:02:53 +02:00
Vincent Breitmoser
f96fdd582f
Change wording on keyserver upload and disable by default for new keys
2018-03-26 21:39:04 +02:00
Vincent Breitmoser
b598a4d965
Some small AS cleanups
2018-03-26 21:22:14 +02:00
Vincent Breitmoser
993cb57d92
show "add linked id" button only for secret keys
2018-03-24 18:18:10 +01:00
Vincent Breitmoser
a363a6cacb
remove "Edit Identities" button from identities card
2018-03-24 18:10:35 +01:00
Vincent Breitmoser
57a4cecbfb
extract LastUpdateInteractor from KeyRepository
2018-03-12 21:45:06 +01:00
Vincent Breitmoser
37865f5c0c
ditch password strength indicator
2018-03-12 15:52:56 +01:00
Vincent Breitmoser
80b8374eaa
remove passphrase fragment from key creation
2018-03-12 15:51:54 +01:00
Vincent Breitmoser
66ca2e1441
Merge pull request #2253 from open-keychain/autocrypt-1.0
...
Autocrypt 1.0
2018-03-12 12:27:38 +01:00
Vincent Breitmoser
31b23d2085
Small optimizations for display of package icons in key list
2018-03-12 12:19:47 +01:00
Vincent Breitmoser
1c3f9fd27f
Clean up listing of Autocrypt along identities
2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7337293ad8
Merge pull request #2275 from open-keychain/debug
...
Use Constants.DEBUG instead of BuildConfig.DEBUG
2018-03-05 23:15:09 +01: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
6541cc57b5
Use Constants.DEBUG instead of BuildConfig.DEBUG to allow debugging of release builds
2018-02-26 14:39:54 +01:00
Vincent Breitmoser
84d652be8b
refactor ViewKeyActivity to remove field m* prefix
2018-02-12 17:51:07 +01:00
Vincent Breitmoser
5c2e4f889f
Fix a bunch of trivial code warnings
2018-01-24 01:32:15 +01:00
Vincent Breitmoser
583b427336
Upgrade to Java 8
2018-01-24 01:32:14 +01:00
Dominik Schürmann
8d01e40123
Merge pull request #2254 from hagau/export_pub_ssh_keys
...
Make predicate names in KeychainProvider consistent and allow export of SSH public keys without associated private key in keyring
2018-01-22 12:44:13 +01:00
Dominik Schürmann
289e34bb74
Merge pull request #2255 from open-keychain/timber
...
Timber
2018-01-22 11:11:17 +01:00