It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
XIII
2 years agoSuper Contributor
1Password integration in iTerm2 version 3.5?
The release notes of iTerm2 version 3.5 mention 1Password integration:
The password manager can now use LastPass or 1Password rather than the keychain. Use the (⋯) menu next to the search field to configure it.
How do we use this? (And what's the added value?)
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided
12 Replies
- Michael_MercuriFrequent Contributor
For those who have this working, I'm curious how. I've never been able to get it to work.
I use 1Password CLI all day long, so I know that's working. I can verify that iTerm2 is able to access my saved password from 1Password by tagging the entries with `iTerm2`. And I can verify that if I tell iTerm2 to enter my password into anything but a login or ssh password prompt to does so correctly (after warning me).
But whenever I try to use it at an ssh password prompt, the password is always invalid. Obviously, I can't see what it's entering into the terminal.
Anyone experience this or have any ideas what might be going on?
- Michael_MercuriFrequent Contributor
Figured it out. After closer inspection of what iTerm2 was doing, I realized it was appending the OTP value to the end of the password. Apparently this can be disabled by using the tag "iTerm2-no-otp" for the password entry in 1Password.
Information available here:
https://gitlab.com/gnachman/iterm2/-/issues/11674#note_2206992255
I wish this was better documented.
- 1P_Dave
Moderator
I'm glad that you were able to find a solution! Thanks for sharing with the community.
-Dave
- 1P_Dave
Moderator
Thanks for finding a solution here MrC! 💙
-Dave
- XIIISuper Contributor
Ah, should have searched issues on GitLab…
Thanks for sharing.
- MrCSuper Contributor
See the end of this discussion:
https://gitlab.com/gnachman/iterm2/-/issues/10501
Cheers
- XIIISuper Contributor
Yes, that's the magic trick! Thank you.
Where did you find that?
- MrCSuper Contributor
Tag the 1Password items you want exposed to iTerm2 with
iTerm2. - XIIISuper Contributor
Yes, I had to log in using Touch ID.
However, after that the (iTerm) dialog remains empty. I don’t see any passwords and don’t know how to use them in iTerm.
(There’s not much documentation about this, or I did not find it yet)
- MrCSuper Contributor
Do you have the 1Password CLI installed?
In the pull down, did you select 1Password integration? With the CLI (i.e. /usr/local/bin/op) installed, a dialog should then appear asking for your Master Password.
- XIIISuper Contributor
I did that (before posting my question), but I don’t see a single entry in there…
Does it work for you? (How?)
- MrCSuper Contributor
In iTerm2, use menu Windows > Password Manager. At the upper right of the dialog that opens, use the ... (ellipsis) menu.
The
⋯you see in the release notes is simply a Unicode issue in the plain text. Its supposed to be an ellipsis character.