# التوقيع في git باستخدام مفاتيح SSH

**URL:** <https://discourse.aosus.org/t/topic/2680>\
**Category:** البرمجة\
**Tags:** github, git\
**Created:** [24 ديسمبر 2022، 1:16م UTC](https://discourse.aosus.org/t/topic/2680 "2022-12-24T13:16:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zer0-x](https://discourse.aosus.org/letter_avatar_proxy/v4/letter/z/e19adc/32.png) [@zer0-x](https://discourse.aosus.org/u/zer0-x)\
**Post date:** [24 ديسمبر 2022، 1:16م UTC](https://discourse.aosus.org/t/topic/2680/1 "2022-12-24T13:16:52Z")

</div>

لفترة كانت الطريقة الوحيدة للتوقيع وإثبات الهويَّة في [git](https://ar.wikipedia.org/wiki/%D8%AC%D8%AA_(%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D8%AC)) هي استخدام مفاتيح [gpg](https://ar.wikipedia.org/wiki/%D8%AC%D9%86%D9%88_%D8%A8%D8%B1%D8%A7%D9%8A%D9%81%D8%B3%D9%8A_%D8%AC%D8%A7%D8%B1%D8%AF)، وهي طريقة تضيف بعض التعقيدات للمستخدم من حيث لزوم اهتمامه لعدد من المفاتيح مختلفة الصِيَغ والغرض لاستخدام git، مما يرافقه فك تشفيرهم في كل مرة والمحافظة عليهم وتجديدهم.

مؤخرًا [بدأت git](https://github.blog/2021-11-15-highlights-from-git-2-34/#tidbits) بدعم مفاتيح SSH للتوقيع مما سهل الأمر، فالآن يمكنك الاعتماد على المفاتح المُستخدم للاتصال بخادم git للتوقيع أيضًا.  
تلا ذلك دعم واجهة [GitLab](https://about.gitlab.com/releases/2022/12/22/gitlab-15-7-released/#sign-commits-with-your-ssh-key) و[GitHub](https://github.blog/changelog/2022-08-23-ssh-commit-verification-now-supported/) لهذه الميزة.

للتعرف على طريقة الاستفادة منها يمكنك الاطلاع على وثائق GitLab:  
[https://docs.gitlab.com/ee/user/project/repository/ssh\_signed\_commits/](https://docs.gitlab.com/ee/user/project/repository/ssh_signed_commits/)
