pinentry-rs

Crates.iopinentry-rs
lib.rspinentry-rs
version0.2.0
sourcesrc
created_at2018-06-11 14:13:47.575413
updated_at2022-08-28 14:41:01.231134
descriptionRust wrapper for calling pinentry to get secure password input
homepagehttps://gitlab.com/solidninja/pinentry-rs
repository
max_upload_size
id69622
size30,139
Vladimir (vladimir-lu)

documentation

README

pipeline status crates.io Status docs.rs build

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.

Commit count: 0

cargo fmt