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
0
votes
0 answers

Code to check decryption part of nettle in gnutls

Require code similair to below encrypt on decryption . below code is to test encryption, similarly can i get code only for testing decryption part of nettle. /* aes encryption example */ /* LICENSE: LGPL */ /* Compile in nettle…
adnan
  • 1
  • 1
0
votes
0 answers

RSA_private_encrypt() similar in GnuTLS api

I need to make some hash signature using the GnuTLS library, for that I know that 'gnutls_privkey_sign_data' will do the job but in the 'RSA_private_encrypt' documentation there is a field called 'padding' that need to replicate but cant find an…
Arraiz
  • 77
  • 1
  • 8
0
votes
1 answer

Generating a RSA key-pair with GnuTLS in C

How do I generate a RSA key-pair in GnuTLS in C? What function do I need to call? Do I need to initialize the library first?
SlowerPhoton
  • 888
  • 1
  • 7
  • 17
0
votes
2 answers

GNUTLS or libuuid missing while building taskwarrior from source code in Windows 10

For the past 4 days I have been working to get taskwarrior and taskwarrior server running on windows 10. It has proven quite a challenge for me. I followed the steps written below: "Building the Stable Version" on…
a.t.
  • 2,002
  • 3
  • 26
  • 66
0
votes
1 answer

GnuTLS doesn't correctly verify certs for googleapis.com

I originally asked a related question on security.stackexchange.com. Here's the MCVE. Short version: when I use GnuTLS to verify an HTTPS connection to googleapis.com, it fails verification. For other sites (e.g. github.com), it succeeds. I'm…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
0
votes
1 answer

VLC: gnutls tls session error when playing remote file

I'm using the python-vlc library to play audio. import vlc import time player =…
Blimmo
  • 363
  • 3
  • 11
0
votes
1 answer

How to form TLS connection with RSA public/private keys and GnuTLS?

I am writing a client/server TCP program and wish to encrypt and authenticate the connection using TLS. My plan was for clients to submit public RSA keys to the server and then use the private key and a username both to authenticate the client's…
AlastairG
  • 4,119
  • 5
  • 26
  • 41
0
votes
1 answer

How to tell NetBeans where gnutls is on my system?

I tried to build a C/C++ project with NetBeans on my macOS Sierra, and got the following error message: The following required libraries were not found: gnutls Maybe some development libraries/packages are missing? I do have gnutls…
Evan Aad
  • 5,699
  • 6
  • 25
  • 36
0
votes
0 answers

OpenVAS Go TLS Certificate Error

I'm currently developing a custom scanner in go for OpenVAS. Problem is that the handshake with my custom server fails. I traced the problem down to error -73: GNUTLS_E_ASN1_TAG_ERROR from gnutls_handshake, but I can't find any resources on that…
gbatt
  • 53
  • 6
0
votes
1 answer

gnutls_record_recv: The TLS connection was non-properly terminated. Assuming EOF

I am attempting to use the Gitlab pipeline ci in order to build my site and deploy it to my GoDaddy hosting via FTPS. Right now everything is being done as dry-runs. If I attempt to transfer to a new directory from my top level domain…
Alexander Nied
  • 12,804
  • 4
  • 25
  • 45
0
votes
1 answer

Compiling FileZilla on OSX

I've been trying to compile the FileZilla versions 3.11 and 3.24 on Mac for a research project but when I run ../configure I get the following error: configure: error: libgnutls 3.1.12 greater was not found. You can get it from…
STiGMa
  • 906
  • 3
  • 11
  • 24
0
votes
1 answer

gnutls and openssl handshake in NGINX

I'm testing SSL/TLS stream proxying within NGINX that will connect to a web server using gnutls as the underlying TLS API. Using the command line test tool in gnutls (gnutls-serv) the entire process works, but I can't understand the logic: the…
kris
  • 11
  • 1
0
votes
1 answer

ocamlnet : how to install nettls-gnutls?

I spent a hard time trying to install nettls-gnutls library of ocamlnet (ocamlnet-gnutls) - but in vain - I am not able to find how to install it. I have both tried with ocaml 4.03.0 and 4.02.1. My aim is to use Nettls_gnutls.init() in my code. I…
Pierre G.
  • 4,346
  • 1
  • 12
  • 25
0
votes
0 answers

how to calculate MD5 hash and HMAC-SHA1 in c

I have to prepare Message Integrity Attribute for TURN allocation request. say my username is user_1, realm is 192.168.1.101 and password is user_pass_1 key = MD5(user_1:192.168.1.101:user_pass_1) then I have to perform HMAC-SHA1 on a buffer using…
Abhishek
  • 139
  • 2
  • 13
0
votes
1 answer

Using allow_writeable_chroot=YES in vsftpd.conf

I've had difficulty setting up vsftpd on my apache2 server. I was getting this error: GnuTLS error -15: An unexpected TLS packet was received. Tried a number of things including updating gnutsl, permissions, different ftp clients, etc. I…
freemoth
  • 181
  • 1
  • 6