clear_on_drop icon indicating copy to clipboard operation
clear_on_drop copied to clipboard

Helpers for clearing sensitive data on the stack and heap

Results 7 clear_on_drop issues
Sort by recently updated
recently updated
newest added

You mention in #23 that... > I changed it to use llvm_asm! (unfortunately, the new asm! cannot be used due to https://github.com/rust-lang/rust/issues/72965) and released 0.2.4, could you check if it...

I see the `no_cc` feature, though the warning against using it is concerning. Is it known if this works reliably in wasm32-unknown-unknown?

Hi there, Thanks for this awesome crate! I was wondering if you could document how to find the right value to pass for the `pages` argument for `clear_stack_on_return`, `clear_stack_on_return_fnonce`.

``` ∃!isisⒶwintermute:~/code/rust ∴ git clone https://github.com/cesarb/clear_on_drop Cloning into 'clear_on_drop'... remote: Enumerating objects: 397, done. remote: Total 397 (delta 0), reused 0 (delta 0), pack-reused 397 Receiving objects: 100% (397/397), 659.54...

`core::arch` will soon be available in stable Rust: https://github.com/rust-lang/rust/pull/49664 Can one of the x86/x86_64 move instructions be used to provide a `HideMemImpl` so `clear_on_drop` will work on stable without the...

The `explicit_bzero` function is available since glibc 2.25.

While I do not necessarily expect this to be merged, as this is maybe not the most urgent change, it does reduce the potential for UB in a couple of...