It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
l0b0
3 months agoNew Contributor
Connection reset when `podman login` runs `op`
I've set up a https://linuskarlsson.se/blog/podman-credential-helpers/ which runs `op read 'op://[redacted]'` internally. When I run the helper program in a terminal it works fine, prompts for the password if necessary, and prints the credentials. But when running `podman login` in the same terminal it fails with the following error:
[ERROR] 2025/07/23 16:22:20 could not read secret 'op://[redacted]': error initializing client: connecting to desktop app: read: connection reset, make sure 1Password CLI is installed correctly, then open the 1Password app, select 1Password > Settings > Developer and make sure the 'Integrate with 1Password CLI' setting is turned on. If you're still having trouble connecting, visit https://developer.1password.com/docs/cli/app-integration#troubleshooting for more help.
I've verified that the setting is turned on (running the helper program directly wouldn't work otherwise).
I'm running `op` version 2.31.0.
10 Replies
- dawidd6New Contributor
This works:
systemd-run --user --quiet --pipe --pty --collect -- op item list
Drawback is that it requires authentication every time it is run.
- dawidd6New Contributor
I was just trying to do the same thing, a credential helper using 1password for podman. Same issue encountered. Is there any solution for this yet?
- 1P_Phil
Moderator