Crates.io | pinentry-rs |
lib.rs | pinentry-rs |
version | 0.2.0 |
source | src |
created_at | 2018-06-11 14:13:47.575413 |
updated_at | 2022-08-28 14:41:01.231134 |
description | Rust wrapper for calling pinentry to get secure password input |
homepage | https://gitlab.com/solidninja/pinentry-rs |
repository | |
max_upload_size | |
id | 69622 |
size | 30,139 |
pinentry
A tiny Rust library to invoke the password prompt program pinentry
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!
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.