<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/OiRT0Zg6D" -->

---
title: Why you should sign your commits with gpg. | daily.dev
description: This post discusses the importance of signing commits with GPG and how it helps to verify the authenticity of commits on platforms like Github.
canonical: https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why you should sign your commits with gpg. | daily.dev
og:description: This post discusses the importance of signing commits with GPG and how it helps to verify the authenticity of commits on platforms like Github.
og:url: https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d
og:image: https://api.daily.dev/og/posts/OiRT0Zg6D.png
og:image:alt: Why you should sign your commits with gpg.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why you should sign your commits with gpg.

**[Community Picks](https://daily.dev/sources/community)** · [@is_it_ayush](https://daily.dev/is_it_ayush) · 4 min read · 21 upvotes · 13 comments

## Summary

This post discusses the importance of signing commits with GPG and how it helps to verify the authenticity of commits on platforms like Github.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.isitayush.dev/blog/gpg-and-singing-commits>

## Community discussion

Top comments from developers on daily.dev.

**@the\_r4v3n** · 2 upvotes

> Thanks for this great article

**@kkurko** · 2 upvotes

> Great article - would like to see the difference between GPG and SSH signing

**@kkurko** · 2 upvotes

> @is_it_ayush I just want to appreciate your effort on working on your personal website – I really like this clean design and the home page idea is great! 🔥
>
> Some feedback that, I think, can make your website even better: your back button works similar to the browser’s back button and that’s fine if you have some other ways to return to the home page. But right now, the back button is the only navigation element on some pages, so users cannot really open the home page from, for example, the blog page if they open it directly. It means they need to edit the URL manually if they want to see...

**@peternl** · 1 upvotes

> Nice one!

**@richardevcom** · 1 upvotes

> Another great article, Ayush.

---

Tags: [#security](https://daily.dev/tags/security), [#github](https://daily.dev/tags/github), [#encryption](https://daily.dev/tags/encryption)

[View this post on daily.dev](https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Why you should sign your commits with gpg.","url":"https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d"},"datePublished":"2023-03-12T09:29:46.011Z","dateModified":"2024-04-15T14:00:13.800Z","description":"This post discusses the importance of signing commits with GPG and how it helps to verify the authenticity of commits on platforms like Github.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/152fc98ade8e88c49845aaa27209cc9f?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/152fc98ade8e88c49845aaa27209cc9f?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Ayush","url":"https://daily.dev/is_it_ayush","image":"https://lh3.googleusercontent.com/a/AGNmyxasW9iN0Qs5IILP1vggVlLJoYLQSpTaaOU5Mif6ovA=s96-c","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":540}},"commentCount":13,"discussionUrl":"https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":21},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":13}],"keywords":"security,github,encryption","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Why you should sign your commits with gpg."}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/why-you-should-sign-your-commits-with-gpg--oirt0zg6d","comment":[{"@type":"Comment","text":"Thanks for this great article","datePublished":"2023-03-12T10:22:25.515Z","url":"https://daily.dev/posts/OiRT0Zg6D#c-nPAsXheZE","author":{"@type":"Person","name":"The- R4V3N","url":"https://daily.dev/the_r4v3n","image":"https://avatars.githubusercontent.com/u/18666373?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Great article - would like to see the difference between GPG and SSH signing","datePublished":"2023-03-13T04:30:43.281Z","url":"https://daily.dev/posts/OiRT0Zg6D#c-GgzHQBzQ3","author":{"@type":"Person","name":"Kirill Kurko","url":"https://daily.dev/kkurko","image":"https://avatars.githubusercontent.com/u/58859242?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"@is_it_ayush I just want to appreciate your effort on working on your personal website – I really like this clean design and the home page idea is great! 🔥\nSome feedback that, I think, can make your website even better: your back button works similar to the browser’s back button and that’s fine if you have some other ways to return to the home page. But right now, the back button is the only navigation element on some pages, so users cannot really open the home page from, for example, the blog page if they open it directly. It means they need to edit the URL manually if they want to see some other pages. How to improve – there is something like the logo on the top left that can be turned into a button that will always lead to the home page. It should solve the problem (and that’s a common pattern, so users will expect it to be clickable).\nAnyway, great job – looking forward to seeing your website evolving, and definitely will read more articles from you! 🚀","datePublished":"2023-03-13T19:34:41.889Z","dateModified":"2023-03-13T19:36:02.892Z","url":"https://daily.dev/posts/OiRT0Zg6D#c-xLgZttZIN","author":{"@type":"Person","name":"Kirill Kurko","url":"https://daily.dev/kkurko","image":"https://avatars.githubusercontent.com/u/58859242?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Nice one!","datePublished":"2023-03-13T21:50:00.559Z","url":"https://daily.dev/posts/OiRT0Zg6D#c-IkIibNtPy","author":{"@type":"Person","name":"Peter Goudkamp","url":"https://daily.dev/peternl","image":"https://lh3.googleusercontent.com/a-/AOh14Gj3YfzF6WyaPh7pYwo4fu0TECmFVgpGvK7n0W55gw=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Another great article, Ayush.","datePublished":"2023-03-12T09:30:41.111Z","url":"https://daily.dev/posts/OiRT0Zg6D#c-VofWK32c6","author":{"@type":"Person","name":"richardevcom","url":"https://daily.dev/richardevcom","image":"https://avatars.githubusercontent.com/u/17192512?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

