platform/upstream/glib-networking.git
11 years agotls: Add a test for client certificate auth failure
Stef Walter [Thu, 29 Nov 2012 10:05:06 +0000 (11:05 +0100)]
tls: Add a test for client certificate auth failure

Add a test where the server requires a certificate from the client
but the server doesn't provide any.

https://bugzilla.gnome.org/show_bug.cgi?id=689260

11 years agognutls: Allow closing a connection cleanly if handshake fails
Stef Walter [Thu, 29 Nov 2012 10:01:45 +0000 (11:01 +0100)]
gnutls: Allow closing a connection cleanly if handshake fails

Only set the internal ever_handshaked flag if the handshake was
successful. Otherwise using g_io_stream_close() after a handshake
failure results in an internal gnutls error.

https://bugzilla.gnome.org/show_bug.cgi?id=689260

11 years agognutls: Appropriate error when server requires cert but none
Stef Walter [Thu, 29 Nov 2012 10:00:00 +0000 (11:00 +0100)]
gnutls: Appropriate error when server requires cert but none

When the server requires a certificate for auth, but none is
provider, return the appropriate G_TLS_ERROR_CERTIFICATE_REQUIRED
error.

https://bugzilla.gnome.org/show_bug.cgi?id=689260

11 years agognutls: Fix regression where begin_handshake() is not called
Stef Walter [Thu, 29 Nov 2012 09:55:23 +0000 (10:55 +0100)]
gnutls: Fix regression where begin_handshake() is not called

The begin_handshake() virtual method is no longer called. This results
in stuff like the GTlsServerConnection authentication-mode not being
passed to gnutls.

Fix issue, and add tests which a future regression in this area
should fall over.

https://bugzilla.gnome.org/show_bug.cgi?id=689259

11 years agognutls: Avoid assertion in finish_handshake()
Stef Walter [Thu, 29 Nov 2012 13:15:09 +0000 (14:15 +0100)]
gnutls: Avoid assertion in finish_handshake()

https://bugzilla.gnome.org/show_bug.cgi?id=689274

11 years agoUpdated Slovak translation
Richard Stanislavský [Fri, 2 Nov 2012 19:50:28 +0000 (19:50 +0000)]
Updated Slovak translation

11 years agoAdded Slovak translation
Richard Stanislavský [Fri, 2 Nov 2012 19:49:11 +0000 (19:49 +0000)]
Added Slovak translation

11 years agobuild: disable TLS tests unless GNUTLS is enabled
Saleem Abdulrasool [Wed, 31 Oct 2012 17:43:04 +0000 (10:43 -0700)]
build: disable TLS tests unless GNUTLS is enabled

All of the TLS tests hard-depend on GNUTLS.  If glib-networking is built without
GNUTLS, then simply disable the TLS tests.

11 years ago2.35.1 2.35.1
Dan Winship [Mon, 22 Oct 2012 21:38:49 +0000 (23:38 +0200)]
2.35.1

11 years agoRemove now-unnecessary g_type_init() calls
Dan Winship [Mon, 22 Oct 2012 16:57:45 +0000 (18:57 +0200)]
Remove now-unnecessary g_type_init() calls

11 years agoPort to GTask
Dan Winship [Wed, 20 Jun 2012 20:17:57 +0000 (16:17 -0400)]
Port to GTask

11 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Mon, 22 Oct 2012 19:02:32 +0000 (22:02 +0300)]
[l10n] Updated Estonian translation

11 years agopost-branch version bump
Dan Winship [Wed, 10 Oct 2012 21:08:49 +0000 (17:08 -0400)]
post-branch version bump

11 years ago2.34 2.34
Dan Winship [Mon, 24 Sep 2012 17:13:50 +0000 (13:13 -0400)]
2.34

11 years agoupdate Simplified Chinese (zh_CN) translation
YunQiang Su [Sat, 22 Sep 2012 20:06:39 +0000 (04:06 +0800)]
update Simplified Chinese (zh_CN) translation

11 years agoUpdated Thai translation
Unticha Pramgoed [Sat, 22 Sep 2012 15:25:43 +0000 (22:25 +0700)]
Updated Thai translation

11 years agoUpdated Arabic translation
Khaled Hosny [Thu, 20 Sep 2012 05:26:44 +0000 (07:26 +0200)]
Updated Arabic translation

11 years agoArabic translation
Mohammad Alhargan [Thu, 20 Sep 2012 05:23:51 +0000 (07:23 +0200)]
Arabic translation

11 years agoUpdated Bulgarian translation
Alexander Shopov [Thu, 20 Sep 2012 03:11:39 +0000 (06:11 +0300)]
Updated Bulgarian translation

11 years ago[l10n] Update Japanese translation
Yoji TOYODA [Wed, 19 Sep 2012 15:22:00 +0000 (00:22 +0900)]
[l10n] Update Japanese translation

11 years agohindi update
Rajesh Ranjan [Wed, 19 Sep 2012 12:09:41 +0000 (17:39 +0530)]
hindi update

11 years agohindi update
Rajesh Ranjan [Wed, 19 Sep 2012 12:05:30 +0000 (17:35 +0530)]
hindi update

11 years ago[l10n]Updated Catalan (Valencian) translation
Carles Ferrando [Mon, 17 Sep 2012 23:40:26 +0000 (01:40 +0200)]
[l10n]Updated Catalan (Valencian) translation

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Mon, 17 Sep 2012 23:40:24 +0000 (01:40 +0200)]
[l10n] Updated Catalan translation

11 years ago2.33.14 2.33.14 2.33.14.1
Dan Winship [Mon, 17 Sep 2012 20:06:23 +0000 (16:06 -0400)]
2.33.14

11 years agoUpdated Brazilian Portuguese translation by Rafael Ferreira <rafael.f.f1@gmail.com...
Djavan Fagundes [Mon, 17 Sep 2012 14:55:09 +0000 (11:55 -0300)]
Updated Brazilian Portuguese translation by Rafael Ferreira <rafael.f.f1@gmail.com> and myself

11 years agoUpdated Danish translation
Ask H. Larsen [Sun, 16 Sep 2012 11:19:52 +0000 (13:19 +0200)]
Updated Danish translation

11 years agoupdate Punjabi Translation
A S Alam [Fri, 14 Sep 2012 02:02:26 +0000 (07:32 +0530)]
update Punjabi Translation

11 years agoFinnish translation update by Jiri Grönroos
Ville-Pekka Vainio [Wed, 12 Sep 2012 19:29:18 +0000 (22:29 +0300)]
Finnish translation update by Jiri Grönroos

11 years agoUpdated Korean translation
Changwoo Ryu [Sat, 8 Sep 2012 20:25:36 +0000 (05:25 +0900)]
Updated Korean translation

11 years agoUpdated Czech translation
Marek Černocký [Sat, 8 Sep 2012 09:20:58 +0000 (11:20 +0200)]
Updated Czech translation

11 years agoUpdate French translation
Alexandre Franke [Thu, 6 Sep 2012 15:35:10 +0000 (17:35 +0200)]
Update French translation

11 years agoUpdated German translation
Wolfgang Stoeggl [Wed, 5 Sep 2012 22:10:57 +0000 (00:10 +0200)]
Updated German translation

11 years agoUpdated British English translation
Bruce Cowan [Wed, 5 Sep 2012 18:36:55 +0000 (19:36 +0100)]
Updated British English translation

11 years ago2.33.12 2.33.12
Dan Winship [Tue, 4 Sep 2012 12:51:56 +0000 (08:51 -0400)]
2.33.12

11 years agoUpdated Hungarian translation
Gabor Kelemen [Mon, 3 Sep 2012 14:30:07 +0000 (16:30 +0200)]
Updated Hungarian translation

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 2 Sep 2012 23:21:55 +0000 (01:21 +0200)]
Updated Polish translation

11 years agoUpdated Italian translation
Luca Ferretti [Sun, 2 Sep 2012 20:53:56 +0000 (22:53 +0200)]
Updated Italian translation

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 2 Sep 2012 17:31:33 +0000 (20:31 +0300)]
Updated Latvian translation

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Thu, 30 Aug 2012 12:27:28 +0000 (15:27 +0300)]
Updated Belarusian translation.

11 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Wed, 22 Aug 2012 01:54:12 +0000 (08:54 +0700)]
Updated Vietnamese translation

11 years agopo/vi: imported from Damned Lies
Nguyễn Thái Ngọc Duy [Wed, 22 Aug 2012 01:52:45 +0000 (08:52 +0700)]
po/vi: imported from Damned Lies

11 years agoUpdated Polish translation
Piotr Drąg [Tue, 21 Aug 2012 22:08:45 +0000 (00:08 +0200)]
Updated Polish translation

11 years agoRevert "gnutls: Implement certificate-bytes and private-key-bytes properties"
Stef Walter [Tue, 21 Aug 2012 11:37:10 +0000 (13:37 +0200)]
Revert "gnutls: Implement certificate-bytes and private-key-bytes properties"

 * The corresponding commit was reverted in glib due to ABI issues
 * Add g_tls_certificate_gnutls_get_bytes() for glib-networking use.
 * Fix up the tests and other code so it works in the presence of this
   reverted commit.

This reverts commit c30a4bbaf5e6f937f9e15d4c5fba7ab40a52b6d3.

https://bugzilla.gnome.org/show_bug.cgi?id=682081

11 years agoUpdated Indonesian translation
Andika Triwidada [Tue, 21 Aug 2012 06:46:00 +0000 (13:46 +0700)]
Updated Indonesian translation

11 years ago2.33.10 2.33.10
Dan Winship [Mon, 20 Aug 2012 21:39:36 +0000 (17:39 -0400)]
2.33.10

11 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 19 Aug 2012 22:22:45 +0000 (23:22 +0100)]
Updated Portuguese translation

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Fri, 17 Aug 2012 13:53:39 +0000 (19:23 +0530)]
Updated Telugu Translations

11 years agognutls: fix an uninitialized variable
Dan Winship [Sat, 11 Aug 2012 13:28:16 +0000 (09:28 -0400)]
gnutls: fix an uninitialized variable

https://bugzilla.gnome.org/show_bug.cgi?id=681636

11 years agotests: Fix typo
Stef Walter [Sat, 11 Aug 2012 04:18:53 +0000 (06:18 +0200)]
tests: Fix typo

https://bugzilla.gnome.org/show_bug.cgi?id=681299

11 years agobuild: Fix srcdir != builddir
Colin Walters [Fri, 10 Aug 2012 22:40:41 +0000 (18:40 -0400)]
build: Fix srcdir != builddir

11 years agognutls: Try to find root certificates locally if not anchored
Stef Walter [Wed, 8 Aug 2012 04:52:12 +0000 (06:52 +0200)]
gnutls: Try to find root certificates locally if not anchored

 * If a server erroneously sends us a root certificate, and it
   is not anchored, then try to lookup a certificate for the same
   issuer in the database.
 * Add a test for this case.

https://bugzilla.gnome.org/show_bug.cgi?id=681299

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 8 Aug 2012 08:47:45 +0000 (14:17 +0530)]
Assamese translation updated

11 years agoNEWS: update for 2.33.8
Dan Winship [Tue, 7 Aug 2012 19:10:28 +0000 (15:10 -0400)]
NEWS: update for 2.33.8

(pulled from the 2.33.8 tag, which is not on master because
glib-networking master already depended on post-glib-2.33.8 APIs at
the time I made the tarball.)

11 years agoPost-release version bump, update glib requirement
Dan Winship [Tue, 7 Aug 2012 19:07:30 +0000 (15:07 -0400)]
Post-release version bump, update glib requirement

11 years agognutls: Fix threading/reference issues in GTlsFileDatabase
Stef Walter [Wed, 1 Aug 2012 12:08:40 +0000 (14:08 +0200)]
gnutls: Fix threading/reference issues in GTlsFileDatabase

 * We weren't refing stuff during the lock, and returned data
   could have been freed by another thread while in use.

https://bugzilla.gnome.org/show_bug.cgi?id=681122

11 years agognutls: port GTlsFileDatabaseGnutls to GBytes
Stef Walter [Wed, 1 Aug 2012 11:38:25 +0000 (13:38 +0200)]
gnutls: port GTlsFileDatabaseGnutls to GBytes

 * Instead of GByteArray, where possible

https://bugzilla.gnome.org/show_bug.cgi?id=681121

11 years agognutls: Add tests for certificate-bytes and private-key-bytes props
Stef Walter [Mon, 6 Aug 2012 20:36:08 +0000 (22:36 +0200)]
gnutls: Add tests for certificate-bytes and private-key-bytes props

 * And rearrange the test setup/teardown slightly at the same time.
 * Can't actually read out the private-key from the certificate so
   just run through the motions of creating it with a private key.

https://bugzilla.gnome.org/show_bug.cgi?id=681319

11 years agognutls: Implement certificate-bytes and private-key-bytes properties
Stef Walter [Mon, 6 Aug 2012 20:32:32 +0000 (22:32 +0200)]
gnutls: Implement certificate-bytes and private-key-bytes properties

 * These were added in GTlsCertificate in glib

https://bugzilla.gnome.org/show_bug.cgi?id=681319

11 years agognutls: Add test for g_tls_certificate_is_same()
Stef Walter [Fri, 3 Aug 2012 16:46:36 +0000 (18:46 +0200)]
gnutls: Add test for g_tls_certificate_is_same()

 * The test can't live in glib since there's no implementation of
   GTlsCertificate there.

https://bugzilla.gnome.org/show_bug.cgi?id=681154

11 years agognutls: Fix invalid printf format
Stef Walter [Fri, 3 Aug 2012 15:59:25 +0000 (17:59 +0200)]
gnutls: Fix invalid printf format

https://bugzilla.gnome.org/show_bug.cgi?id=681148

11 years agognutls: More tests for GTlsFileDatabaseGnutls
Stef Walter [Wed, 1 Aug 2012 10:46:07 +0000 (12:46 +0200)]
gnutls: More tests for GTlsFileDatabaseGnutls

 * Check the properties
 * Check looking up certificates by issuer

https://bugzilla.gnome.org/show_bug.cgi?id=681120

11 years agotls: Split the database tests out from the certificate tests
Stef Walter [Tue, 31 Jul 2012 15:49:12 +0000 (17:49 +0200)]
tls: Split the database tests out from the certificate tests

 * For now these test GTlsFileDatabase

https://bugzilla.gnome.org/show_bug.cgi?id=681119

11 years agognutls: allow overriding the priority string with an environment variable
Dan Winship [Thu, 2 Aug 2012 13:06:40 +0000 (09:06 -0400)]
gnutls: allow overriding the priority string with an environment variable

Based on a patch from Josh Rickmar

https://bugzilla.gnome.org/show_bug.cgi?id=677717

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 2 Aug 2012 02:11:52 +0000 (10:11 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoUpdated Russian translation
Alexsey Nadtochey [Wed, 1 Aug 2012 19:54:07 +0000 (23:54 +0400)]
Updated Russian translation

11 years agoUpdated Galician translations
Fran Diéguez [Sun, 29 Jul 2012 23:53:13 +0000 (01:53 +0200)]
Updated Galician translations

11 years agoUpdated Serbian translation
Мирослав Николић [Wed, 25 Jul 2012 06:58:12 +0000 (08:58 +0200)]
Updated Serbian translation

11 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 24 Jul 2012 20:14:03 +0000 (23:14 +0300)]
Updated Hebrew translation.

11 years agoUpdated Greek translation
Tom Tryfonidis [Tue, 24 Jul 2012 08:29:34 +0000 (11:29 +0300)]
Updated Greek translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 23 Jul 2012 09:43:39 +0000 (11:43 +0200)]
Updated Norwegian bokmål translation

11 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 21 Jul 2012 21:19:08 +0000 (00:19 +0300)]
Updated Lithuanian translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Sat, 21 Jul 2012 16:44:32 +0000 (18:44 +0200)]
Updated Spanish translation

11 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 19 Jul 2012 07:11:51 +0000 (09:11 +0200)]
Updated Slovenian translation

11 years agognutls: handle simultaneous ops, do handshaking in a thread
Dan Winship [Mon, 2 Jul 2012 16:58:02 +0000 (12:58 -0400)]
gnutls: handle simultaneous ops, do handshaking in a thread

Keep separate internal read/write states so that you can do
simultaneous reads/writes (either simultaneous async ops in the same
thread, or simultaneous sync ops in different threads). Add
locking/blocking so that this works correctly even in the presence of
rehandshakes (and add test cases for this).

As part of this, change handshaking so that the I/O part of it always
happens in a separate thread, which has three advantages:

  1. It simplifies GTlsConnectionGnutlsSource by making it not have to
     worry about flipping back and forth between read and write.

  2. (Future) It will let the caller asynchronously handle
     certificate-related functionality that is implemented via
     synchronous callbacks in gnutls.

  3. (Future) We can use g_task_set_return_on_cancel() to allow
     cancellation even during uncancellable PKCS#11 operations.

https://bugzilla.gnome.org/show_bug.cgi?id=656343
https://bugzilla.gnome.org/show_bug.cgi?id=660252

11 years agognutls: reorganize certificate handling
Dan Winship [Tue, 17 Jul 2012 22:47:26 +0000 (18:47 -0400)]
gnutls: reorganize certificate handling

Move some of the code in handshake_internal() out into helper
functions, and move the code from the client and server verify_peer()
implementations into a helper function in gtlsconnection-gnutls.c as
well, to reduce duplication between them.

11 years agognutls: preserve handshake errors
Dan Winship [Sun, 12 Feb 2012 16:30:22 +0000 (11:30 -0500)]
gnutls: preserve handshake errors

If an error occurs during handshake, remember it for later, since the
connection is now essentially broken.

11 years agognutls: use g_clear_object()
Dan Winship [Thu, 28 Jun 2012 15:35:46 +0000 (11:35 -0400)]
gnutls: use g_clear_object()

11 years ago2.33.3 glib-2.33.3
Dan Winship [Mon, 25 Jun 2012 21:36:53 +0000 (17:36 -0400)]
2.33.3

11 years agoUpdated Dutch translation
Wouter Bolsterlee [Mon, 18 Jun 2012 19:07:26 +0000 (21:07 +0200)]
Updated Dutch translation

11 years agoUpdated Dutch translation
Rachid BM [Mon, 18 Jun 2012 19:06:14 +0000 (21:06 +0200)]
Updated Dutch translation

11 years agoRevert "gnutls: Change the GnuTLS priority string from NORMAL to SECURE256"
Dan Winship [Thu, 14 Jun 2012 13:29:54 +0000 (09:29 -0400)]
Revert "gnutls: Change the GnuTLS priority string from NORMAL to SECURE256"

On gnutls 2.12.x, SECURE256 just changes the preferred negotiation
order, but on 3.0.x, it means "disable all non-256-bit ciphers", which
breaks many sites.

This reverts commit 6550c7e9cf928b13ed1d1167004c1f6e16e0173f.

11 years agognutls: Change the GnuTLS priority string from NORMAL to SECURE256
Josh Rickmar [Fri, 8 Jun 2012 16:57:00 +0000 (12:57 -0400)]
gnutls: Change the GnuTLS priority string from NORMAL to SECURE256

Prefer 256-bit AES to 128-bit, like Firefox does

https://bugzilla.gnome.org/show_bug.cgi?id=677717

12 years ago[l10n] Updated Indonesian translation
Dirgita [Thu, 17 May 2012 15:07:41 +0000 (22:07 +0700)]
[l10n] Updated Indonesian translation

12 years agoautogen.sh: Run intltoolize too
Colin Walters [Wed, 9 May 2012 23:00:03 +0000 (19:00 -0400)]
autogen.sh: Run intltoolize too

We need to, since we're using it.

12 years agoautogen.sh: Ensure we have m4 directory
Colin Walters [Wed, 9 May 2012 22:33:24 +0000 (18:33 -0400)]
autogen.sh: Ensure we have m4 directory

This is a regression introduced by the previous commit.

12 years agoautogen.sh: recopy from glib
Dan Winship [Tue, 8 May 2012 19:18:37 +0000 (15:18 -0400)]
autogen.sh: recopy from glib

glib's autogen.sh has been simplified to use autoreconf rather than
doing everything by hand. Copy it here.

Among other things, this fixes us to be able to build with automake
1.12.

https://bugzilla.gnome.org/show_bug.cgi?id=675261

12 years agognutls: fix GTlsConnectionGnutls:use-system-certdb
Dan Winship [Wed, 2 May 2012 13:05:22 +0000 (09:05 -0400)]
gnutls: fix GTlsConnectionGnutls:use-system-certdb

Setting use-system-certdb to FALSE ended up being a no-op, because it
wasn't clearing priv->database_is_unset, so
GTlsConnection:tls-database would end up getting initialized to the
default database later on.

12 years agoUpdated Greek translation
Tom Tryfonidis [Wed, 2 May 2012 09:04:03 +0000 (12:04 +0300)]
Updated Greek translation

12 years ago2.33.2 2.33.2
Dan Winship [Tue, 1 May 2012 13:08:34 +0000 (09:08 -0400)]
2.33.2

12 years agoproxy/gnome: fix to work with no http proxy
Dan Winship [Wed, 25 Apr 2012 01:12:21 +0000 (21:12 -0400)]
proxy/gnome: fix to work with no http proxy

In "manual" mode, the http proxy setting was always being used, even
if it was "". Fix that.

12 years agognutls: remove some unused priv members after previous change
Dan Winship [Tue, 24 Apr 2012 00:53:58 +0000 (20:53 -0400)]
gnutls: remove some unused priv members after previous change

12 years agognutls: Update for pollable stream additions/improvements in glib
Dan Winship [Sat, 31 Mar 2012 16:15:12 +0000 (12:15 -0400)]
gnutls: Update for pollable stream additions/improvements in glib

12 years agoAllow local pac files in pacrunner
Chow Loong Jin [Sat, 14 Apr 2012 20:12:00 +0000 (04:12 +0800)]
Allow local pac files in pacrunner

This fixes bgo#674115

12 years ago2.32.1 2.32.1
Dan Winship [Mon, 16 Apr 2012 19:55:40 +0000 (15:55 -0400)]
2.32.1

12 years agobgo#673944 - Detect /etc/ssl/ca-bundle.pem for openSUSE at configure time
Federico Mena Quintero [Thu, 12 Apr 2012 21:48:17 +0000 (16:48 -0500)]
bgo#673944 - Detect /etc/ssl/ca-bundle.pem for openSUSE at configure time

12 years agoUpdated Odia Translation
ManojKumar Giri [Thu, 5 Apr 2012 12:03:20 +0000 (17:33 +0530)]
Updated Odia Translation

12 years agoUpdated Persian Translations
Arash Mousavi [Sat, 31 Mar 2012 17:58:51 +0000 (22:28 +0430)]
Updated Persian Translations

12 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Wed, 28 Mar 2012 04:34:01 +0000 (10:04 +0530)]
Updated Marathi Translations

12 years ago[l10n]Updated Catalan (Valencian) translation
Carles Ferrando [Tue, 27 Mar 2012 20:29:26 +0000 (22:29 +0200)]
[l10n]Updated Catalan (Valencian) translation