LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-09-2024, 06:12 PM   #1
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Rep: Reputation: 7
RDesktop TLS handshake failed after GnuTLS updgrade.


Today after slackpkg upgrade-all
A RDesktop connection that I do daily to work on a notebook but using my desktop stopped to work.

Code:
diniz@darkstar:~$ rdesktop -v -k pt-br -a 32 -r sound:local -d **domain** -u "**domain**\**user**" 192.168.15.111
is_wm_active(): WM name: KWin
Connecting to server using SSL...
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
Core(error): tcp_tls_connect(), TLS handshake failed. GnuTLS error: The encryption algorithm is not supported.
Failed to connect using SSL, trying with plain RDP.
Failed to connect, SSL required by server.
I reinstalled version 3.8.4 ...
Code:
Upgrading gnutls-3.8.5-x86_64-1 package using mirror/slackware64-cumulative/slackware64/n/gnutls-3.8.4-x86_64-1.txz
and worked.

Code:
diniz@darkstar:~$ rdesktop -v -k pt-br -a 32 -r sound:local -d **domain** -u "**domain**\**user**" 192.168.15.111
is_wm_active(): WM name: KWin
Connecting to server using SSL...
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Connection established using SSL.
Connection successful
Any idea about what I could be missing?
 
Old 04-09-2024, 07:27 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by bortolotto View Post
Code:
GnuTLS error: The encryption algorithm is not supported.
Code:
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)
Some clues there. The older version supports your encryption method, but the new one doesn't. Perhaps caused by a change in the default config options? The SlackBuild hasn't changed.
 
2 members found this post helpful.
Old 04-09-2024, 09:38 PM   #3
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
Exclamation Issue #1540 on GnuTLS 3.8.5

Hi!
After some research I found same issue reported on GnuTLS.
https://gitlab.com/gnutls/gnutls/-/issues/1540

A bypass to that error is to create a config file.
Code:
mkdir  /etc/gnutls && touch /etc/gnutls/config


After that the connection succeeds.
Should we suggest to add that dir/file to Patrick or just wait an upstream update?
 
3 members found this post helpful.
Old 04-10-2024, 07:07 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
Given
Quote:
Since there probably are many more distros not shipping a config at all, the issue might have a rather wide impact and warrant a follow-up release.
in https://gitlab.com/gnutls/gnutls/-/i...ote_1853760757, a wait on upstream seems best.
 
1 members found this post helpful.
Old 04-10-2024, 09:02 PM   #5
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
Patched!!

n/gnutls-3.8.5-x86_64-2.txz: Rebuilt.
[PATCH] Fix RSAES-PKCS1-v1_5 system-wide configuration.

https://mirrors.slackware.com/slackw...ime=1712776154
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kodi 15.1 relies on gnutls.so.28 instead of gnutls.so.30 1337_powerslacker Slackware 15 09-28-2015 10:07 AM
[SOLVED] Installing gnutls 2.x alongside gnutls 3.x yenn Slackware 3 10-27-2013 07:16 PM
centos kernel updgrade issue Net_Spy Linux - General 0 02-19-2009 03:25 AM
Kernel Updgrade cb9fl Slackware 9 03-11-2004 07:08 AM
qpopper TLS/SSL Handshake failed: -1 frerotjs Linux - Software 0 07-15-2003 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration