summaryrefslogtreecommitdiff
path: root/pt
AgeCommit message (Collapse)Author
2018-09-28pt:Implemented paste by default, with type overrideAaron Ball
Originally, typing passwords with xdotool was the only way to use the tool, primarily because some apps prevent the user from copying and pasting. Now we use copy and paste by default, because so few apps prevent that. To override default behavior of pasting username and password, set 'type=[1|y|yes|true]' in the pass entry. Note: the copy/paste process of username and password backs up current clipboard value and restores it after the username and password have been pasted.
2018-09-28pt:Escape ` char in passwordsAaron Ball
The backtick char can cause all kinds of issues, since it allows for execution of subshell code.
2018-06-02pt:Fixed various printf statementsAaron Ball
Some passwords that started with one or two - characters would break printf. Added the -- switch to avoid further switch parsing. Also quoted a couple of variables to avoid problems with spaces. Changed xdotool type rate to 20 ms between characters, since some services don't like people who type with 15 ms between chars.
2017-07-11pt:Added custom delimiter and submission supportAaron Ball
Now pt supports a custom field delimiter. Most UIs that have a username and password field, changing to from username to password is done by pressing the Tab key. Some UIs however, switch with other keys (like Return). Now a pass entry can specifiy 'delim: ...', which will be used when the username/passwords are typed. Also added support for automatic submission. Previously we just typed username, delimiter, password, and let the user press enter for maximum choice. Now we allow the user, on a per-password basis, to specify whether they want submit to be pressed or not. This adds support for the 'submit: ...' field. Also abstracted field value retrieval out of the main function (and long oneliner commands), into the new getfield function.
2017-06-12rename quicktype to pt (pass type)Aaron Ball
Ironically, quicktype isn't very quick to type.

Generated by cgit