[pass] [PATCH] Added functionality to retrieve username from a password file and copy to clipboard.

ged at qube.io ged at qube.io
Fri Oct 12 19:21:52 CEST 2012

On Tue, Oct 09, 2012 at 02:00:19PM -0700, milki wrote:
> On 18:37 Tue 09 Oct     , ged at qube.io wrote:
> > Hi Jason,
> > 
> > I understand your schema-less approach but doesn't that have the potential to 
> > restrict the power of the script?  At the moment the only thing that 
> > your script does with the information stored in the encrytped file is to either
> > a) display the entire file or b) copy the first line to the clipboard.  
> > 
> > Is it necessarily a bad thing to be able to extract a username, email address or 
> > web site from the password store?  It would require a schema of some type 
> > which is of course a form of complication.  Possibly you could support a small set 
> > of simple schemas (for example "no-schema", "multiline", "folder" and "multiline
> > key/value") with the user specifying in a config file which schema to use? 
> Is the user id (username, email, etc) really information that must be
> kept encrypted at all? Why can't you incorporate this information into
> the pass-name?

No it doesn't as such require encryption.  My thinking is convenience. 

Like everyone I have multiple usernames on multiple systems all with
diffent passwords.

A typical workflow for me would be to copy the username to clipboard,
switch to the application requiring the username and paste, switch back
to terminal and copy the password to clipboard and then paste into the

Allowing the extraction of one piece of information from password-store
to the clipboard using a command but requiring that the extraction of
another piece that is just as critical for logging into a system to need a
command and a mouse selection is awkward.

A schema would allow all the components of the password file to copied
to the clipboard without needing to use the mouse for some of the

There is another thread on this list discussing Mobile Applications.
Wouldn't that require a schema?


More information about the Password-Store mailing list