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

Add ability to fetch endpoints from server #184

Merged
merged 25 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2fa1812
Remove unnecessary path attributes for examples
sgoll Dec 5, 2024
3383cb7
Rename example file to make room for other SSL operations
sgoll Dec 5, 2024
e718d1e
Make certificate and private key more explicit with newtypes
sgoll Dec 5, 2024
3241083
Fix clippy lints
sgoll Dec 5, 2024
3fac70e
Add changelog messages
sgoll Dec 5, 2024
53529fe
Fix examples and comments, remove unused dependency
sgoll Dec 5, 2024
3e7b5c6
Make newtypes cloneable
sgoll Dec 5, 2024
b2658a4
Add missing docs
sgoll Dec 5, 2024
60481a2
Avoid yanked versions in our lock file
sgoll Dec 5, 2024
e3aae71
Fix CI error and bump MSRV to 1.80
sgoll Dec 5, 2024
0dfe7c5
Merge branch 'main' into certificate-private-key
sgoll Dec 5, 2024
31347a9
Remove unnecessary path attributes for examples
sgoll Dec 5, 2024
f920417
Rename example file to make room for other SSL operations
sgoll Dec 5, 2024
78534dc
Add wrapper for UA_CertificateVerification
sgoll Dec 5, 2024
c5a2c9c
Add ability to provide custom certificate verification hooks
sgoll Dec 5, 2024
9d61b31
Refactor code to keep logic in one place
sgoll Dec 5, 2024
eea53a4
Move trait into existing module
sgoll Dec 5, 2024
074aabc
Implement ability to fetch certificate from remote server
sgoll Dec 5, 2024
e6f32b0
Add wrapper types SecurityLevel, EndpointDescription, MessageSecurity…
sgoll Dec 6, 2024
dc53308
Avoid use of mem::forget() and use ManuallyDrop instead
sgoll Dec 6, 2024
71370a0
Refactor code to fetch certificate from server
sgoll Dec 6, 2024
29caa95
Merge remote-tracking branch 'origin/main' into fetch-certificate
sgoll Dec 9, 2024
3f2ce29
Fix order of dependencies in Cargo.toml
sgoll Dec 9, 2024
eff61b9
Adjust changelog messages
sgoll Dec 9, 2024
cb30fb3
Simplify code for error handling in into_x509()
sgoll Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Added

- Add type `PrivateKey` to wrap private keys when using Mbed TLS.
- Add types `ua::SecurityLevel`, `ua::EndpointDescription`, `ua::MessageSecurityMode`.
- Add method `ClientBuilder::get_endpoints()` to get remote server endpoints.
- Add method `ClientBuilder::certificate_verification()` and type `ua::CertificateVerification`.
- Add method `ua::CertificateVerification::custom()` and trait `CustomCertificateVerification` to
allow custom certificate verification.

### Changed

- Breaking: Bump Minimum Supported Rust Version (MSRV) to 1.80.
- Breaking: Change type `Certificate` to hold certificate without private key.
- Breaking: Use new types `Certificate` and `PrivateKey` instead of raw `&[u8]` in
`ua::ClientBuilder::default_encryption()`, `ua::ServerBuilder::default_with_security_policies()`.
`ClientBuilder::default_encryption()`, `ServerBuilder::default_with_security_policies()`.

## [0.6.6] - 2024-12-04

Expand Down
Loading
Loading