Get Passwords From Mac's Keychain Access App In Rust
Code
//! ```cargo
//! [dependencies]
//! security-framework = "2.9.2"
//! ```
use get_generic_password;
I don't like using plain-text config or .env files for storing passwords. Beyond the possibility of accidentally sending them to github I also stream which opens up an entirely new way to dox credentials.
Here's what I'm using in Rust to pull credentials out of my mac's built-in Keychain Access app:
Note
It looks like the repo was archived in July 2023. It's still working for me.
References
-
Bindings to the Apple's Security.framework. Allows use of TLS and Keychain from Rust.