-
Notifications
You must be signed in to change notification settings - Fork 74
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
secrecy: cannot clone SecretSlice
#1233
Comments
This looks like a duplicate of #1070 |
Moving to this issue because |
tony-iqlusion
changed the title
Cannot close
secrecy: cannot clone Oct 9, 2024
SecretSlice
SecretSlice
Fix is #1236 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the new
SecretSlice
seems quite handly, however, with the recent changes to secrecy, there was removal of implCloneableSecret
on different array types (seemingly done here)With that said, it is no longer possible to do something like
SecretSlice<u8>
as it now returns this error when attempting to implement cloneIt is also not possible to do something like
SecretBox<[u8; 32]>
as it results in the same error.Would it be possible to add these implementations back into secrecy for basic array types like this?
The text was updated successfully, but these errors were encountered: