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

Introduce separate features for pki and tls functionalities of mbedtls #326

Merged
merged 3 commits into from
Oct 20, 2023

Conversation

s-arash
Copy link
Collaborator

@s-arash s-arash commented Oct 19, 2023

To statically guarantee that unwanted capabilities of this crate are not used (e.g., a client could only require the crypto functionality of this crate and not its ssl capabilities), this PR introduces two features: x509 and ssl. x509 enables the pki functionality of the crate and ssl enables its tls/ssl capabilities.

@s-arash s-arash requested a review from Taowyoo October 19, 2023 22:57
@Taowyoo
Copy link
Collaborator

Taowyoo commented Oct 20, 2023

Hi @s-arash , could you rebase your PR onto latest main branch, so CI will take effect.

Copy link
Collaborator

@Taowyoo Taowyoo left a comment

Choose a reason for hiding this comment

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

Also, regarding the crate version. Do you want to update version number in this PR or create another one?

mbedtls/src/lib.rs Outdated Show resolved Hide resolved
@s-arash
Copy link
Collaborator Author

s-arash commented Oct 20, 2023

Also, regarding the crate version. Do you want to update version number in this PR or create another one?

What's your preference? I can update the version in this PR.

@Taowyoo
Copy link
Collaborator

Taowyoo commented Oct 20, 2023

Also, regarding the crate version. Do you want to update version number in this PR or create another one?

What's your preference? I can update the version in this PR.

Sure let's do it.

@Taowyoo
Copy link
Collaborator

Taowyoo commented Oct 20, 2023

bors r+

bors bot added a commit that referenced this pull request Oct 20, 2023
326: Introduce separate features for pki and tls functionalities of mbedtls r=Taowyoo a=s-arash

To statically guarantee that unwanted capabilities of this crate are not used (e.g., a client could only require the crypto functionality of this crate and not its ssl capabilities), this PR introduces two features: `x509` and `ssl`. `x509` enables the pki functionality of the crate and `ssl` enables its tls/ssl capabilities. 

Co-authored-by: Arash Sahebolamri <[email protected]>
@bors
Copy link
Contributor

bors bot commented Oct 20, 2023

Canceled.

@Taowyoo
Copy link
Collaborator

Taowyoo commented Oct 20, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 20, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 5462d96 into fortanix:main Oct 20, 2023
9 checks passed
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.

2 participants