Skip to content

Integrate libmesode differences#186

Merged
pasis merged 5 commits into
strophe:masterfrom
sjaeckel:integrate-libmesode-differences
Oct 28, 2021
Merged

Integrate libmesode differences#186
pasis merged 5 commits into
strophe:masterfrom
sjaeckel:integrate-libmesode-differences

Conversation

@sjaeckel

Copy link
Copy Markdown
Member

This PR adds the major functional difference of libmesode (the manual verification of a certificate) to libstrophe.

I've re-worked the API's and implementation a bit, but functionality-wise it should be comparable.

The major difference of the implementation is the libmesode behavior where processing a certificate will lead to accepting the next presented certificate. This has to be implemented in the application now.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>

@pasis pasis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please handle getline() issue and I will merge it.

Comment thread examples/basic.c Outdated
@pasis

pasis commented Oct 27, 2021

Copy link
Copy Markdown
Member

I had a quick look without deep dive into openssl/gnutls code and it looks good. Thanks for the PR.

@jubalh

jubalh commented Oct 28, 2021

Copy link
Copy Markdown
Member

Please handle getline() issue and I will merge it.

Do you think you could create a new release afterwards?

@pasis

pasis commented Oct 28, 2021

Copy link
Copy Markdown
Member

Please handle getline() issue and I will merge it.

Do you think you could create a new release afterwards?

Sure, I don't have other pending changes.

@sjaeckel sjaeckel force-pushed the integrate-libmesode-differences branch from ed6f8ac to e639acd Compare October 28, 2021 09:19
Based on the differences to libmesode this functionality has been added.

It allows a library-user to set a callback for cases where the TLS stack
can't verify a received certificate and let the end-user decide what to
do.

examples/basic implements an example handler of said functionality.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
@sjaeckel sjaeckel force-pushed the integrate-libmesode-differences branch from e639acd to 220f276 Compare October 28, 2021 12:42
Comment thread src/tls_openssl.c
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
@sjaeckel sjaeckel force-pushed the integrate-libmesode-differences branch from c156063 to bf1348e Compare October 28, 2021 15:25
@pasis pasis merged commit bf1348e into strophe:master Oct 28, 2021
@pasis

pasis commented Oct 28, 2021

Copy link
Copy Markdown
Member

Merged, thanks

@pasis

pasis commented Oct 28, 2021

Copy link
Copy Markdown
Member

0.11.0 is released.

@sjaeckel sjaeckel deleted the integrate-libmesode-differences branch October 28, 2021 18:50
@sjaeckel

Copy link
Copy Markdown
Member Author

thx for the review and fast handling!

@sjaeckel sjaeckel added this to the 0.11.0 milestone Jul 11, 2022
@SkohTV SkohTV mentioned this pull request Jan 16, 2026
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants