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.

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.

151 questions
2
votes
1 answer

libtasn1 not found, but I have already install it

When I configure gnutls and p11-kit, it show that "libtasn1 not found", but i have already install it. why and how to solve it?
2
votes
1 answer

How do I convert a PEM cert to a PKCS12 with GnuTLS

I want to use GnuTLS certtool to convert a PEM public and private key to a PKCS12 pfx bundle. I don't have openssl available to me on the target system. The equivalent command with openssl is: openssl pkcs12 -export -out certificate.pfx -inkey…
2
votes
1 answer

compiling gnutls 3.1.28 on travis-ci

I want php's curl on travis-ci to use GnuTls 3.1.28 instead of the default GnuTls 2.12. I set up an experimental ec2 instance where my compilation leads me to successfully use gnutls3, but this doesn't work on the travis-ci worker. Running ldd…
Shadi
  • 9,742
  • 4
  • 43
  • 65
2
votes
2 answers

Signature verification failure due to reordering via _asn1_ordering_set_of

I am using GnuTLS 3.4.1. I have a x509 certificate with set of sequences inside. The certificate is stored that way on a smart card. GnuTLS is rearranging the sequences via function _asn1_ordering_set_of, which appears to be causing a verification…
elevener
  • 1,097
  • 7
  • 20
2
votes
0 answers

Authenticating client certificate GnuTLS

So, for an assignment I need to use GnuTLS and to start of, I followed the client and server examples in the documentation (http://www.gnutls.org/manual/gnutls.html) (client and server examples with X.509). Everything works fine till there. However,…
buh
  • 375
  • 5
  • 18
2
votes
2 answers

How to build openSSH with NSS or GnuTLS instead of OpenSSL?

Due to security issues with OpenSSL, I would like to use NSS or GnuTLS instead. For Apache server needs, it is easy since there exist a module for each one. But for SSH, it looks like difficult if not impossible. Dropbear embeds its own algorithms…
lalebarde
  • 1,684
  • 1
  • 21
  • 36
2
votes
1 answer

"skipping incompatible /usr/lib/libc.so when searching for -lc" issue while make tls package in Linux

I am facing below issue while doing make tls1.6. /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc : libtls1.6.so (echo 'package ifneeded tls 1.6 \ "[list source [file join $dir tls.tcl]] ; \ [list…
pankmish
  • 787
  • 1
  • 13
  • 35
2
votes
1 answer

How do I reset a cached password in emacs for smtp+gnutls

I have setup emacs to use gnutls for smtp authentication with a partially complete .authinfo file (it has no password). When I send an email, it prompts for the password, and if I type that in correctly, it works perfectly. If I type it in…
John Kitchin
  • 2,236
  • 1
  • 17
  • 25
2
votes
1 answer

nettle-3.0 and gmp-6.0.0 - undefined symbols "gmpz_limbs_write, gmpz_limbs_read..."

I am trying to compile nettle 3.0 with gmp 6.0.0 and I kept getting missing symbols: Making all in tools gcc -g -O2 -ggdb3 -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith…
user2719735
  • 97
  • 2
  • 10
2
votes
2 answers

Get cipher used to password encrypt private key

I have a private key used for RSA exchanges that is password protected. I know the password, so I can use the key, however, I do not know which cipher was used to do the password. I have other keys where the cipher is named in a header in the…
CodeClown42
  • 11,194
  • 1
  • 32
  • 67
1
vote
1 answer

gnutls_cipher_encrypt2 returns "The request is invalid."

I'm messing around with GnuTLS and I want to write a C program which encrypts/decrypts a file using the GnuTLS functions. #include #include #include #include #include #define…
1
vote
1 answer

Is libcurl thread safe when built with GnuTLS

One of the requirement for libcurl to be thread safe is that the underlying SSL library should be thread safe. According to documentation of GnuTLS, it is thread safe by design. The GnuTLS library is thread safe by design, meaning that objects of…
Karthick
  • 1,010
  • 1
  • 8
  • 24
1
vote
0 answers

Rsyslog client and SCHANNEL based server unable to decrypt the message when extended buffer contains additional data

At present we are using the rsyslog on Linux machine to send the message using TLS 1.2 which internally use GnuTLS library send the syslog message to one of our hosted server which accept the TLS data using the windows SCHANNEL method. We are…
Rakesh
  • 11
  • 1
1
vote
1 answer

ffmpeg Library not loaded

since updating ffmpeg, I get this error when using it: dyld: Library not loaded: /usr/local/opt/gnutls/lib/libgnutls.30.dylib Referenced from: /usr/local/bin/ffmpeg Reason: Incompatible library version: ffmpeg requires version 59.0.0 or later, but…
friendlygiraffe
  • 871
  • 2
  • 6
  • 18
1
vote
0 answers

How to send a HTTP request using python-gnutls

Because the new version of openssl removes support for 3DES, I have to use this lib to send raw socket request which not use libopenssl. I read the docs and test demo from python-gnutls's website page that hosted on github. Here is my code: win10…
ACE Fly
  • 305
  • 2
  • 8