We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SecretVec<u8>
u8
CloneableSecret
There can't seem to be a way to clone a SecretVec<u8> because Clone is only implemented on Secret<Vec<S>> where S: CloneableSecret + Zeroize and obviously u8 is not CloneableSecret but is Zeroize.
Clone
Secret<Vec<S>> where S: CloneableSecret + Zeroize
Zeroize
I think the right implementation should be Secret<Vec<S>> where S: Zeroize and avoid implying CloneableSecret, am I right?
Secret<Vec<S>> where S: Zeroize
The text was updated successfully, but these errors were encountered:
Also facing this issue, kinda of annoying...
Sorry, something went wrong.
No branches or pull requests
There can't seem to be a way to clone a
SecretVec<u8>
becauseClone
is only implemented onSecret<Vec<S>> where S: CloneableSecret + Zeroize
and obviouslyu8
is notCloneableSecret
but isZeroize
.I think the right implementation should be
Secret<Vec<S>> where S: Zeroize
and avoid implyingCloneableSecret
, am I right?The text was updated successfully, but these errors were encountered: