<div dir="ltr"><div><div><div><div><div><div><div>There is a little usecase that I use for credit cards secrets.<br></div>Basically, I save credit card details and secrets as a multiline password. So I can't just `pass show -c my/credit/card` because I can't paste it into any webform.<br><br></div>Also, I don't want to `pass show my/credit/card` because this precious info now sits in my terminal scrollback. Urgh.<br><br></div>What I want is to `pass show` with a timeout, so information is visible for some time, but eventually disappears. So I have time to copypaste details into webform.<br><br></div>I've created a small function for this:<br><br>    function passless {<br>      pass show "$@" | timeout --foreground 30s less<br>    }<br><br></div>It doesn't leave traces of secret in terminal scrollback and exits automatically in 30 sec.<br><br></div>What do you think about adding first class support for such a feature? The problem with my function is it doesn't have autocomplete - a huge drawback in usability.<br><br></div>Or maybe there are better ways to store-and-fetch credit card info in password-store?<br></div>