You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to store a password that will be passed to a C API using the Rust FFI. To avoid unnecessary copies, I store it as a std::ffi::CString. But as Zeroize is not implemented for CString, I can’t wrap this field in a Secret.
Could you please add a Zeroize implementation for CString?
The text was updated successfully, but these errors were encountered:
This implements Zeroize for std::ffi::CString. As CString is not in
allocate but in std, a new optional std feature is added to depend
on the std library.
robinhundt
added a commit
to robinhundt/utils
that referenced
this issue
Apr 4, 2022
This implements Zeroize for std::ffi::CString. As CString is not in
allocate but in std, a new optional std feature is added to depend
on the std library.
Note: originally filed by @robinkrahl as iqlusioninc/crates#509
The text was updated successfully, but these errors were encountered: