Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoError - You are not currently signed in.
After running eval $(op signin), I get "You are not currently signed in." for any subsequent op.
zsh:
```
➜ op --version
2.0.0
Last login: Tue Mar 29 09:39:55 on ttys002
➜ eval $(op signin)
Enter the password for mailto:redacted<li-user uid=.com at my.1password.com:
➜ op account get
[ERROR] 2022/03/29 10:25:36 You are not currently signed in. Please run op signin --help for instructions
```
The signin operation creates the file /var/folders/zc/REDACTED/T/com.agilebits.op.501/.XXXXXXXXXXXXXXXXXXXXXXXXXXX
with the json:
{"jwe":{"kid":"REDACTED","enc":"A256GCM","cty":"b5+jwk+json","iv":"REDACTED","data":"REDACTED"},"shorthand":"my"}
and sets the environment variable
OP_SESSION_XXXXXXXXXXXXXXXXXXXXXXXXXX=REDACTED
Also, op signin -f shows the help text:
"# Run 'eval $(op signin my)' to sign in to your 1Password account."
Which appears to be out of date, given:
eval $(op signin my)
[ERROR] 2022/03/29 10:31:51 expected at most 0 arguments but got 1 instead
1Password Version: 7.9.3 (70903004)
Extension Version: Not Provided
OS Version: mac OS 12.3
Referrer: forum-search:https://1password.community/search?Search=You%20are%20not%20currently%20signed%20in
17 Replies
- Former Member
@"Horia.Culea_1P" - Yes, there is an environment variable set (see original post). Do you need the un-redacted variable name? The number of X's are indicative of the actual length.
- Former Member
After running
eval $(op signin), can you please runprintenv | grep OP_SESSION_and let me know if the output is empty, or if you can see an environment variable set? TheYou are not currently signed in.error makes me think that there is a problem in setting the session token to an environment variable. - Former Member
Hi @Horia.Culea_1P,
I installed using Homebrew 3.4.4. I did not migrate from a previous CLI version. I get similar results to Chmurzak.
```bash
$ op account list
SHORTHAND URL EMAIL USER UUID
my https://my.1password.com [REDACTED]$ eval $(op signin --account me)
[ERROR] 2022/04/04 13:10:51 no accounts found matching filter "me"$ eval $(op signin --account my)
Enter the password for [REDACTED] at my.1password.com:$ op vault list
[ERROR] 2022/04/04 13:11:54 You are not currently signed in. Please runop signin --helpfor instructions
``` - Former Member
Did you install using
apt, or by downloading and running the installer? - Former Member
Hi @"Horia.Culea_1P",
I'm using a fresh ubuntu server with a fresh installation of CLI 2.0 (no migration from previous version).
Unfortunattely, signin with the additional--accountflag is not helping (I have to usemyinstead ofme):
$ op account list
SHORTHAND URL EMAIL USER UUID
my https://my.1password.com user@example.com[REDACTED]
$ eval $(op signin --account me)
[ERROR] 2022/04/04 10:14:35 no accounts found matching filter "me"
$ eval $(op signin --account my)
Enter the password for user@example.com[REDACTED] at my.1password.com:
$ op account list
SHORTHAND URL EMAIL USER UUID
my https://my.1password.com user@example.com[REDACTED]
$ op vault list
[ERROR] 2022/04/04 10:10:12 You are not currently signed in. Please run `op signin --help` for instructions
- Former Member
Hey @mchadwick and @Chmurzak,
Thank you for reaching out to us!
Indeed, that piece of help-text is an oversight, the correct command iseval $(op signin --account me).
To diagnose this, can you please let us know what installation method did you use? Are you migrating from 1Password CLI 1, or are you a new user? Thanks, looking forward to hearing from you!Best,
Horia - Former Member
I just installed from scratch the 1Password CLI (version 2.0.0) on a linux server and I get the same "You are not currently signed in." error for every operation.
The signing operation seemed successful and the account is visible with:
➜ ~ op account list
SHORTHAND URL EMAIL USER UUID
my https://my.1password.com user@example.com[REDACTED]