{"id":2103,"date":"2021-08-27T14:48:51","date_gmt":"2021-08-27T12:48:51","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=2103"},"modified":"2024-04-21T13:07:33","modified_gmt":"2024-04-21T11:07:33","slug":"github-support-for-password-authentication-was-removed-on-august-13-2021","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/zh\/github-support-for-password-authentication-was-removed-on-august-13-2021","title":{"rendered":"GitHub - \u5bf9\u5bc6\u7801\u8eab\u4efd\u9a8c\u8bc1\u7684\u652f\u6301\u4e8e2021\u5e748\u670813\u65e5\u88ab\u5220\u9664\u3002"},"content":{"rendered":"<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2104\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/jeedomgithub.png\" alt=\"\" width=\"780\" height=\"152\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/jeedomgithub.png 780w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/jeedomgithub-600x117.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/jeedomgithub-300x58.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/jeedomgithub-768x150.png 768w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><\/h2>\n<p><em><strong>\u5982\u679c\u4f60\u50cf\u6211\u4e00\u6837\uff0c\u5c06\u4f60\u7684\u5b58\u50a8\u5e93 GitHub \u4e0e\u4f60\u7684 Jeedom \u5f00\u53d1\u540c\u6b65\uff0c\u90a3\u4e48\u4f60\u5728 2021 \u5e74 8 \u6708 13 \u65e5\u4e4b\u540e\u9047\u5230\u4e86\u4e00\u4e2a\u65b0\u7684\u9519\u8bef\u3002<\/strong><\/em><\/p>\n<h2><!--more-->\u9519\u8bef\u6d88\u606f<\/h2>\n<p>\u8fdc\u7a0b \uff1a \u5bf9\u5bc6\u7801\u8eab\u4efd\u9a8c\u8bc1\u7684\u652f\u6301\u4e8e2021\u5e748\u670813\u65e5\u88ab\u5220\u9664\u3002 \u8bf7\u4f7f\u7528\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u3002<br \/>\n\u8fdc\u7a0b \uff1a \u8bf7\u53c2\u89c1 https:\/\/github.blog\/2020-12-15-token-authentication-requirements-for-git-operations\/ \u4e86\u89e3\u66f4\u591a\u4fe1\u606f\u3002<br \/>\n\u81f4\u547d\uff1a \"https:\/\/github.com\/xx\/\"\u7684\u8ba4\u8bc1\u5931\u8d25\u3002<\/p>\n<h2>\u89e3\u91ca \u8bf4\u660e<\/h2>\n<p>\u622a\u81f32021\u5e748\u670813\u65e5\uff0cGithub\u5728GitHub.com\u4e0a\u9a8c\u8bc1Git\u64cd\u4f5c\u65f6\u4e0d\u518d\u63a5\u53d7\u5e10\u6237\u5bc6\u7801\u3002<\/p>\n<p><span class=\"\">\u5b83\u4eec\u9700\u8981\u4f7f\u7528\u57fa\u4e8e\u4ee4\u724c\u7684\u8eab\u4efd\u9a8c\u8bc1\u3002 <\/span><span class=\"\">\u4f5c\u4e3a\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c<\/span><span class=\"\"> \uff08\u5bf9\u4e8e\u5f00\u53d1\u4eba\u5458\uff09\u6216\u7528\u4e8e\u5728 GitHub.com \u4e0a\u9a8c\u8bc1\u7684\u6240\u6709 Git \u64cd\u4f5c\u7684 OAuth \u6216 GitHub App \u5b89\u88c5\u4ee4\u724c\uff08\u7528\u4e8e\u96c6\u6210\u5546\uff09\u3002 <\/span>\u5982\u679c\u4f60\u613f\u610f\uff0c\u4f60\u4e5f\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528SSH\u5bc6\u94a5\u3002<\/p>\n<h2>\u6211\u4eec\u8be5\u5982\u4f55\u6446\u8131\u8fd9\u79cd\u5c40\u9762\uff1f<\/h2>\n<p>\u6211\u6700\u521d\u5c1d\u8bd5\u521b\u5efa\u5728 Github \u4e0a\u914d\u7f6e\u7684\u79c1\u6709\/\u516c\u5171 SSH \u5bc6\u94a5\uff0c\u6240\u6709\u8fd9\u4e00\u5207\u90fd\u88ab\u63a5\u53d7\uff0c\u4f46\u56f0\u96be\u5728\u4e8e SSH \u94fe\u63a5\uff0c\u5b83\u662f\u5728\u4f60\u7684 Jeedom \u548c Github \u4e4b\u95f4\uff0c\u800c\u4e0d\u662f\u4f60\u7684\u8ba1\u7b97\u673a\u548c Jeedom \u4e4b\u95f4\u3002 \u6211\u653e\u5f03\u4e86\u8fd9\u4e2a\u7ebf\u7d22\u3002 \u5982\u679c\u6709\u4eba\u53d1\u73b0\u8fd9\u5c31\u50cf\u5728\u547d\u4ee4\u884c\u4e0a\u5728Jeedom\u548cGithub\u4e4b\u95f4\u5efa\u7acbSSH\u94fe\u63a5\uff0c\u6211\u5c31\u662f\u4fe1\u606f\u7684\u63a5\u53d7\u8005\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u8bd5\u56fe\u627e\u51fa\u4ee4\u724c\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff0c\u5e76\u53d1\u73b0\u4f7f\u7528\u4ee4\u724c\u800c\u4e0d\u662f\u547d\u4ee4\u884c\u4e0a\u7684\u5bc6\u7801Push\u5de5\u4f5c\uff01\uff01\uff01\uff01\uff01\uff01 <em><strong>\u5c24\u91cc\u5361 \u00b7 \u5c24\u91cc\u5361<\/strong> <\/em>!!<\/p>\n<p>\u4e0b\u9762\u662fmanip\uff1a<\/p>\n<h2>\u751f\u6210\u8bbf\u95ee\u4ee4\u724c<\/h2>\n<p>\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u662f\u4f7f\u7528 GitHub API \u6216 . \u547d\u4ee4\u884c\u65f6\u4f7f\u7528\u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u7684\u66ff\u4ee3\u65b9\u6848\u3002<\/p>\n<p>\u4f5c\u4e3a\u5b89\u5168\u63aa\u65bd\uff0cGitHub \u4f1a\u81ea\u52a8\u5220\u9664\u4e00\u5e74\u5185\u672a\u4f7f\u7528\u7684\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u3002 \u4e3a\u4e86\u63d0\u4f9b\u989d\u5916\u7684\u5b89\u5168\u6027\uff0cGitHub\u5f3a\u70c8\u5efa\u8bae\u5728\u60a8\u7684\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u4e2d\u6dfb\u52a0\u6709\u6548\u671f\uff08\u6211\u4e0d\u8fd9\u6837\u505a\uff09\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/docs-github-com.translate.goog\/en\/github\/getting-started-with-github\/verifying-your-email-address?_x_tr_sl=en&amp;_x_tr_tl=fr&amp;_x_tr_hl=fr&amp;_x_tr_pto=ajax,elem\">\u68c0\u67e5\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740<\/a> , \u5982\u679c\u5b83\u8fd8\u6ca1\u6709\u88ab\u8bc1\u5b9e\u7684\u8bdd\u3002<\/li>\n<li><span class=\"\">\u5728\u4efb\u4f55\u9875\u9762\u7684\u53f3\u4e0a\u89d2\uff0c\u5355\u51fb\u60a8\u7684\u4e2a\u4eba\u8d44\u6599\u56fe\u7247\uff0c\u7136\u540e\u6253\u5f00 <\/span><strong><span class=\"\">\u8bbe\u7f6e<\/span><\/strong><span class=\"\">.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2105\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/github1.png\" alt=\"\" width=\"220\" height=\"510\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/github1.png 220w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/github1-129x300.png 129w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/p>\n<ul>\n<li><span class=\"\">\u5728\u5de6\u4fa7\u8fb9\u680f\u4e2d\uff0c\u70b9\u51fb <strong>\u5f00\u53d1\u8005\u8bbe\u7f6e<\/strong><br \/>\n<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2106\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-27-02-Build-software-better-together.png\" alt=\"\" width=\"248\" height=\"428\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-27-02-Build-software-better-together.png 248w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-27-02-Build-software-better-together-174x300.png 174w\" sizes=\"auto, (max-width: 248px) 100vw, 248px\" \/><\/p>\n<p>\u7136\u540e <strong>\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2107\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-27-47-Build-software-better-together.png\" alt=\"\" width=\"248\" height=\"133\" \/><\/p>\n<ul>\n<li><span class=\"\">\u70b9\u51fb \u70b9\u51fb <\/span><strong><span class=\"\">\u751f\u6210\u65b0\u4ee4\u724c<\/span><\/strong><span class=\"procedural-image-wrapper\"><img decoding=\"async\" src=\"https:\/\/docs.github.com\/assets\/images\/help\/settings\/generate_new_token.png\" alt=\"\u751f\u6210\u65b0\u7684\u4ee4\u724c\u6309\u94ae\" \/><\/span><\/li>\n<li>\u7ed9\u4f60\u4e00\u4e2a\u63cf\u8ff0\u6027\u7684\u540d\u5b57\u3002<\/li>\n<li>\u7ed9\u60a8\u7684\u4ee4\u724c\u5206\u914d\u4e00\u4e2a\u8fc7\u671f\u65e5\u671f\u3002<\/li>\n<li>\u9009\u62e9\u60a8\u8981\u6388\u4e88\u6b64\u4ee4\u724c\u7684\u4f5c\u7528\u57df\u6216\u6743\u9650\u3002 \u8981\u4f7f\u7528\u60a8\u7684\u4ee4\u724c\u4ece\u547d\u4ee4\u884c\u8bbf\u95ee\u5b58\u50a8\u5e93\uff0c\u9009\u62e9 <strong>Repo \u7684<\/strong> .<span class=\"procedural-image-wrapper\"><img decoding=\"async\" src=\"https:\/\/docs.github.com\/assets\/images\/help\/settings\/token_scopes.gif\" alt=\"\u9009\u62e9Token Ranges\" \/><\/span><\/li>\n<li>\u70b9\u51fb \u70b9\u51fb <strong>\u751f\u6210 \u751f\u6210<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2108\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-30-25-Build-software-better-together.png\" alt=\"\" width=\"784\" height=\"293\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-30-25-Build-software-better-together.png 784w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-30-25-Build-software-better-together-600x224.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-30-25-Build-software-better-together-300x112.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-30-25-Build-software-better-together-768x287.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/p>\n<h2>\u68c0\u7d22 Access Token<\/h2>\n<p>\u5728\u4e00\u4ee3\u7ed3\u675f\u65f6\uff0cGithug \u63d0\u4f9b\u4e86\u8bbf\u95ee\u4ee4\u724c\uff0c\u5982\u679c\u60a8\u672a\u80fd\u5728\u6b63\u786e\u7684\u65f6\u95f4\u590d\u5236\u5b83\uff0c\u5219\u53ef\u4ee5\u751f\u6210\u53e6\u4e00\u4e2a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2109\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-32-55-Build-software-better-together.png\" alt=\"\" width=\"749\" height=\"119\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-32-55-Build-software-better-together.png 749w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-32-55-Build-software-better-together-600x95.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-27-at-14-32-55-Build-software-better-together-300x48.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<h2>\u4f7f\u7528 Access Token<\/h2>\n<p>\u5b83\u975e\u5e38\u7b80\u5355\uff0c\u5b83\u88ab\u4f7f\u7528\u800c\u4e0d\u662f\u5bc6\u7801\uff08\u767b\u5f55\u6ca1\u6709\u66f4\u6539\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2110\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/github2.png\" alt=\"\" width=\"546\" height=\"38\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/github2.png 546w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/08\/github2-300x21.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/p>\n<h2>\u4fe1\u606f \u5956\u91d1<\/h2>\n<p>\u4e3a\u4e86\u907f\u514d\u4e0d\u5f97\u4e0d\u4e0d\u65ad\u91cd\u5199\u5bc6\u7801\uff0c\u4ee5\u4e0b\u662f\u60a8\u53ef\u4ee5\u5728 MobaXtrem \u811a\u672c\u4e2d\u5305\u542b\u7684\u4e24\u4e2a\u547d\u4ee4\uff1a<\/p>\n<ul>\n<li><code>Git \u914d\u7f6e Credential.helper \u5546\u5e97<\/code> \u65e0\u9650\u671f\u5730\u5b58\u50a8\u51ed\u8bc1\u3002<\/li>\n<li><code>Git \u914d\u7f6e credential.helper 'cache --timeout=3600'<\/code>\u5546\u5e9760\u5206\u949f<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u50cf\u6211\u4e00\u6837\uff0c\u5c06\u4f60\u7684\u5b58\u50a8\u5e93 GitHub \u4e0e\u4f60\u7684 Jeedom \u5f00\u53d1\u540c\u6b65\uff0c\u90a3\u4e48\u4f60\u5728 2021 \u5e74 8 \u6708 13 \u65e5\u4e4b\u540e\u9047\u5230\u4e86\u4e00\u4e2a\u65b0\u7684\u9519\u8bef\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[23],"tags":[81,100],"class_list":["post-2103","post","type-post","status-publish","format-standard","hentry","category-jeedom-2","tag-developpement","tag-github"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/posts\/2103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/comments?post=2103"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/posts\/2103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/media?parent=2103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/categories?post=2103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/zh\/wp-json\/wp\/v2\/tags?post=2103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}