pinentry-rs 0.2.0

Rust wrapper for calling pinentry to get secure password input
Documentation

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.