pinentry-rs 0.2.0

Rust wrapper for calling pinentry to get secure password input
Documentation
  • Coverage
  • 89.47%
    17 out of 19 items documented1 out of 15 items with examples
  • Size
  • Source code size: 29.67 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.84 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • vladimir-lu

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.