<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Andy Yao on Medium]]></title>
        <description><![CDATA[Stories by Andy Yao on Medium]]></description>
        <link>https://medium.com/@yaoandy107?source=rss-551d543e1ad5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VRzXuPhCI2ArziYOqFJj0A.jpeg</url>
            <title>Stories by Andy Yao on Medium</title>
            <link>https://medium.com/@yaoandy107?source=rss-551d543e1ad5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:08:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yaoandy107/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[GitHub 將取消基於密碼的驗證機制]]></title>
            <link>https://yaoandy107.medium.com/github-%E5%B0%87%E5%8F%96%E6%B6%88%E5%9F%BA%E6%96%BC%E5%AF%86%E7%A2%BC%E7%9A%84%E9%A9%97%E8%AD%89%E6%A9%9F%E5%88%B6-ab56dfaf0a45?source=rss-551d543e1ad5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab56dfaf0a45</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Andy Yao]]></dc:creator>
            <pubDate>Wed, 30 Dec 2020 11:35:42 GMT</pubDate>
            <atom:updated>2020-12-30T11:35:42.909Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*b7RsntzVc7Mv39NK" /><figcaption>Photo by <a href="https://unsplash.com/@danny144?utm_source=medium&amp;utm_medium=referral">Dan Nelson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>今天我突然收到來自 GitHub 的警告信，標題為 <strong>[GitHub] Deprecation Notice</strong>，其內容大致上是在建議使用者升級 Git 客戶端的版本，後來查看其中附的連結後發現 GitHub 公佈了一項新政策：</p><blockquote><strong>GitHub 將在 2021 年 8 月 13 日禁止所有基於帳密的驗證機制，以提升帳密的安全性。</strong></blockquote><h3><strong>有什麼影響？</strong></h3><p>目前會影響到的只有需要輸入帳號密碼的驗證方式（不包括 OAuth），所以若之前是使用 <strong>**SSH 驗證**</strong> 或是 <strong>**二階段驗證**</strong>，則不在影響範圍內。</p><h3><strong>GitHub 為什麼要這麼做呢？</strong></h3><p>這更改是為了提升帳密的安全性，同時改用 token 驗證取代也有以幾項好處：</p><p>1. 允許針對 Token 來調整不同的存取的權限</p><p>2. 可以任意撤銷發出去的 token，且不影響原本的帳密設定</p><p>3. 可以根據不同使用者及需求產生獨一無二的 token，同時也避免帳號密碼留存在電腦中</p><h3><strong>該怎麼做呢？</strong></h3><p>若你是在影響範圍內，只要升級 Git 的版本就沒問題囉！</p><h3><strong>參考</strong></h3><p><a href="https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/">Token authentication requirements for Git operations — The GitHub Blog</a></p><blockquote><strong>若喜歡我的文章，可以點擊下方拍手給予我鼓勵唷～</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab56dfaf0a45" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>