Questions tagged [gnutls]

GnuTLS is a secure communications library implementing the SSL, TLS, and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.

Shamelessly ripped from the GnuTLS project pages.

Overview

GnuTLS is a secure communications library implementing the SSL, TLS, and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.

Features

  • Support for TLS 1.2, TLS 1.1, TLS 1.0, and SSL 3.0 protocols
  • Support for DTLS 1.2, and DTLS 1.0, protocols
  • Support for certificate path validation, as well as DANE and trust on first use.
  • Support for the Online Certificate Status Protocol (OCSP).
  • Support for multiple certificate types including X.509 and OpenPGP certificates.
  • Support for public key methods, including RSA and Elliptic curves, as well as password and key authentication methods such as SRP and PSK protocols.
  • Support for all the strong encryption algorithms, including AES and Camellia.
  • Support for CPU-assisted cryptography with VIA padlock and AES-NI instruction sets.
  • Support for cryptographic accelerator drivers via /dev/crypto.
  • Supports natively HSMs and cryptographic tokens, via PKCS #11 and the Trusted Platform Module (TPM).
  • Runs on most Unix platforms and Windows.

License

The core library licensed under the GNU Lesser General Public License version 2.1 (LGPLv2.1+). The LGPL license is compatible with a wide range of free licenses, and even permit you to use GnuTLS in non-free proprietary programs.

Documentation

You can obtain the GnuTLS manual at lulu.com or download any of the electronic formats.

For more information on GnuTLS features, see the Wikipedia article comparing different TLS implementations.

29 questions
22
votes
1 answer

How do I install GnuTLS for Emacs 25.1 on Windows?

I just upgraded Emacs on my Windows 10 machine from 24.5 to 25.1. For Emacs 24.5 I had GnuTLS correctly setup and for 25.1 I did what I thought I remembered I did: Got prebuilt Emacs binaries from the GNU Emacs website's download page. I'm using 32…
Omar
  • 4,732
  • 1
  • 17
  • 32
17
votes
2 answers

The TLS connection was non-properly terminated

When running package-list-packages I get the following errors: Failed to download `gnu' archive. gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. I am running Emacs 24.4 on Windows. Until this week package…
Matthew Piziak
  • 5,958
  • 3
  • 29
  • 77
8
votes
1 answer

M-x list-package fails with error "certificate could not be verified"

My environment: Linux Mint 17.3 (based on Ubuntu 14.04) Emacs 25.3.1 The value of package-archives: (("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("marmalade" .…
York
  • 221
  • 2
  • 5
7
votes
1 answer

Emacs TLS check is still ill-configured

After reading this post I decided to harder the security of Emacs. However, after setting everything and doing the test, Emacs is still ill-configured. Everything is done in a GNU/Linux distribution. Installing certifi As said the in the blog post…
shackra
  • 2,702
  • 18
  • 47
7
votes
3 answers

How can I retrieve an HTTPS URL on Mac OS X without warnings about an untrusted authority?

The following code should in principle return the contents of https://badssl.com (with-current-buffer (url-retrieve-synchronously "https://badssl.com") (buffer-string)) But with my GNU Emacs 25.0.50.1 (x86_64-apple-darwin13.4.0, NS…
Kirill
  • 1,019
  • 7
  • 19
6
votes
2 answers

How can I use ERC with an IRC offered over SSL?

I'm trying to connect to Gitter's IRC servers to join the chat room vermiculus/stack-mode, but according to Gitter, they offer this service over SSL: _ _ _ _ _ (_)_ __ ___ __ _(_) |_| |_ ___ _…
Sean Allred
  • 6,861
  • 16
  • 85
4
votes
2 answers

GnuTLS / OpenSSL hangs on Windows when accessing Gmail

I am trying to set up Gnus (on Emacs 24.5) on Windows to access Gmail through IMAP and it seems like the connection is choking when it attempt to connect to the IMAP server. (Seems like Gnus is not attempting to send authentication data, either.) It…
3
votes
1 answer

Send email with gnus via ssl port 465

I'm using gnus and trying to send email through it. This works for my gmail account (which receives outgoing emails on smpt port 587 using tls). My university uses smpt on port 465 and no tls, but ssl. Receiving email via IMAP port 993 works…
erjoalgo
  • 853
  • 1
  • 5
  • 18
3
votes
3 answers

Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans

When I am trying to do M-x package-refresh-contents I get Contacting host: elpa.gnu.org:80 stuck until I do C-g. I tried to install a package and it didn't work through M-x package-install *package_name* and it didn't work, so I started to search…
Jermog
  • 71
  • 4
3
votes
0 answers

Opening TLS Connection fails

I installed powerthesaurus package from MELPA. This package finds out synnyms of selected words from powerthesaurus.org. I installed all the dependencies (dom - to be specific which did not get installed by default). However, when I run the…
Prasanna
  • 1,470
  • 16
  • 30
3
votes
2 answers

TLS connection to Melpa.org hanging on prelude

I've enabled some new packages in bbatsov's prelude and when I restart the emacs daemon, it hangs endlessly starting up showing this: Prelude is powering up... Be patient, Master g! Loading personal configuration files in…
Galder Zamarreño
  • 1,527
  • 2
  • 12
  • 21
2
votes
2 answers

crypto-newbie: how to securely sign outgoing email with `smtpmail` (or simplest alternative)?

I'm running $ cat /etc/debian_version jessie/sid $ uname -rv 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) $ gcc --version | head -n 1 gcc (Debian 4.8.2-1) 4.8.2 $ emacs --version | head -n 1 GNU Emacs 24.3.1 $ gpg --version | head -n 1 gpg…
TomRoche
  • 592
  • 3
  • 20
2
votes
0 answers

Cannot upgrade packages when adding melpa to the package-archives

I have problems upgrading packages coming from melpa: When executing list-package with "https://melpa.org/packages/" in the package-archives I get the following in the *Messages* buffer: Using a proxy for https... gnutls.c: [0] (Emacs) Received…
halloleo
  • 1,215
  • 9
  • 23
2
votes
2 answers

Can't connect to package managers on multiple computers

I just did a clean install of emacs 26.1 on multiple computers running different OS (Ubuntu, Mint, Windows), and for some reason I cannot update my packages using M-x refresh-package-contents. I've also re-installed emacs25 through apt with no…
Lee Jordan
  • 41
  • 5
2
votes
1 answer

How do I set `gnutls-verify-error` to not check if certain hostname matches the certificate?

I have the host chat.deshackra.com pointing to tigase.im (with a CNAME entry), and I want to use the starttls connection type for my jabber.el account, however the connection fails: gnutls.c: [1] Note that the security level of the Diffie-Hellman…
shackra
  • 2,702
  • 18
  • 47
1
2