Skip to content

SSH Signing commits does not work #9394

@draganbjedov

Description

@draganbjedov

Apache NetBeans version

Apache NetBeans 29

What happened

I have setup signing git commits with ssh, but I have same issue if I choose gpg.

[user]
	name = Dragan Bjedov
	email = draganbjedov@gmail.com
	signingkey = C:\\Users\\dragan\\.ssh\\id_ed25519
[gpg]
	format = ssh
[commit]
	gpgsign = true

When I try to commit changes error appears:

org.eclipse.jgit.api.errors.UnsupportedSigningFormatException: 
No signer for ssh signatures. 
Use another signature type for git config gpg.format, or do not sign.

Commit from terminal works fine.

Same issue is visible on Windows and Linux.

I checked and jgit supports signing with ssh or gpg: eclipse-jgit/jgit#44

Language / Project Type / NetBeans Component

No response

How to reproduce

Enable signing commits as show above and try to commit from NetBeans.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows, Linux Mint

JDK

JDK 25

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    git[ci] enable versioning jobkind:featureA feature request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions