GPG signing not working in Oxygen Git Connector?
Oxygen general issues.
-
- Posts: 4
- Joined: Thu Dec 29, 2022 11:31 pm
GPG signing not working in Oxygen Git Connector?
Post by sabinebennett »
Does the Oxygen Git Connector support GPG signing? I have GPG configured on my machine (MacbookPro) and GPG is set up in my Github account. But when I try to commit changes via the Oxygen Git Connector, I get an error message saying that the GPG service isn't running. The commit only works if I set gpgsign="false" in the git config file. The GPG signing works with other Git clients, like Sourcetree for example.
Am I missing some config setting in the Oxygen Git Connector?
Am I missing some config setting in the Oxygen Git Connector?
-
- Posts: 1011
- Joined: Wed Nov 16, 2005 11:11 am
Re: GPG signing not working in Oxygen Git Connector?
Post by alex_jitianu »
Hi,
It appears as though we are missing a required library. I will register an issue for the next release, but meanwhile you can add the library yourself:
- download the GPG support for JGit based on BouncyCastle library
- in Oxygen, go to Options->Preferences... on page Plugins and select the Git Client and copy the Location path
- open the Location path in an explorer and go in the lib folder
- copy in the lib folder the jar downloaded at the first step
Restart Oxygen and give it a try. Please let me know how it goes.
Best regards,
Alex
It appears as though we are missing a required library. I will register an issue for the next release, but meanwhile you can add the library yourself:
- download the GPG support for JGit based on BouncyCastle library
- in Oxygen, go to Options->Preferences... on page Plugins and select the Git Client and copy the Location path
- open the Location path in an explorer and go in the lib folder
- copy in the lib folder the jar downloaded at the first step
Restart Oxygen and give it a try. Please let me know how it goes.
Best regards,
Alex
-
- Posts: 4
- Joined: Thu Dec 29, 2022 11:31 pm
Re: GPG signing not working in Oxygen Git Connector?
Post by sabinebennett »
Hi Alex,
Happy New Year, and thanks for the quick reply. I tried what you suggested, but it didn't work. I still get an error message saying "Commit failed. Signing service is not available." The commit still only works if I set gpgsign = false in the git config file.
Best regards,
Sabine
Happy New Year, and thanks for the quick reply. I tried what you suggested, but it didn't work. I still get an error message saying "Commit failed. Signing service is not available." The commit still only works if I set gpgsign = false in the git config file.
Best regards,
Sabine
-
- Posts: 1011
- Joined: Wed Nov 16, 2005 11:11 am
Re: GPG signing not working in Oxygen Git Connector?
Post by alex_jitianu »
Hi Sabine,
I was so sure I didn't test it myself, but you are right, of course. I tried to add the library myself now with the same result. To fix it, I had to add two more libraries:
- https://repo1.maven.org/maven2/org/boun ... n-1.70.jar
- https://repo1.maven.org/maven2/org/boun ... n-1.70.jar
I don't have a GPG key, so all I got now was the error "no matching secret key found in legacy secring.gpg for key or user id: ....", but this leads me to believe that in your case it will detect the key and it will work. Please give it a try.
Best regards,
Alex
I was so sure I didn't test it myself, but you are right, of course. I tried to add the library myself now with the same result. To fix it, I had to add two more libraries:
- https://repo1.maven.org/maven2/org/boun ... n-1.70.jar
- https://repo1.maven.org/maven2/org/boun ... n-1.70.jar
I don't have a GPG key, so all I got now was the error "no matching secret key found in legacy secring.gpg for key or user id: ....", but this leads me to believe that in your case it will detect the key and it will work. Please give it a try.
Best regards,
Alex
-
- Posts: 4
- Joined: Thu Dec 29, 2022 11:31 pm
Re: GPG signing not working in Oxygen Git Connector?
Post by sabinebennett »
Hi Alex,
I added the two .jar files, like you suggested. Now I don't get an error message, but the commit just hangs. It never actually "commits". So it's unfortunately still not working.
Cheers,
Sabine
I added the two .jar files, like you suggested. Now I don't get an error message, but the commit just hangs. It never actually "commits". So it's unfortunately still not working.
Cheers,
Sabine
-
- Posts: 1011
- Joined: Wed Nov 16, 2005 11:11 am
Re: GPG signing not working in Oxygen Git Connector?
Post by alex_jitianu »
Hi,
I'm sorry to hear that. I'll test it myself and get back to you once I have either reproduced the issue or successfully committed. Either way, I hope we can manage to put this support built-in in the next Git Client release.
Best regards,
Alex
I'm sorry to hear that. I'll test it myself and get back to you once I have either reproduced the issue or successfully committed. Either way, I hope we can manage to put this support built-in in the next Git Client release.
Best regards,
Alex
-
- Posts: 404
- Joined: Mon May 09, 2016 9:37 am
Re: GPG signing not working in Oxygen Git Connector?
Post by sorin_carbunaru »
Hello,
Sorry for the late reply, but the Git Client was not a top priority for us in the last year and a half. Still we managed to find some time to give it a little love, and we were able to add commit signing. If you would be interested in trying it out, I could gladly provide an internal build, as the feature is still not fully tested so it was not released. Just write us at support@oxygenxml.com.
All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
Sorry for the late reply, but the Git Client was not a top priority for us in the last year and a half. Still we managed to find some time to give it a little love, and we were able to add commit signing. If you would be interested in trying it out, I could gladly provide an internal build, as the feature is still not fully tested so it was not released. Just write us at support@oxygenxml.com.
All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service