Problem
edDSA ssh key won’t work after reinstalling the Git Integration for Jira app.
Diagnosis
The Git Integration for Jira app (GIJ) natively supports repositories connection over SSH using edDSA format. However, reinstalling the app will raise a WARN error in logs:
- Disable GIJ app in Manage apps
- Uninstall GIJ app in Manage apps
- Install the same GIJ app version
- Do a reindex of the same SSH repository
- Error in the logs is seen. See below.
Error:
2022-09-29 12:10:42,687+0000 sshd-JGitSshClient[7e4b4a97]-nio2-thread-2
WARN admin 730x8551x1 rqwibt 172.17.9.3,192.168.32.1,192.168.32.7
/rest/gitplugin/1.0/wizard/validate.json
[o.a.s.client.session.ClientConnectionService]
globalRequest(ClientConnectionService[JGitClientSession[[email protected]/140.82.121.4:22]])[[email protected], want-reply=false]
failed (SshException) to process: class configured for KeyFactory
(provider: EdDSA) cannot be found.
Solution
- Modify security providers:
sudo nano $JAVA_HOME/jre/lib/security/java.security
- Add the following security provider:
security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider
- In case of Jira 9.12 or earlier:
copybcprov-jdk15on-1.54.jar
to:$JAVA_HOME/jre/lib/ext/bcprov-jdk15on-1.54.jar
- In case of Jira 9.13 or newer” + “Java 8”:
copybcprov-lts8on-2.73.3.jar
to:$JAVA_HOME/jre/lib/ext/bcprov-lts8on-2.73.3.jar
- Restart Jira.
If you still have a question – reach out to our Support Desk or email us at [email protected].
More articles about troubleshooting, workarounds and solutions
Why I am getting the error, “git-upload-pack not permitted”?
Cannot auto-deploy some tracked repositories: Specified origin is incorrect or not supported
Connection Reset when Accessing the Database
“Dangerous use of multiple connections” error on local database
Duplicate entry 0 for key PRIMARY exceptions in log
Error while reindexing – Java heap space / Object too large, rejecting the pack
Error creating git branches and also using NFS
Fix performance issues for nested cloned repositories with enabled Git Service Permissions mode
Fixing reindex issues using Indexing Queue Viewer
Gitolite integration: Why the Git integration app not see the master branch?
Health Check: Database Collation
Indexing error – Too many open files
Installation fails when installing manually
Jira index error: IndexNotFoundException: no segments* file found
Malformed input or input contains unmappable characters
Personal access token failing Azure DevOps integration with Not Authorized error
Problems with shared home on Azure Storage
Pull request index error: org.json.JSONException
Repositories missing from Azure DevOps integration
“Service proxy has been destroyed” exceptions in log
SQLException ‘Incorrect string value’ in merge requests
SSH key file format is invalid
TFS – Not authorized exception when Jira works thru proxy
Unexpected exception parsing XML document from URL error in log
Why don’t I see the Create Branch or Pull Request features?
Your token has not been granted the required scopes
edDSA provider not supported WARN in logs (this page)