enarx-archive / tlssock

A library exposing TLS/DTLS sockets using the POSIX networking APIs
Apache License 2.0
18 stars 7 forks source link

Implement certificate authentication for GNUTLS #29

Open puiterwijk opened 5 years ago

puiterwijk commented 5 years ago

This implements TLS certificate authentication in the GNUTLS implementation. It supports mutual authentication, and determining the peer subject DN.

Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org

codecov-io commented 5 years ago

Codecov Report

Merging #29 into master will decrease coverage by 0.1%. The diff coverage is 61.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   64.87%   64.76%   -0.11%     
==========================================
  Files          13       13              
  Lines        1170     1456     +286     
==========================================
+ Hits          759      943     +184     
- Misses        411      513     +102
Impacted Files Coverage Δ
bin/opt.c 33.33% <0%> (-2.74%) :arrow_down:
bin/main.c 55.62% <2.56%> (-15.92%) :arrow_down:
lib/tls-gnutls.c 71.36% <71.53%> (+3.13%) :arrow_up:
lib/tlssock.c 45.51% <0%> (+1.68%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 72f2c71...82c279e. Read the comment docs.