-
Notifications
You must be signed in to change notification settings - Fork 135
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
x509-cert: How to use dynamic signer with Builder? #1160
Comments
The signer parameter has bounds which are not object safe. Notably the @baloo one problem with providing the signer to |
It's not an issue for
formats/x509-cert/src/ext/pkix/constraints/basic.rs Lines 26 to 49 in 53db3d3
|
This is mostly a draft after discussion in RustCrypto#1160
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
@jstayton I also had this problem and it took me some time to understand it. As @tarcieri mentioned, the call of |
I'm definitely not fixing |
@baloo it would require a dynamic alternative to Perhaps it would make more sense to define such a trait in |
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
This is mostly a draft after discussion in RustCrypto#1160 Signed-off-by: Arthur Gautier <[email protected]>
* x509-cert: don't bind builder with signer early This is mostly a draft after discussion in #1160 Signed-off-by: Arthur Gautier <[email protected]> * cms: pull builder changes Signed-off-by: Arthur Gautier <[email protected]> --------- Signed-off-by: Arthur Gautier <[email protected]>
Hey 👋🏻
I'm trying to use a dynamic signer when using
RequestBuilder
, but I'm running into this:Here's a distillation of what I'm attempting:
Does that make sense? Am I just making a stupid mistake, or approaching this in the wrong way?
Thanks for any help!
The text was updated successfully, but these errors were encountered: