GitHub双重身份验证(two-factor authentication, 2FA)解决方案
黄健  |  01-27  |  科学网  |  175次阅读

双十二的时候,收到GitHub官方的通知邮件,要求我启用双重身份验证(two-factor authentication, 2FA用户。邮件主要内容如下:We're reaching out to let you know that, as announced last year, we have officially begun requiring users who contribute code on GitHub.com to have two-factor authentication (2FA) enabled. Your account meets this criteria, and you will need to enroll in 2FA within 45 days, by January 25th, 2024 at 00:00 (UTC). After this date, your access to GitHub.com will be limited until you enroll in 2FA. Enrolling is easy, and we support several options, starting with TOTP apps and text messages (SMS) and then adding on passkeys and the GitHub Mobile app. 后来又收到4封提醒邮件,提示说启用2FA很简单,四种方式任意选:Security keyGitHub MobileAuthenticator application (TOTP)Text messages (SMS) 

于是首先尝试短信方式,结果国家与地区的下拉单里,没有中国大陆、中国香港,有台湾。心中很不爽,厌恶感猛生。其他方式,有的居然要求录入指纹。国内银行app与几个主流的支付软件我还是放心的;对于没有中国大陆、中国香港却偏偏有台湾的境外网站与app,我实在是不放心让他录我指纹的。我的华为P30的应用商店,既没有GitHub Mobile也没有GitHub推荐的1password AuthyMicrosoft AuthenticatorTOTP应用程序。最后硬生生地下载了安装了百度手机助手app,再通过百度手机助手成功安装了微软的Authenticator手机程序。万事俱备,只待2FA。没想到时间已过125日,怎么也访问不了我的GitHub帐号了。世界分裂,哪有什么地球村。于是想到一个最简单的解决方案,启用Gitee




文章原载于作者的科学网文章,所述内容属作者个人观点,不代表本平台立场。
本文经过系统重新排版,阅读原内容可点击 阅读原文