# Trouble signing commits with SSH keys

**URL:** <https://forum.gitea.com/t/trouble-signing-commits-with-ssh-keys/5978>\
**Category:** Install/Maintain/Configure\
**Created:** [October 2, 2022, 4:03pm UTC](https://forum.gitea.com/t/trouble-signing-commits-with-ssh-keys/5978 "2022-10-02T16:03:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlaym](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/phlaym/32/3056_2.png) [@phlaym](https://forum.gitea.com/u/phlaym)\
**Post date:** [October 2, 2022, 4:03pm UTC](https://forum.gitea.com/t/trouble-signing-commits-with-ssh-keys/5978/1 "2022-10-02T16:03:16Z")

</div>

Gitea 1.16.0 added support for signing commits using an SSH key. Unfortunately, I can’t get gitea (I’m runing ersion 1.17.2) to verify my signature:

![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/5/53c552b05aa6c4338b7542cc3442d6cc09ecb30e.png)  
I have added my signature to Settings → SSH/GPG KEys already

Am I missing something?

---

<div class="post-metadata">

**Author:** ![dmorawetz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/dmorawetz/32/3519_2.png) [@dmorawetz](https://forum.gitea.com/u/dmorawetz)\
**Post date:** [March 16, 2023, 3:53pm UTC](https://forum.gitea.com/t/trouble-signing-commits-with-ssh-keys/5978/2 "2023-03-16T15:53:30Z")

</div>

I had the same issue. Verifying the key by signing a string from gitea in Settings → SSH/GPG Keys fixed it. Now the signature is displayed as valid.
