wandera / 1password-client

Python wrapper for OnePassword CLI developed at Wandera.
MIT License
47 stars 25 forks source link

No prompt for credentials, raise MissingCredentials() error returned #48

Closed CommonGibbon closed 11 months ago

CommonGibbon commented 1 year ago

Describe the bug When I attempt to initialize onepassword using: op = OnePassword() I do not see a password prompt window and I receive a MissingCredentials error message

To Reproduce op = OnePassword()

Expected behavior I expect to see a window requesting my system password

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Onepassword CLI version: 2.21.0 python verison: 3.10.12

This works as expected when running the cli from the command line (e.g. using op vault list). I believe this must be related to the cli version, because lines 137 and 138 in onepassword.py produce errors if I manually provide the OnePassword class with the dictionary of login values.

CommonGibbon commented 1 year ago

Well I figured it out. I guess I had used pip3 install onepassword instead of pip3 install 1password. Sorry!

dtpryce commented 1 year ago

Hey @CommonGibbon thanks for submitting this issue ... if you are all good can we close it?