Replies: 1 comment 1 reply
-
I'm not very familiar with systemd so I might not be able to help with specific questions there, but your hypothesis sounds right to me. The credential cache works by delegating the credential flow to the cache binary (including the interactive login flow) which stores the cert in memory for its lifetime (10 mins) for signing operations. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've set up gitsign with gitsign-credentials-cache on Fedora via Home Manager. When I try to make a commit, the commit commands hangs for a long while. The systemd log for cache unit show the following:
After that the git command stops hanging and opens the browser. It logs the following:
When I do another commit right after that, reusing the cached credentials works. The systemd user unit logs
But it only lasts for a while and then when I make a commit it starts all over again with
git commit
hanging.I think there's some important piece missing. To me it looks like the systemd unit is unable to make the browser pop up. So it just hangs an nothing happens. Eventually it times out and then gitsign running in the foreground I'm trying to make the commit takes over opening the browser, which seems to work.
Appreciate any pointers!
Beta Was this translation helpful? Give feedback.
All reactions