-
Notifications
You must be signed in to change notification settings - Fork 230
signature: relax Keypair type bounds
#1107
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
The AsyncKeypair trait might be useful for representing relationship between DigestSigner and DigestVerifier, RandomizedSigner and RandomizedVerifier, etc. in addition to just Signer/Verfifier pair. Relax type boundaries for the AsyncKeypair trait. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
The Keypair trait might be useful for representing relationship between DigestSigner and DigestVerifier, RandomizedSigner and RandomizedVerifier, etc. in addition to just Signer/Verfifier pair. Relax type boundaries for the Keypair trait. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
This is technically a breaking change, in that downstream consumers that can presently rely on However, given I just shipped the first impls of this trait yesterday and the day before, I think it's rather unlikely there are any current users of the trait in its current form and we can just yank the associated releases. I also strongly agree there's a rather big upside to being able to use this trait regardless of what other traits a given signature key type impls. |
Keypair type bounds (#1106)
Keypair type bounds (#1106)Keypair type bounds
As of #1107 this trait is shaped the same as `Keypair`, so there's no need for it to continue to exist. It will be removed in the next breaking release.
As of #1107 this trait is shaped the same as `Keypair`, so there's no need for it to continue to exist. It will be removed in the next breaking release.
As of #1107 this trait is shaped the same as `Keypair`, so there's no need for it to continue to exist. It will be removed in the next breaking release.
Following RustCrypto/traits#1107 this relaxes the trait bounds to the minimum requirements.
Following RustCrypto/traits#1107 this relaxes the trait bounds to the minimum requirements.
Following RustCrypto/traits#1107 this relaxes the trait bounds to the minimum requirements.
Following RustCrypto/traits#1107 this relaxes the trait bounds to the minimum requirements.
The Keypair trait might be useful for representing relationship between
DigestSigner and DigestVerifier, RandomizedSigner and
RandomizedVerifier, etc. in addition to just Signer/Verfifier pair.
Relax type boundaries for the Keypair and AsyncKeypair traits.
Fixes #1106