LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2019, 10:37 AM   #1
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Distribution: OpenBSD/Alpine Linux
Posts: 117

Rep: Reputation: Disabled
Unhappy Libressl Tutorial


Hello everyone, I need some help and pointers. I am working on a project that requires me to make an HTTPS connection in C. The way I am doing this is by using Libressl and creating a connection.c (where the connection will be made) and a repos.h (where the repo I am connecting to will be defined). The project is to simply make the connection and once the connection is made have the program print "Connected to Repository". For the most I am good on everything, but I am having some trouble getting started with Libressl, I can't find any documentation for it or tutorials to use to learn how it works. Does anyone have any links to tutorials or documentation for Libressl? I am sorry to post this type of question, but I am just having a hard time finding any reference material. With that I also have one more question, the aim of the final product is to minimal and secure (hence Libressl over Openssl, I am also on an OpenBSD machine which uses Libressl) is there a way to not have to throw all of Libressl in on this program? Like not need to have Libressl as a dependency, but actually only have the header or part of the library I need? Thank you in advance, sorry for the noobish question...
 
Old 06-11-2019, 12:32 PM   #2
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 204

Rep: Reputation: Disabled
I advise against statically linking a TLS library. If a vulnerability appears in the library, you would have to recompile and redistribute your application. I would also make sure that whatever TLS library you use is available in the repositories of the OSs you are targeting. Sticking to shared libraries available in repositories saves you from having to update your program every time a library changes.

The LibreSSL source code ships with man pages. Those are the documentation.

If I remember correctly, LibreSSL is a drop in replacement for OpenSSL, so any OpenSSL tutorial or doc SHOULD work.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Alpine Linux 3.5 Hits the Streets with ZFS Support for Root, Moves to LibreSSL LXer Syndicated Linux News 0 12-24-2016 11:15 AM
OpenSSL vs LibreSSL l0rddarkf0rce Slackware 5 09-16-2015 08:22 PM
LXer: LibreSSL crypto library leaps from OpenBSD to Linux, OS X, more LXer Syndicated Linux News 3 07-13-2014 02:22 PM
LXer: OpenSSL code beyond repair, claims creator of “LibreSSL” fork LXer Syndicated Linux News 1 04-23-2014 11:43 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration