Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support using provider with TLS #83

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Conversation

rshearman
Copy link
Contributor

  • ecc: implement get_params for ENCODED_PUBLIC_KEY
    Implement get_params for OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY since this is required for OpenSSL's
    TLS implementation.

  • Support using provider with TLS
    Support returning TLS-GROUP capabilities for well-known TLS groups corresponding to ECC groups the provider may
    support.

    Fixes: Unable to perform mTLS using openssl and tpm #62

Support returning TLS-GROUP capabilities for well-known TLS groups
corresponding to ECC groups the provider may support.

Fixes: tpm2-software#62
Signed-off-by: Rob Shearman <[email protected]>
Implement get_params for OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY since this
is required for OpenSSL's TLS implementation.

Signed-off-by: Rob Shearman <[email protected]>
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #83 (5fa5e43) into master (5ec8a44) will decrease coverage by 0.25%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   77.32%   77.07%   -0.25%     
==========================================
  Files          17       17              
  Lines        2624     2635      +11     
==========================================
+ Hits         2029     2031       +2     
- Misses        595      604       +9     
Files Changed Coverage Δ
src/tpm2-provider.c 79.33% <0.00%> (-4.88%) ⬇️
src/tpm2-provider-keymgmt-ec.c 76.00% <50.00%> (-0.33%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@gotthardp gotthardp merged commit d872a09 into tpm2-software:master Aug 14, 2023
8 checks passed
@gotthardp
Copy link
Contributor

Thank you!

@rshearman rshearman deleted the tls branch August 14, 2023 12:58
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.

Unable to perform mTLS using openssl and tpm
2 participants