Commit Briefs

f1a67479a5 Omar Polo

release 0.4 (tags/0.4)


fc447ca7ce Omar Polo

totp.1: make clear the format of the secret


847f206c43 Omar Polo

plass.1: add an example of `plass edit'


3486f5fcac Omar Polo

tweak pwg.1


86b0d4f588 Omar Polo

tweak plass.1


b0942e5cf2 Omar Polo

tweak the README


3cf28f46d4 Omar Polo

avoid issuing unnecessary `got add'

plass always did a `got add $file' before committing changes. However, this leads to a possibly misleading "file has unexpected status" error being printed to stderr. Instead, `got add $file' only when the file is new.


8c4930cfce Omar Polo

refactor cmd_edit

Now it always deletes the temporary file.


fc9fec0528 Omar Polo

plass tee: set binmode to avoid mangling binary data


1169deba9d Omar Polo

refactor cmd_tee: simplify the code

inline (with tweaks) writepass, it's redundant to have. While here also read/write blockwise instead that of linewise.


77ea6ba189 Omar Polo

remove handling of PLASS_GOT environment variable

There's no real reason to have this variable, there's only one `got' usually and people are better off putting it somewhere in $PATH. Retain PLASS_GPG as there seem to be a little issue with gpg vs gpg2 so the knob may be useful in practice.


a5ae11fe24 Omar Polo

typo


71c704e31a Omar Polo

bump copyright


f31cd5a448 Omar Polo

totp: extract the secret from otpauth:// URIs

More often than not, services provide the URI for TOTP and not the raw secret. While it's easy to manually extract the secret from the querystring, teach totp how to do that on behalf of the user. Manpage bits will follow. Discussed with heph.


87986040c3 Omar Polo

plass edit: delete the temp file

File::Temp lied. it says UNLINK defaults to true but the files were still in my /tmp. Quick workaround, needs something better that takes care also of cleaning up on die().