Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

Former Member's avatar
Former Member
2 years ago

On clean restart I cannot use 1Password git GPG SSH without manually logging into 1Password

On a clean restart, I cannot use 1Password git GPG SSH functionality (for signing git commits) without manually logging into 1Password through the desktop application. Is 1Password supposed to automatically prompt me to log in when I execute a git command?

Here's my .gitconfig:
```
[user]
signingkey = ssh-ed25519 [redacted]
email = [redacted]
name = [redacted]

[gpg]
format = ssh

[gpg "ssh"]
program = "/opt/1Password/op-ssh-sign"

[commit]
gpgsign = true
```

```
❯❯ git commit -m "Test"
error: Could not connect to socket. Is the agent running?

fatal: failed to write commit object
```

After logging into 1Password manually, I can use git signing and authentication without any issue.


1Password Version: 8.10
Extension Version: Not Provided
OS Version: Kubuntu 23.04
Browser:_ Chrome

  • Former Member's avatar
    Former Member

    Same on macOS. Also happens with VSCode.

    As a user,
    I'd expect 1Password to be started when then the socket isn't running,
    So that it prompts me for the password.

  • floris_1P's avatar
    floris_1P
    Icon for 1Password Team rank1Password Team

    On macOS there is a setting to automatically start 1Password in the background when logging in:

    On Linux, that setting doesn't exist yet, so would currently require a manual additional as startup application/login item, e.g. using Startup Applications on Ubuntu, or systemd, depending on the Linux flavor.

    We're looking into ways to improve this or at least better document it.