Replies: 4 comments 6 replies
-
|
@Trantorian1 @antiyro @0xLucqs @maciejka @gabrielbosio @AvivYossef-starkware |
Beta Was this translation helpful? Give feedback.
-
|
If we want to use zeroise we need to remove Copy and Clone for the felt type or just copy ? |
Beta Was this translation helpful? Give feedback.
-
|
I will start to work on the implementation of |
Beta Was this translation helpful? Give feedback.
-
|
Implementation |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We implemented zeroize on the Felt type.
But it seems to not be enough
As mentioned by @FilipLaurentiu here, because
Feltalso implements Copy and Clone and therefore is not guaranteed to be zeroed.Issues were created in starknet-rs related to this:
xJonathanLEI/starknet-rs#667
xJonathanLEI/starknet-rs#735
@FilipLaurentiu seems to recommend using the secrecy crate instead (or in addition) to create a new
SecretFelttype.This discussion aims to weigh the different solutions offered to us and pick one.
Beta Was this translation helpful? Give feedback.
All reactions