You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I have some logic related to gpg and this works everywhere, but with plugin
[gpg]
program = /Users/painhardcore/.magicGPG.sh
or
[gpg]
program = ~/gpg
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
git obsidian error: error: gpg failed to sign the data
fatal: failed to write commit object
node:internal/process/task_queues:95 Uncaught (in promise) Error: error: gpg failed to sign the data
fatal: failed to write commit object
at Object.action (plugin:obsidian-git:29441:25)
at PluginStore.exec (plugin:obsidian-git:29466:25)
at eval (plugin:obsidian-git:26971:43)
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (plugin:obsidian-git:26969:16)
at GitExecutorChain.eval (plugin:obsidian-git:26953:44)
at Generator.next (<anonymous>)
at fulfilled (plugin:obsidian-git:25798:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
action @ plugin:obsidian-git:29441
exec @ plugin:obsidian-git:29466
eval @ plugin:obsidian-git:26971
handleTaskData @ plugin:obsidian-git:26969
eval @ plugin:obsidian-git:26953
fulfilled @ plugin:obsidian-git:25798
processTicksAndRejections @ node:internal/process/task_queues:95
### Steps to reproduce
1. Put .sh or ~ in gitconfig
2. Try to commit
### Expected Behavior
When committing - it executes .sh file or gpg with ~ in path
### Addition context
_No response_
### Operating system
macOS
### Installation Method
AppImage
### Plugin version
2.24.1
The text was updated successfully, but these errors were encountered:
painhardcore
changed the title
[Bug]: GPG doesn`t work when program is .sh file
[Bug]: GPG doesn`t work when program is .sh file or with ~/
Mar 26, 2024
Describe the bug
Currently I have some logic related to gpg and this works everywhere, but with plugin
or
Relevant errors (if available) from notifications or console (
CTRL+SHIFT+I
)The text was updated successfully, but these errors were encountered: