Skip to content

feat: add a feature toggle for rsa - #550

Merged
Eugeny merged 1 commit into
Eugeny:mainfrom
plaflamme:rsa-feature
Aug 1, 2025
Merged

feat: add a feature toggle for rsa#550
Eugeny merged 1 commit into
Eugeny:mainfrom
plaflamme:rsa-feature

Conversation

@plaflamme

Copy link
Copy Markdown
Contributor

The rsa crate has an open CVE. which seems non-trivial to fix. There has been some recent progress, but it's still unclear if it will actually fix the issue.

I'm actively working on getting native SSH support in gitoxide here and this particular CVE may become an issue for that integration.

This commit adds a feature toggle to enable/disable the rsa dependency.

This also fixes a race condition in the test_agent test.

The `rsa` crate has an [open CVE](https://www.cvedetails.com/cve/CVE-2023-49092/).
which seems [non-trivial to fix](RustCrypto/RSA#19).
There has been some recent progress, but it's still unclear if it will
actually fix the issue.

I'm actively working on getting native SSH support in gitoxide [here](GitoxideLabs/gitoxide#2081)
and this particular CVE may become an issue for that integration.

This commit adds a feature toggle to enable/disable the `rsa` dependency.

This also fixes a race condition in the `test_agent` test.
@Eugeny

Eugeny commented Aug 1, 2025

Copy link
Copy Markdown
Owner

Thank you!

@Eugeny
Eugeny merged commit 881818e into Eugeny:main Aug 1, 2025
11 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