-
Notifications
You must be signed in to change notification settings - Fork 72
crypto, mTLS: allow certificate chain for trusted_client_ca #511
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
Conversation
This allows for setups with intermediate CAs. Signed-off-by: Thore Sommer <mail@thson.de>
4a61ddf to
f9446c4
Compare
aplanas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICT LGTM
|
LGTM! Could you please fix that line clippy is complaining about? |
|
@ansasaki done |
|
It seems like that something has changed how clippy deals with references of strings. My local version of clippy (0.1.67) does not report it. I'll update the rest of issues later. |
Signed-off-by: Thore Sommer <mail@thson.de>
afb8529 to
db2d1b4
Compare
|
It is complaining now about the string interpolation |
38d4000 to
144b933
Compare
@aplanas should be fixed now. |
144b933 to
0b1e9ab
Compare
0b1e9ab to
18bfd9a
Compare
| error!( | ||
| "Failed to load trusted CA certificate {}: {}", | ||
| ca_cert_path.display(), | ||
| e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clippy should complain here too, shouldn't?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No because you cannot call functions currently in a fromat string, I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. But I mean "e"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't know. I would keep it this way for now, because mixing the two styles looks wrong.
Signed-off-by: Thore Sommer <mail@thson.de>
Signed-off-by: Thore Sommer <mail@thson.de>
18bfd9a to
d500481
Compare
ansasaki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for going through clippy complaints and fixing them!
This allows for setups with intermediate CAs.