LukeSmithxyz / mutt-wizard

A system for automatically configuring mutt and isync with a simple interface and safe passwords
GNU General Public License v3.0
2.39k stars 381 forks source link

Support for `age` with `sops` for convenient password management #925

Open SimonWoodtli opened 1 year ago

SimonWoodtli commented 1 year ago

Hello Luke! Great little utility you created here, thanks for that. Listen I just figured out how to use sops to decrypt my email password and it works both with msmtp and isync. Why would you want that you ask? Well gnupg is kinda dated and implementing pass with the pam module is cumbersome.

If you point me in the right direction I can implement it into mw. However to safe some time can you give me a couple of hints on where to look at in your codebase.

Checkout both projects: https://github.com/FiloSottile/age https://github.com/mozilla/sops

Also I wrote a neat little wrapper script to use sops on an interactive shell (it's more of a cloud tool).: https://github.com/SimonWoodtli/dotfiles/blob/main/scripts/cry