Push signed

Hi,

Does GitHub support signed push?

I am getting this error message:

 $ git push --signed=true
 Username for 'https://github.com': user
 Password for 'https://user@github.com':
 fatal: the receiving end does not support --signed push
 fatal: The remote end hung up unexpectedly
 error: failed to push some refs to 'https://github.com/user/repo.git'

Hi @lazize,

GitHub does support GPG signed commits. For more information, please see the GitHub help article, Signing commits using GPG.

Thanks!

Hi,

Yes, it supports signed commit, it means the example below works fine.

Please not that only commit is signed.

git commit -S -m "message"
git push

But I am asking about signed push, not only signed commit.

Note that on example below both, commit ans push, are signed and it fails with the error message I post.

git commit -S -m "message"
git push --signed=true

No, GitHub does not currently support GPG signed pushes, only signed commits.