Preflight
What happened?
Describe the bug
The built-in Git synchronization in OpenKnowledge fails
to push/pull/sync when SSH keys are managed and provided
by an external SSH agent (such as the Proton Pass SSH
agent or 1Password SSH agent).
It seems the built-in Git integration does not fully
respect or forward the SSH_AUTH_SOCK environment
variable to authenticate git actions, causing
connection/permission errors when interacting with remote
repositories.
### Expected behavior
OpenKnowledge should respect and forward the standard
SSH_AUTH_SOCK environment variable to its underlying
git runner so that authentication via active SSH agents
works out-of-the-box.
### Environment
- OS: macOS
- OpenKnowledge version: 0.32.0 (based on project
state)
Steps to reproduce
1. Configure an external SSH agent (e.g., Proton Pass)
and verify that CLI-based git commands (like git push)
work normally in the system terminal.
2. Open an OpenKnowledge workspace backed by a Git
repository with an SSH remote.
3. Attempt to trigger a sync, edit, or check history.
The operation fails or times out because it cannot access
the SSH keys via the agent.
Platform
macOS (Apple Silicon)
How did you install OpenKnowledge?
Desktop app (DMG)
Version
0.32.0
Logs, errors, or screenshots
Preflight
What happened?
Describe the bug
to push/pull/sync when SSH keys are managed and provided
by an external SSH agent (such as the Proton Pass SSH
agent or 1Password SSH agent).
respect or forward the
SSH_AUTH_SOCKenvironmentvariable to authenticate git actions, causing
connection/permission errors when interacting with remote
repositories.
SSH_AUTH_SOCKenvironment variable to its underlyinggit runner so that authentication via active SSH agents
works out-of-the-box.
state)
Steps to reproduce
and verify that CLI-based git commands (like
git push)work normally in the system terminal.
2. Open an OpenKnowledge workspace backed by a Git
repository with an SSH remote.
3. Attempt to trigger a sync, edit, or check history.
The operation fails or times out because it cannot access
the SSH keys via the agent.
Platform
macOS (Apple Silicon)
How did you install OpenKnowledge?
Desktop app (DMG)
Version
0.32.0
Logs, errors, or screenshots