You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runtime dependency otptoolis not listed in the installation requirements (unless I'm missing something). I've done a search online and I cannot find a binary/library that corresponds to otptool.is listed as optional (Pass::OTP), but not having it installed causes error messages to print to stderr.
It's not devastating, oathtool works and the correct OTP is ultimately printed on the last line of stdout.
That said, the which command from Line 21 fails and is printed to stderr:
$ pass otp /pass/path/passwordfile
which: no otptool in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
403424
Resolution
Does a tool referred to as otptool still exist? Am I missing something? Should it be added to the list of requirements? Or is it redundant since oathtool works without it, and then should it be removed? Maybe there's an easy answer I'm missing.
Sorry, I forgot to check the git blame when I first opened the ticket. Some actual ideas:
Redirect stderr of which command to /dev/null. For my machine, where I don't have Perl nor Pass::OTP but I do have oathtool, that would look like this:
Problem
(NOTE: edits made).
The runtime dependency
otptool
is not listed in the installation requirements (unless I'm missing something). I've done a search online and I cannot find a binary/library that corresponds tois listed as optional (Pass::OTP), but not having it installed causes error messages to print to stderr.otptool
.The problematic line of code is here.
pass-otp/otp.bash
Line 21 in a364d2a
Here is the PR that added it: 0aadd4c
Result
It's not devastating,
oathtool
works and the correct OTP is ultimately printed on the last line ofstdout
.That said, the
which
command from Line 21 fails and is printed tostderr
:Resolution
Does a tool referred to asotptool
still exist? Am I missing something? Should it be added to the list of requirements? Or is it redundant sinceoathtool
works without it, and then should it be removed? Maybe there's an easy answer I'm missing.Sorry, I forgot to check the git blame when I first opened the ticket. Some actual ideas:
which
command to/dev/null
. For my machine, where I don't have Perl norPass::OTP
but I do haveoathtool
, that would look like this:The text was updated successfully, but these errors were encountered: