[pass] Patch to skip first line for pass show

Matthias Beyer mail at beyermatthias.de
Fri Oct 16 09:45:34 CEST 2015


Disclaimer: I did not test this.

I would find such a feature rather nice! I'm not using the multiline
capabilities yet, though this would lower the barrier for me using
them.

On 13-10-2015 22:54:35, Michael F. Herbst wrote:
> Dear all
> 
> similar to what is described on http://www.passwordstore.org/ I am using
> pass to organise my password records in the scheme
> 
> password
> User: ...
> URL: ...
> Description
> extra info
> ...
> 
> If you have a similarly bad memory than myself, then you probably tend
> to forget all the extra info which you entered in the multiline record
> as well.
> 
> For this reason I cooked up a small patch for pass which adds the extra
> flag -s to the list of arguments show accepts. If "-s" or "--skip" is
> passed, the usual output of gpg is piped to tail -n+2, such that all
> lines *but* the first are printed to stdout.
> In other words this allows one to quickly check the extra info which is
> entered, without displaying the password in the clear to the terminal.
> One disadvantage of this method is that I am loosing the return code of
> gpg, but since I still get stderr from it, I would be ok with it.
> 
> I am using this feature myself quite regularly atm. and I would be happy
> to see your feedback on it.
> 
> Best
> Michael
> 
> -- 
> Michael F. Herbst
> Interdisziplinäres Zentrum für wissenschaftliches Rechnen
> Ruprecht-Karls-Universität Heidelberg
> Im Neuenheimer Feld 368
> 69120 Heidelberg
> 
> Blog:      http://blog.mfhs.eu/
> GPG key:   http://docs.mfhs.eu/gpgkey.asc
> Checksum:  3C0D 5B31 CDC8 F3B8 52AD 00E6 3887 DB67 44A9 DF9F





> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store


-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20151016/6111a3a2/attachment.asc>


More information about the Password-Store mailing list