Xaskpass

AUR version Crate Minimum rustc version

Xaskpass is a lightweight passphrase dialog for X11 with extensive configuration options that is implemented without relying on heavy GUI libraries. It aims to be a successor to the similar but now old [x11-ssh-askpass] by preserving its fast startup time while modernizing some features such as fonts. It also tries to make sure the password stays in the memory for the shortest time.

Classic indicator | Circle | Strings/Disco :-------:|:-------:|:-------: | |

Building

If everything works right, a cargo build command should suffice:

sh cargo build --release --locked

Otherwise make sure rustc is 1.45+ and you have the following C libraries installed:

For example in Arch Linux you can run: sh pacman -S libxkbcommon libxkbcommon-x11 libxcb pango cairo clang

Installation

To make ssh or sudo use xaskpass set SSH_ASKPASS=/path/to/xaskpass or SUDO_ASKPASS (and use sudo -A) respectively.

Configuration

Xaskpass reads configuration from $XDG_CONFIG_HOME/xaskpass/xaskpass.toml. A default configuration file with comments can be found here.

More help

See xaskpass --help and the comments in the default configuration file.

Development

You can create directory pregen to speed up build.rs by letting it save the generated bindings there.

License

Xaskpass is released under the Apache License, Version 2.0.

Material Design icon by Google.