Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1password CMD error #280

Open
bennysp opened this issue Jul 21, 2024 · 1 comment
Open

1password CMD error #280

bennysp opened this issue Jul 21, 2024 · 1 comment

Comments

@bennysp
Copy link

bennysp commented Jul 21, 2024

I am sure the error is probably on my end, in not doing this correctly, but when I run tut, I get this error when trying to use the 1password CLI:

2024/07/21 18:54:45 Couldn't run CMD on auth-file. Error; exit status 1

Here is my accounts config (I have ran these commands outside of tut - the -n also removes the newline)

[[Accounts]]
Name = 'bennysp'
Server = 'https://fosstodon.org'
ClientID = '!CMD!op read -n "op://path/to/id"'
ClientSecret = '!CMD!op read -n "op://path/to/secret"'
AccessToken = '!CMD!op read -n "op://path/to/accesstoken"'

Is there a way to debug why it is erroring?

@bennysp
Copy link
Author

bennysp commented Jul 22, 2024

My path has spaces, so I just tried to remove the quotes and add \ to escape the spaces (works on the 1password cli command). That did not change the behavior either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant