aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-02-12Handle otpauth:// URIs with port numbersTad Fisher
2022-02-12Update sharnessTad Fisher
2020-09-12Add support for quiet output of otp code commandMartin Kletzander
When using this option the output of `pass otp -q ...` is predictable and can be further used without parsing even when the password store is a repository as well. This is useful, for example, when using rofi-pass. The patch is written in a way that other commands can optionally use the quiet option for otp_insert as well.
2020-09-12Do not remove password when new line is missingVincent Bernat
If the password file doesn't end with a new line, the last line is ignored because `read -r` will return a non-zero status, while still setting the `$line` variable. Some implementations of pass, like `gopass` do not create a password file ending with a new line. Therefore, using `pass otp append` on these files will result in the password being remove from the file. To fix that, we ensure we insert the new line if it is missing. I have added a test, but this is not enough to catch the problem because `pass` will add the new line even when it is missing (for example, using `echo -n | pass insert -e passfile` won't help to trigger the bug).
2020-09-12Added docs, test and completionMorten Linderud
2018-06-28Tolerate base64 padding in secretTad Fisher
2018-03-07Marked debug target as .PHONYLucid One
2018-03-07Fixed aggregate-results target to run indently of aggregate-results-and-cleanLucid One
2018-03-07Modified setup.sh to pass lintLucid One
2018-03-07Enable `make lint` for test/setup.shLucid One
2018-03-07Check that testing prerequisites are installedLucid One
2018-03-06Add `make debug` target to log errors for failed tests to console.Lucid One
2018-03-04Fail for `otp code` on missing secret (#46)Tad Fisher
2018-03-03Remove gnupg/random_seed on clean (#52)Philip Rinn
2018-01-21Add secret option (#43)Osamu Matsumoto
* Support insert/append secret directly * Validate issuer and accout name option in secret directly mode * Add test for secret option * Fix up docs
2017-03-20Add cmd_otp_append for appending OTP secrets to existing passfilesTad Fisher
2017-03-20Generate default passname from URI label; remove url paramTad Fisher
2017-03-20Use expect for interactive testsTad Fisher
2017-03-19Support --echo and reading key from stdinTad Fisher
2017-03-19Remove otp_insert_spec and related insert commandsTad Fisher
2017-03-19Parse key URIs to generate OTP codesTad Fisher
2017-03-19Fix HOTP URI parsingTad Fisher
2017-03-19cmd_otp_uri: Show first line starting with otpauth:// in passfileTad Fisher
2017-03-19Replace cmd_insert_$type with cmd_insert_spec; insert key urisTad Fisher
2017-03-18Fix overwrite prompt testTad Fisher
2017-03-18Add cmd_insert_uri; refactor testsTad Fisher
2017-03-18Parse key URIsTad Fisher
2017-03-16Fix buildTad Fisher
2017-03-16Add test harness and basic insert testTad Fisher