raymontag/rust-keepass
View on GitHub ↗ ★ 137 Rust
Crate to use KeePass databases in Rust
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2015-10-05 · latest 2015-10-05
20082026
-
…implementation in KeePassC uses the pointer after memset in Drop, so it might be just lucky ( https://github.com/raymontag/rust-keepass/issues/4 ).
comment by pornel · 2015-10-05 · in KeepassC – Curses based keepass written in Rust -
Is this such a thing: https://github.com/raymontag/rust-keepass/blob/2b7b701b69541... unsafe { ptr::write_bytes(self.encrypted_string.as_ptr() as *mut c_void, 0u8, self.encrypted_string.len()) }; ?
comment by zwp · 2015-10-05 · in KeepassC – Curses based keepass written in Rust -
There is a different repo for Rust implementation: https://github.com/raymontag/rust-keepass I guess, OP posted the link to the blog post to highlight some reasoning behind the switch, not the code itself.
comment by kirushik · 2015-10-05 · in KeepassC – Curses based keepass written in Rust