Closed mstaicu closed 7 months ago
Weirdly, I've switched to Terminal.app
to see if I can get a better understanding of this. It seems that the application top bar gives more info on what processes run during the TTY session
This is what happens when you clear the screen, nothing
This is what happens when you send an interrupt signal (SIGINT) to zsh
, it runs ssh
Seems that even when doing a ls -a
triggers a ssh
process to run, when inside a git
repository that has a ssh
origin
Does this mean that this is the expected behavior?
This is very likely something specific to your shell setup / prompt, which I’m guessing is pure from the screenshot.
pure has a feature called PURE_GIT_PULL
which checks if the upstream branch is dirty, which would necessarily require a git remote operation (thereby invoking Secretive). Do you have that enabled by any chance?
@xrisk that was also my first reaction here – I'd suspect it's your shell prompt, not the terminal itself. I'd be curious to see if you can reproduce this in Terminal.app
with the same shell setup.
Sorry for the delay, it seems that setting PURE_GIT_PULL=0
does the trick, it no longer checks if the current Git remote has been updated, thus not invoking Secretive. Added it to my .zshenv
and all works now. TIL!
I've setup Secretive as per instructions, added my public keys to Github and enabled commit signing. There's one problem though, or at least I think it is a problem.
The moment I initialise a
git
project locally and I add a remote to that project, every command that I issue in my terminal emulation to my shell, be it a simplels -al
or agit
command, or even clearing the terminal buffer, triggers a notification from Secretive.Is this behavior expected? Does this mean that there are processes that randomly have access to the private key store in the secure enclave?
This doesn't trigger the below notification
This does trigger the above notification
Environment:
Debug
Is this similar to my issue? https://github.com/maxgoedjen/secretive/issues/400 https://github.com/maxgoedjen/secretive/issues/398 https://github.com/maxgoedjen/secretive/issues/389