#store #pass #password-manager #json #unix #cmd #variables

app imposter-pass

a simple tool for impersonating the standard unix password manager

2 unstable releases

0.3.0 Aug 1, 2020
0.2.1 Jul 10, 2020

#58 in #cmd

32 downloads per month

Custom license

24KB
447 lines

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.

Dependencies

~1.7–2.8MB
~50K SLoC