aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Handle otpauth:// URIs with port numbersTad Fisher2022-02-12
|
* Update sharnessTad Fisher2022-02-12
|
* Add support for quiet output of otp code commandMartin Kletzander2020-09-12
| | | | | | | | | 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.
* Do not remove password when new line is missingVincent Bernat2020-09-12
| | | | | | | | | | | | | | | | 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).
* Added docs, test and completionMorten Linderud2020-09-12
|
* Tolerate base64 padding in secretTad Fisher2018-06-28
|
* Marked debug target as .PHONYLucid One2018-03-07
|
* Fixed aggregate-results target to run indently of aggregate-results-and-cleanLucid One2018-03-07
|
* Modified setup.sh to pass lintLucid One2018-03-07
|
* Enable `make lint` for test/setup.shLucid One2018-03-07
|
* Check that testing prerequisites are installedLucid One2018-03-07
|
* Add `make debug` target to log errors for failed tests to console.Lucid One2018-03-06
|
* Fail for `otp code` on missing secret (#46)Tad Fisher2018-03-04
|
* Remove gnupg/random_seed on clean (#52)Philip Rinn2018-03-03
|
* Add secret option (#43)Osamu Matsumoto2018-01-21
| | | | | | | | | | * Support insert/append secret directly * Validate issuer and accout name option in secret directly mode * Add test for secret option * Fix up docs
* Add cmd_otp_append for appending OTP secrets to existing passfilesTad Fisher2017-03-20
|
* Generate default passname from URI label; remove url paramTad Fisher2017-03-20
|
* Use expect for interactive testsTad Fisher2017-03-20
|
* Support --echo and reading key from stdinTad Fisher2017-03-19
|
* Remove otp_insert_spec and related insert commandsTad Fisher2017-03-19
|
* Parse key URIs to generate OTP codesTad Fisher2017-03-19
|
* Fix HOTP URI parsingTad Fisher2017-03-19
|
* cmd_otp_uri: Show first line starting with otpauth:// in passfileTad Fisher2017-03-19
|
* Replace cmd_insert_$type with cmd_insert_spec; insert key urisTad Fisher2017-03-19
|
* Fix overwrite prompt testTad Fisher2017-03-18
|
* Add cmd_insert_uri; refactor testsTad Fisher2017-03-18
|
* Parse key URIsTad Fisher2017-03-18
|
* Fix buildTad Fisher2017-03-16
|
* Add test harness and basic insert testTad Fisher2017-03-16