Skip to content

[Bug]: Plugin unable to find git-crypt on Apple Silicon #250

Closed
@protoz

Description

@protoz

Describe the bug

I recently started using an M1 Mac which has a different path for homebrew of /opt/homebrew/bin which is accessible in my terminal (Both bash and zsh). I can, from terminal, interact with the encrypted vault repo without issue so I'm thinking there may be an issue at the Obsidian plugin level.

Relevant errors (if available)

"git-crypt" clean: git-crypt: command not found
error: external filter "git-crypt" clean: failed 127
error: external filter "git-crypt" clean: failed
fatal: .obsidian/community-plugins.json: clean filter 'git-crypt' failed

Steps to reproduce

Create vault
Encrypt with git-crypt following this guide : https://renerocks.ai/blog/obsidian-encrypted-github-android/

Install obsidian git plugin
When pulling/pushing the error appears and the plugin isn't detecting the current branch.

Expected Behavior

Like on Windows and Intel Mac, it just works as intended in the tutorial.

Addition context

This failed on 1.25.6 as well so it may just be something unreported yet.

Operating system

macOS

Plugin version

1.26.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions