<div>Hi bex,<br></div><div><br></div><div>I am of the belief that what I am submitting is more intuitive and pass-like, and it meets the general needs of users looking for an intuitive answer to TOTP. I am unable to submit a patch to pass-otp as it is fundamentally a different user experience (functionally far superior) and my intention isn't to suggest redesign of the pass-otp interface as it is established and perfectly fit for it's user base.<br></div><div><br></div><div>I appreciate that this patch has a slim chance of being accepted due to it's imposition on core functionality, but i don't see this as any different than the imposition of clip or qrcode. In fact, tight oathtool integration that flows from the expected pass experience could be a key improvement as it makes the qrcode inclusion more meaningful and is not creating a new dependency for users, just optionally integrating two already established tools (pass, oathtool), if a user decides they want that.<br></div><div><br></div><div>I think this is worth looking at as the change is small, useful and supports existing ecosystem, eliminating the overhead of maintaining an additional dependency for an extension maintainer and pass users.<br></div><div><br></div><div>$ pass otp/gitlab/bsauce -o -c # copies a 6 digit TOTP token to the clipbard <br></div><div>$ pass gitlab/bsauce -c # ...<br></div><div><br></div><div>An alternative is replicating pass, (introducing a program) that does away with the -o --otp argument and makes the otp functionality first class, personally I prefer this approach as it does not pollute pass, but i'm open to either.<br></div><div><br></div><div>$ oath gitlab/bsauce -c # copies a 6 digit TOTP key to the clipbard<br></div><div>$ pass gitlab/bsauce -c # copies the password<br></div><div><br></div><div>I  love the pass CLI and want to feel the exact same love when retrieving my OTP tokens. Does that explain where all this came from?  <br></div><div><br></div><div>thank you.<br></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Wednesday, October 31, 2018 5:03 PM, Brian “bex” Exelbierd <bex@pobox.com> wrote:<br></div><div> <br></div><blockquote type="cite" class="protonmail_quote"><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><div><br></div><div>On Oct 30, 2018, at 6:20 AM, <a href="http://binarysauce.com.au">binarysauce.com.au</a> <<a href="mailto:reply@binarysauce.com.au">reply@binarysauce.com.au</a>> wrote:<br></div></div><blockquote type="cite"><div dir="ltr"><span>Hi Brad, these functions are already a standard part of `cmd_show` in pass. I'm just modifying their behaviour with the --otp argument. The introduced and optional dependency for this functionality would be `oathtool` itself. If a user doesn't want to use oathtool, they should not be impacted by this addition.</span><br></div></blockquote><div><br></div><div>Why not submit patches to the extension <a href="https://github.com/tadfisher/pass-otp">https://github.com/tadfisher/pass-otp</a> ?<br></div><div><br></div><div>Regards,<br></div><div><br></div><div>bex <br></div><div><br></div><div><br></div><blockquote type="cite"><div dir="ltr"><div><span></span><br></div><div><span>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐</span><br></div><div><span>On Tuesday, October 30, 2018 3:13 PM, Brad Knowles <<a href="mailto:brad@shub-internet.org">brad@shub-internet.org</a>> wrote:</span><br></div><div><span></span><br></div><blockquote type="cite"><span>On Oct 29, 2018, at 11:37 PM, <a href="http://binarysauce.com.au">binarysauce.com.au</a> <a href="mailto:reply@binarysauce.com.au">reply@binarysauce.com.au</a> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>The introduced functionality is an --otp argument for cmd_show which when given the -o or --otp argument (additionally a token length) can show the generated token, clip will copy the generated token but qrcode will provides the qrcode of the original key so that it can be added to an authenticator app.</span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Are "clip" and "qrcode" standard *nix utilities? Or maybe provided as a part of oathtool?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>--------------------------------------------------------------------------------------------</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Brad Knowles <a href="mailto:brad@shub-internet.org">brad@shub-internet.org</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Please forgive any typos. I'm fighting a failing keyboard on my laptop, in addition to having a broken finger.</span><br></blockquote><div><span></span><br></div><div><span></span><br></div><div><span>_______________________________________________</span><br></div><div><span>Password-Store mailing list</span><br></div><div><span><a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a></span><br></div><div><span><a href="https://lists.zx2c4.com/mailman/listinfo/password-store">https://lists.zx2c4.com/mailman/listinfo/password-store</a></span><br></div></div></blockquote></blockquote><div><br></div>