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
After a successful ssh-keygen invocation, Git should clean up both temp files. However, only the signing buffer file gets properly deleted, but the the signing key file remains.
It's reasonable to think that the signing key file is intentionally kept and reused for consecutive integrations, but that doesn't happen either. A new signing key file is created for each git commit command and never cleaned up by Git:
When signing a Git commit with an SSH key, Git creates two temp files:
.git_signing_key_tmpXXXXXX
containing the public key that should be used for signing.git_signing_buffer_tmpXXXXXX
containing the payload that needs to be signedAfter a successful
ssh-keygen
invocation, Git should clean up both temp files. However, only the signing buffer file gets properly deleted, but the the signing key file remains.It's reasonable to think that the signing key file is intentionally kept and reused for consecutive integrations, but that doesn't happen either. A new signing key file is created for each
git commit
command and never cleaned up by Git:Gitconfig
Git trace
Git version
git version 2.48.1.windows.1
The text was updated successfully, but these errors were encountered: