4 releases
0.2.0 | Aug 28, 2022 |
---|---|
0.1.2 | Jun 7, 2020 |
0.1.1 | Jun 7, 2020 |
0.1.0 | Jun 11, 2018 |
#5 in #getting
39 downloads per month
Used in peroxide-cryptsetup
21KB
399 lines
pinentry-rs - Rust library to invoke pinentry
A tiny Rust library to invoke the password prompt program pinentry
Example
extern crate pinentry_rs;
use pinentry_rs::pinentry;
let pw = pinentry().pin("Please enter password:".to_string());
This library uses secstr crate to protect the password in memory.
No memory analysis has been done on how much the password leaks before getting into the SecStr
- use at your own risk!
Contributing
pinentry-rs
is the work of its contributors and is a free software project licensed under the
LGPLv3 or later.
If you would like to contribute, please follow the C4 process.
Dependencies
~90KB