Use uuid for preview window lookup
This is a bug from rearranging the fzf window to put uuid second but
failing to update the selected field correctly.
Add comment for installing things, clean source
- Add comment for installing stuff with xbps
- Clarify -j flag
- Fix missing newline at EOF
op: Remove totp tools since op supports those now
I think that was added in 0.5.4 or something, but the important thing
is I don't need to keep around the awful code for extracting an OTP URI
from op.
Incidentally, there is an uncommitted change to this that added support
for oathtool until I realized I could just get the totp from op.
Add a check for xclip to the script
Minor refactoring of CLI flag parsing
Fix wording on old gen-totp tool
It is slightly funny that gen-totp is in here since I wrote this tool
for work originally. gen-totp is a small example program I wrote to
demonstrate how to use our Go OTP library. It's not open source,
unfortunately.
Add comment on program requirements
This was missing, and includes a bad recommendation of implementing
pbcopy with xsel. Use xclip -- xsel hasn't really been updated in
years, at least not officially. Distros keep patching it when they
should just remove it.
Add help, -1, new auth type flags to CLI
This involved cleaning up some of the script as well, beginning with
the addition of withuserpass to extract relevant fields from the JSON
and then do whatever I wanted with them.
Use install instead of chmod-ing a session file
Has the benefit of creating the file with the correct permissions
instead of assigning those permissions after the fact.
Allow passing queries to fzf
Useful for the -1 option that's added later, but this was the baseline
commit where that made sense.
Add auth type flags to CLI parsing
These commit messages are added retroactively since 1p began its life
in a gist so I could share it with a few people.
Try to be a little more careful with sessions
Add usage comment to file head