{"id":20451,"date":"2021-02-23T08:56:55","date_gmt":"2021-02-23T08:56:55","guid":{"rendered":"http:\/\/www.devopsschool.com\/blog\/?p=20451"},"modified":"2021-10-28T10:18:03","modified_gmt":"2021-10-28T10:18:03","slug":"deep-dive-into-git-internal-with-sha1-and-hash","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/deep-dive-into-git-internal-with-sha1-and-hash\/","title":{"rendered":"Deep Dive into Git Internal with SHA1 and Hash"},"content":{"rendered":"\n<p><strong>Questions<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What is SHA1?<\/li><li>What if 2 hash collision while using git?<\/li><li>Process of sign a commit or tag in git?<\/li><li>Why sing a commit or tag is required?<\/li><li>How Sign a commit\/tag works?<\/li><li>What are the methods to sign a commit or tag?<\/li><\/ul>\n\n\n\n<p><strong>Reference<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/stackoverflow.com\/questions\/10434326\/hash-collision-in-git<\/li><li>https:\/\/github.blog\/2017-03-20-sha-1-collision-detection-on-github-com\/<\/li><li>https:\/\/stackoverflow.com\/questions\/9392365\/how-would-git-handle-a-sha-1-collision-on-a-blob<\/li><li>https:\/\/github.blog\/2017-03-20-sha-1-collision-detection-on-github-com\/<\/li><li>https:\/\/stackoverflow.com\/questions\/9392365\/how-would-git-handle-a-sha-1-collision-on-a-blob\/9392525#9392525<\/li><li>https:\/\/stackoverflow.com\/questions\/9392365\/how-would-git-handle-a-sha-1-collision-on-a-blob\/9392525#9392525<\/li><li>https:\/\/stackoverflow.com\/questions\/10434326\/hash-collision-in-git<\/li><li>https:\/\/git-scm.com\/book\/en\/v2\/Git-Internals-Git-References<\/li><li>https:\/\/git-scm.com\/book\/en\/v2<\/li><li>https:\/\/github.com\/progit\/progit2\/releases\/download\/2.1.146\/progit.pdf<\/li><li>https:\/\/git-scm.com\/book\/en\/v2<\/li><li>https:\/\/diego.assencio.com\/?index=eacd6eedf46c9dd596a5f12221ad15b8<\/li><li>https:\/\/stackoverflow.com\/questions\/9392365\/how-would-git-handle-a-sha-1-collision-on-a-blob<\/li><li>https:\/\/security.googleblog.com\/2017\/02\/announcing-first-sha1-collision.html<\/li><li>https:\/\/security.googleblog.com\/2017\/02\/announcing-first-sha1-collision.html<\/li><li>http:\/\/rogerdudler.github.io\/git-guide\/<\/li><li>https:\/\/matthew-brett.github.io\/curious-git\/index.html<\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_12430\"><iframe loading=\"lazy\"  id=\"_ytid_89878\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_12430\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Questions What is SHA1? What if 2 hash collision while using git? Process of sign a commit or tag in git? Why sing a commit or tag is required? How&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-20451","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/20451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=20451"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/20451\/revisions"}],"predecessor-version":[{"id":24483,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/20451\/revisions\/24483"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=20451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=20451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=20451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}