Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problems signing git commits using GPG Keys with Dreamweaver - commit fails

Explorer ,
May 10, 2018 May 10, 2018

Hi,

I am using git as my versioning system within Dreamweaver and also my code is pushed up to GiHub.  I am doing this using the Dreamweaver built in git support but I cant find a way to sign my commits with my GPG key.

Also, when trying to commit from the git panel within Dreamweaver, I get the following error:

"Git Commit Failed -

Error: fatal: cannot run gpg:  No such file or directory

error: gpg failed to sign the data

fatal: failed to write commit object"

Screen Shot 2018-05-11 at 06.43.37.png

However, if I open the Terminal (I can do this either by manually opening Terminal and navigating to the git repo or by clicking the Terminal button from the git panel in Dreamweaver) and manually run the command to sign my commit

Screen Shot 2018-05-11 at 06.47.34.png

the commit goes through perfectly fine and is correctly signed.  The proof of this is in the screenshots below:

Screen Shot 2018-05-11 at 06.48.25.png

and you can now see that my commit has been signed correctly

Screen Shot 2018-05-11 at 06.54.07.png

and on GitHub we see that the commit has been verified

Screen Shot 2018-05-11 at 06.55.58.png

Having just proven that I have my GPG keys set up correctly and that they ARE working, why does the commit fail if I try to do it using the commit button on the git panel inside of dreamweaver?  Is there a way that I can fix this?

Cheers

Jay

2.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 23, 2018 May 23, 2018

Hi jaygtel​,

Could you please try below steps :

1. Open terminal/git bash from git panel in dreamweaver.

2. Type "gpg --list-keys" to list your keys.

3. Press Enter. This will list your keys.

4. Type git config user.signingkey "Your Signing Key".

5. Press Enter

6. Try committing your file from Dreamweaver.

Though the commit will work, but it will not be signed with your GPG key untill you do it through command line.

Dreamweaver build in git support does not offer signing your commits with the GPG key.

Ple

...
Translate
Adobe Employee ,
May 14, 2018 May 14, 2018

I am checking with the team. Will get back as soon as I hear from them.

Thanks,

Preran

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 23, 2018 May 23, 2018
LATEST

Hi jaygtel​,

Could you please try below steps :

1. Open terminal/git bash from git panel in dreamweaver.

2. Type "gpg --list-keys" to list your keys.

3. Press Enter. This will list your keys.

4. Type git config user.signingkey "Your Signing Key".

5. Press Enter

6. Try committing your file from Dreamweaver.

Though the commit will work, but it will not be signed with your GPG key untill you do it through command line.

Dreamweaver build in git support does not offer signing your commits with the GPG key.

Please let us know, if you still face issue in committing your file.

Thanks and Regards

Ayush Rathi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines