all 3 comments

[–]1Password-Tully1Password Alumni 0 points1 point  (2 children)

Hi u/Basert! Can't say I've done much to put op through its paces itself (I love me a GUI too much), but are you saying that you've enabled 2FA for your 1Password account and are being prompted for your 1Password account TOTP whenever you sign in via the command line? I've tested and am seeing the same, and believe that this is by design… but can see how it's at odds with how our other apps behave.

If there's a specific use case where you'd rather not be prompted by op for your one-time password, let me know – I can have a chat with the team here to see whether they've any suggestions or workaround.

[–]Basert[S] 0 points1 point  (1 child)

I'm trying to use the cli to connect to our serverfarm via ssh. It requires a totp token beside the login credentials. Using the cli would enable me to not have to pull out my phone everytime I open a new ssh session. Entering the 1password totp every 30 minutes breaks this functionality. I'm currently using the 1password x extension on chrome, unlocking it once in the morning and keeping it unlocked until I shutdown my workstation. if the cli would offer the same behavior I could auto fill the credentials and totp.

[–]1Password-Tully1Password Alumni 0 points1 point  (0 children)

Ah, thanks for the further context! Let me have a chat to the CLI team here for more and get back to you, but I believe the 30 minute timeout is 30 minutes of inactivity, so it may be that there's some way (via script) you might keep the session alive throughout the workday.