Headless Linux CLI unable to login.
To whom this might concern,
Hi!
I have a headless Linux box which I've installed 1password CLI
technie@maya:~$ uname -a
Linux maya 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
technie@maya:~$ op --version
2.20.0
I've tried to login, but I've gotten a "[ERROR] 2023/09/03 03:24:22 MFA Type Not Supported" error instead. The log as follows:
--- start of log ---
technie@maya:~$ op vault list
No accounts configured for use with 1Password CLI.
You can either:
- Connect 1Password CLI with the 1Password app to use the accounts you've added to the app and sign in using the 1Password app. Learn more: https://developer.1password.com/docs/cli/get-started/#sign-in for details.
- Add an account manually with 'op account add' and sign in by entering your password on the command line. See 'op account add --help' for details.
- Use 1Password CLI with a Connect instance by setting the 'OP_CONNECT_HOST' and 'OP_CONNECT_TOKEN' environment variables to your Connect host and token, respectively. Learn more: https://developer.1password.com/docs/connect
- Authenticate using a 1Password service account by setting the 'OP_SERVICE_ACCOUNT_TOKEN' environment variable to your service account token. Learn more: https://developer.1password.com/docs/service-accounts/
Do you want to add an account manually now? [Y/n]
Enter your sign-in address (example.1password.com): https://my.1password.com/
Enter the email address for your account on my.1password.com/: onepassword@m.technie.com
Enter the Secret Key for onepassword@m.technie.com on my.1password.com: A3-XXX-4LKEE
Enter the password for onepassword@m.technie.com at my.1password.com:
[ERROR] 2023/09/03 03:24:22 MFA Type Not Supported
--- end of log ---
I have setup security keys as my 2FA for 1password. Would that be a problem?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided
Comments
-
I also use have security keys setup as MFA and and was also unable to login with the
op
CLI on Linux.0 -
I'm also having this exact problem after using a Yubi Key for MFA. Would really love to see a work around for this if possible. Thanks!
0 -
+1 also having same issue. Wondering how MFA items are handled in terminal if there are modules we need to install or something to enable it. 1Password handoff also fails in wayland so using application-cli integration does not work for all devices.
First class MFA support or open sourcing the CLI so we can figure it out would greatly help.
0