Have a look at this solution, a shell wrapper around GPG for managing passwords - <a href="https:&#x2F;&#x2F;github.com&#x2F;drduh&#x2F;pwd.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;drduh&#x2F;pwd.sh</a>