Skip to content

Failed to sign SSH on Windows #6082

Closed
@Gokujo

Description

@Gokujo

Version

0.14.6

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

I have the same problem as described in #6013

Image

and as error I get this

Cannot open C:UsersMaximAppDataLocalTemp.tmpkWZqVX for signing: No such file or directory

I tried even through terminal

git config --global user.signingkey "C:\Users\Maxim\.ssh\id_ed25519.pub"
git config --global gpg.format ssh
git config --global gitbutler.signCommits true

How to reproduce (Optional)

  1. Open Gitbutler & Navigate to the Git settings of a Project
  2. Select to Sign commits & configure for SSH signing with a valid key & signing program empty (default)
  3. Click Test Signing

Relevant log output (Optional)

userService.BBMm1TBE.js:17 
 Error checking signing: s: Failed to sign SSH:  Cannot open C:UsersMaximAppDataLocalTemp.tmpkWZqVX for signing: No such file or directory

    at s.fromError (http://tauri.localhost/_app/immutable/chunks/ipc.BXwWcGhi.js:1:1095)
    at p (http://tauri.localhost/_app/immutable/chunks/ipc.BXwWcGhi.js:1:1299)
    at async Object.h [as onclick] (http://tauri.localhost/_app/immutable/nodes/27.BwNvshWK.js:10:818)
2025-01-25T10:55:13.754702Z  INFO check_signing_settings: crates\gitbutler-tauri\src\repo.rs:39: new id=ad6a2574-5f43-48db-8013-413bd9c62cc9
2025-01-25T10:55:13.823615Z ERROR check_signing_settings: crates\gitbutler-tauri\src\repo.rs:39: error=Error(Failed to sign SSH:  Cannot open C:UsersMaximAppDataLocalTemp.tmpysIlt5 for signing: No such file or directory
) id=ad6a2574-5f43-48db-8013-413bd9c62cc9
2025-01-25T10:55:13.823638Z  INFO check_signing_settings: crates\gitbutler-tauri\src\repo.rs:39: close time.busy=68.9ms time.idle=15.8µs id=ad6a2574-5f43-48db-8013-413bd9c62cc9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions