aboutsummaryrefslogtreecommitdiff
path: root/otp.bash
Commit message (Collapse)AuthorAge
* Add support for using Pass::OTPJan Baier2020-09-12
| | | | | | Pass::OTP is alternative implementation of One-time passwords with more features, namely it can support parsing otpauth:// links and custom character classes. This can close #97
* 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
|
* Added path_prefix for insertionsMorten Linderud2020-09-12
| | | | Signed-off-by: Morten Linderud <morten@linderud.pw>
* Fix getopt missed commaxPMo2018-09-10
| | | pass-otp doesn't correctly read issuer, and will infinite loop on the `while true`
* Version 1.1.1Tad Fisher2018-06-28
|
* Tolerate base64 padding in secretTad Fisher2018-06-28
|
* Don't use herestringsRemus Buzatu2018-06-28
|
* Fix behaviour for otp append as wellxPMo2018-06-03
|
* fix missing secret name when reading secret in `cmd_otp_append`Benjamin Denhartog2018-05-01
| | | | closes #75
* otp-insert: require only one of `--issuer` or `--account`Benjamin Denhartog2018-03-17
| | | | closes #68
* Added support for `pass otp --version`Lucid One2018-03-06
|
* Fail for `otp code` on missing secret (#46)Tad Fisher2018-03-04
|
* Fixed lint errors (#49)Lucid One2018-02-17
|
* Fix Travis (#47)Tad Fisher2018-01-21
| | | | | | * Install shellcheck manually * Use `read` instead of built-in glob splitting
* Use a compatible to lowercase syntax for bash < 4 (#41)Marc-Aurèle Brothier2018-01-21
|
* 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
* Make sure $otp_algorithm is lowercase (#33)Bartłomiej Piotrowski2017-06-04
| | | Otherwise oathtool is unhappy.
* 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
|
* Fix commit messageTad Fisher2017-03-20
|
* Update READMETad 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
|
* Update documentation.Tad 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
|
* Add cmd_insert_uri; refactor testsTad Fisher2017-03-18
|
* Parse key URIsTad Fisher2017-03-18
|
* Fix shellcheck issuesTad Fisher2017-03-16
|
* Don't initialize passfile twiceAimilius2017-03-16
|
* Initialize $INNER_GIT_DIRAimilius2017-03-13
|
* Initial commitTad Fisher2017-02-14