-
Notifications
You must be signed in to change notification settings - Fork 56
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
feat: HSM auth - c8y connection init & built in bridge #3366
Draft
Bravo555
wants to merge
4
commits into
thin-edge:main
Choose a base branch
from
Bravo555:feat/hsm-auth
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bravo555
requested a deployment
to
Test Pull Request
January 28, 2025 09:19 — with
GitHub Actions
Waiting
Codecov ReportAttention: Patch coverage is Additional details and impacted files📢 Thoughts on this report? Let us know! |
11 tasks
Bravo555
requested a deployment
to
Test Pull Request
January 29, 2025 09:19 — with
GitHub Actions
Waiting
Bravo555
changed the title
feat: HSM auth - c8y direct connection
feat: HSM auth - c8y connection init & built in bridge
Jan 29, 2025
As a preparation for the HSM support, we upgrade to the latest version of rustls that supports FIPS mode using aws-lc-rs that is compatible with rumqttc, i.e. rustls-0.22 from 0.21. Because of breaking changes in rustls (Certificate and PrivateKey types were replaced with CertificateDer and PrivateKeyDer types) relatively big changes in certificate crate were required: the crate was split to expose rustls-0.21 and rustls-0.22 variants of its public items. The reason for this was that there were some crates (axum-server) that bumped rustls 0.21->0.23(not yet supported by rumqttc) and had no rustls-0.22 support, so they had to keep using rustls-0.21 compatible structs, while our callsites to rumqttc were updated to use rustls-0.22 compatible structs. This split was made to get on with rustls-0.22 as fast as possible and an effort should be made in the future to reduce it as much as possible by refactoring dependencies, erasing relevant types, and so on. Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Bravo555
force-pushed
the
feat/hsm-auth
branch
from
January 29, 2025 12:25
a308296
to
f0f2ceb
Compare
Bravo555
requested a deployment
to
Test Pull Request
January 29, 2025 12:25 — with
GitHub Actions
Waiting
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Bravo555
temporarily deployed
to
Test Pull Request
January 30, 2025 13:45 — with
GitHub Actions
Inactive
Robot Results
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
Types of changes
Paste Link to the issue
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments