Bug #67

GNUTLS support is broken on Mac OS X

Added by Alguno over 2 years ago. Updated almost 2 years ago.

Status: Closed Start: 01/09/2011
Priority: Normal Due date:
Assigned to: Alguno % Done:

100%

Category: Infrastructure
Target version: 0.7.0
Votes: 0

Description

As of NNTPGrab 0.6.91 support has been added for downloading using GNUTLS.
Unfortunately it turned out that this doesn't work on Mac OS X (while it does work fine on Linux, Win32 and Win64).

The cause is most likely in GNUTLS itself or in the build infrastructure used to build the NNTPGrab packages.

./gnutls-cli --verbose -p 563 news.giganews.com
Resolving 'news.giganews.com'...
Connecting to '216.196.109.131:563'...
  • Fatal error: A TLS fatal alert has been received.
  • Received alert [20]: Bad record MAC
  • Handshake has failed
    GnuTLS error: A TLS fatal alert has been received.

The issue exists with both GNUTLS 2.6.4 as well as 2.10.4 (the latest stable version)

The workaround for now is to fall-back to OpenSSL on Mac OS X environments

Associated revisions

Revision 1877
Added by Alguno almost 2 years ago

- The text "Now verifying files" was translated in the Qt frontend. Fixed
- Fixed a small automake error in the 0.7 branch
- GNUTLS support should work again on Mac OS X. Closes #67

History

#1 Updated by Alguno almost 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 20 to 40

This issue appears to be architecture specific. If the libraries contain x86_64 pieces then it works fine. If it doesn't contain the x86_64 pieces, it will fallback to the i386 pieces which will trigger the error. It looks like gnutls (or one of it's dependent libraries) isn't universal binary aware enough

#2 Updated by Alguno almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 40 to 100

Applied in changeset r1877.

Snapshots can be found at the following URLs:
Win32: https://snapshots.nntpgrab.nl/win32/unstable-trunk/nntpgrab_trunk_snapshot_svn_r1877_setup.exe
Win64: https://snapshots.nntpgrab.nl/win64/unstable-trunk/nntpgrab_trunk_snapshot_svn_r1877_setup_x64.exe
Mac OS X: https://snapshots.nntpgrab.nl/osx/unstable-trunk/NNTPGrab_unstable_r1877.zip

#3 Updated by Alguno almost 2 years ago

  • Target version changed from 0.8.0 to 0.7.0

Also available in: Atom PDF