1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-09 20:58:07 -05:00
Commit Graph

4768 Commits

Author SHA1 Message Date
Joe Steele
583d1d403f Fix inadequate certificate validation
Proper host name validation was not being performed for certificates
kept in the local keystore.  If an attacker could convince a user to
accept and store an attacker's certificate, then that certificate
could be used for MITM attacks, giving the attacker access to all
connections to all servers in all accounts in K-9.

This commit changes how the certificates are stored.  Previously, an
entire certificate chain was stored for a server (and any of those
certificates in the chain were available for validating signatures on
certificates received when connecting).  Now just the single
certificate for the server is stored.

This commit changes how locally stored certificates are retrieved.
They can only be retrieved using the host:port that the user
configured for the server.

This also fixes issue 1326.  Users can now use different certificates
for different servers on the same host (listening to different ports).

The above changes mean that users might have to re-accept certificates
that they had previously accepted and are still using (but only if the
certificate's Subject doesn't match the host that they are connecting
to).

This commit modifies AccountSetupBasics so that it now calls
AccountSetupCheckSettings twice -- once for checking the incoming
settings and once for the outgoing settings.  Otherwise, an exception
could occur while checking incoming settings, the user could say
continue (or the user could accept a certificate key), and the
outgoing settings would not be checked.  This also helps with
determining if a certificate exception was for the incoming or
outgoing server, which is needed if the user decides to add the
certificate to the keystore.
2013-12-17 02:35:25 +01:00
Danny Baumann
f95ab8f6a8 Fix contact picture color generation.
Make sure to return different colors for senders with different name,
but the same mail address (e.g. mails sent by certain issue tracking
systems).
2013-12-17 02:35:25 +01:00
cketti
6ebec69383 Recreate app icon from SVG file
Add higher resolution icons so K-9 looks snazzy on newer devices.
2013-12-16 18:59:43 +01:00
brian m. carlson
266a715138 Use TrustedSocketFactory for STARTTLS.
The TrustedSocketFactory, which provides goodies like better cipher suites and
TLSv1.2, was only being used for tunnelled connections.  Use it for STARTTLS
connections as well.
2013-12-16 18:59:37 +01:00
cketti
7ab9d5c3e8 Merge branch 'translations' 2013-11-10 23:19:20 +01:00
cketti
3170de4229 Clean up Hungarian translation 2013-11-10 23:18:41 +01:00
RootRulez
c4b44bb6e3 Update Hungarian translation 2013-11-10 23:18:40 +01:00
igavio
14b291a4de Update Greek translation 2013-11-10 23:18:39 +01:00
Igor Nedoboy
b8786d27bf Update Russian translation 2013-11-10 23:18:38 +01:00
Jan Urbánek
45a725b51b Update Czech translation 2013-11-10 23:18:37 +01:00
Jacek Sowiński
ee98624a41 Update Polish translation
new strings + one typo
2013-11-10 23:18:36 +01:00
Koji Arai
ad2fdbdc00 Updated Japanese translation of the changelog. 2013-11-10 17:24:16 +09:00
Jesse Vincent
bc144d684b Bumped manifest to 4.801 2013-11-07 10:43:16 -08:00
Jesse Vincent
9469a433bd release notes for 4.801 2013-11-07 10:42:58 -08:00
Jesse Vincent
68d0a5823b Revert "Revert "Temporarily bump ourselves up only install on KitKat for a market hack""
This reverts commit 3a0dcd70b8.
2013-11-07 10:41:23 -08:00
Jesse Vincent
be14a88103 With the new webview scrollview combo we've got loadinoverviewmode seems to behave better. 2013-11-07 10:40:01 -08:00
cketti
ed3a160403 Fix file selection for import
Using FLAG_ACTIVITY_NO_HISTORY will cause the file selection
to fail when KitKat's "Open from" activity opens a third-party activity.
2013-11-07 09:31:21 -08:00
Koji Arai
d97176e6c7 Fixed typo. 2013-11-06 23:47:28 +09:00
Koji Arai
4ac1b6328b Updated Japanese translation of the changelog. 2013-11-06 23:34:11 +09:00
Jesse Vincent
3a0dcd70b8 Revert "Temporarily bump ourselves up only install on KitKat for a market hack"
This reverts commit 4134685c65.
2013-11-05 21:12:23 -05:00
Jesse Vincent
c0b6793053 changelog version bump 2013-11-05 20:58:24 -05:00
Jesse Vincent
99193195f9 Bumped manifest to 4.800 2013-11-05 20:57:53 -05:00
Jesse Vincent
e8bbd01cd5 4.800 release version 2013-11-05 20:57:23 -05:00
Jesse Vincent
4134685c65 Temporarily bump ourselves up only install on KitKat for a market hack 2013-11-05 20:56:56 -05:00
Jesse Vincent
bc10b8d965 turn off developer mode for release 2013-11-05 20:55:44 -05:00
Jesse Vincent
20ce31146a changelog for 4.800 2013-11-05 20:55:16 -05:00
Jesse Vincent
5475f47bcf Bumped manifest to 4.701 2013-11-05 20:29:16 -05:00
Jesse Vincent
0986e822d2 changelog for 4.701 2013-11-05 20:28:46 -05:00
Jesse Vincent
e20e513039 Sadly, KitKat's file manager fails to recognize our mimetype and won't let users import settings 2013-11-05 20:19:27 -05:00
Jesse Vincent
8f19d56f00 Merge pull request #415 from zjw/non_locking_scroll_view_rebased
Kit Kat UI issue
2013-11-05 16:59:12 -08:00
Joe Steele
6089b9078e Fix missing 'download remainder' button. 2013-11-05 18:17:41 -05:00
Joe Steele
5957735a0b LinearLayout fill_parent
(Don't think it really matters.)
2013-11-05 18:17:39 -05:00
Joe Steele
1cbdd390f3 Use non-deprecated constants 2013-11-05 16:26:29 -05:00
Joe Steele
5311a2ef01 NonLockingScrollview fixes.
Implement methods missing in API 7

Fix coordinate reference frame mismatch.  Touch events are
relative to the view display, whereas view children are relative
to the view.
2013-11-05 16:26:28 -05:00
Joe Steele
fa962e7bd7 Move AOSP files.
Patch RigidWebView for K9.
MessageWebView would need to extend RigidWebView.
2013-11-05 16:26:27 -05:00
Joe Steele
97d571cb43 Import RigidWebView from AOSP Email client.
Also import prerequisite classes.

As contained in current master:
b3c37a31cc
2013-11-05 16:26:26 -05:00
Joe Steele
7b0082026c Revert auto-scroll changes that are no longer needed.
Revert "Only Jelly Bean seems to have the auto-scroll issue"

This reverts commit a3802a7a8e.

Revert "Hack around WebView's initial auto-scrolling past the message header"

This reverts commit 8dcc769c50.

Conflicts:

	src/com/fsck/k9/view/MessageWebView.java
2013-11-05 16:26:25 -05:00
Joe Steele
94a4585317 Switch to using NonLockingScrollView
This implements the AOSP Email solution for incorporating
a Webview inside a ScrollView, while still being able to
scroll diagonally.

This replaces the functionality of TitleBarWebView (which
is now removed).
2013-11-05 16:26:23 -05:00
Joe Steele
f4de21187d Import NonLockingScrollView from AOSP Email client.
As contained in current AOSP master:
b3c37a31cc
2013-11-05 16:24:48 -05:00
cketti
a036e4d2f9 Merge branch 'tls-hardening' 2013-10-29 04:40:06 +01:00
cketti
a97705ffa9 Refactor TrustedSocketFactory 2013-10-29 04:37:52 +01:00
cketti
8f45d76b5c Extract WebDavSocketFactory 2013-10-29 03:42:37 +01:00
Koji Arai
f7562e1b0f Updated Japanese translation. catch up with ef01cab. 2013-10-28 21:27:34 +09:00
Andrew Chen
58699190a4 Merge pull request #406 from bboa/master
Update ru translation
2013-10-27 11:44:55 -07:00
Igor Nedoboy
aa1d7f87b9 Update strings.xml 2013-10-22 10:35:36 +04:00
russian k-9 mail user
5d1abd89bf Update strings.xml 2013-10-21 05:05:09 +04:00
russian k-9 mail user
42bea0fbc0 Update strings.xml 2013-10-21 05:04:25 +04:00
russian k-9 mail user
f57fd551e2 Sync with ChangeLog translation 2013-10-20 14:33:29 +04:00
russian k-9 mail user
5b967d46a8 PullToRefresh plugin RU translation updated 2013-10-20 14:30:42 +04:00
russian k-9 mail user
d3fea3ebb2 ChangeLog plugin RU strings added 2013-10-20 14:28:41 +04:00