Skip to content

lamadotcare/imposter-pass

 
 

Repository files navigation

This is a simple utility to help containerize a protonmail-bridge

Install

  1. Install rustup from https://rustup.rs/
  2. Once rust has installed, run cargo install imposter-pass

Usage

  1. Make sure that protonmail-bridge is not running
  2. Run
    imposter-pass --store store.json fool protonmail-bridge
    This will cause protonmail-bridge to run through the authentication process as usual. The credentials will be saved to store.json.
  3. You can now place the contents on store.json in the environment variable
    IMPOSTER_PASS_STORE="$(cat store.json)" imposter-pass [pass cmd]
    or use
    imposter-pass --store store.json [pass cmd]
    to interact with imposter-pass as you would with pass [pass cmd].
  4. You can use
    IMPOSTER_PASS_STORE="$(cat store.json)" imposter-pass fool [exec] -- [args...]
    or
    imposter-pass --store store.json fool [exec] -- [args...]
    to launch exec [args...] with the saved credentials.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Nix 54.9%
  • Rust 44.4%
  • Dockerfile 0.7%