为Typecho添加两步验证

前言

今天发现了超级好用的应用Google系的Authenticator,这是一款基于时间与哈希算法的两步验证软件客户端,并且符合 RFC 6238 和 RFC 4226标准,因为博客的安全性还是很重要的,毕竟事关服务器,所以两步验证在这里就十分有必要。而刚好Typecho有一款Google

Authenticator插件,开源在Github,质疑安全性的小伙伴可以自行查看:项目地址

使用方法

修改文件名为GAuthenticator放到/usr/plugins目录,然后到后台启用

插件默认关闭,首次开启需要扫描二维码绑定之后填写手机上显示的代码,验证成功之后才可以启用

下载地址在此:点我

安装客户端

兼容所有符合 RFC6238 规范的AuthOTP软件

  • Microsoft Authenticator
  • Google Authenticator
  • 1Password
  • Authy
  • KeePass
  • LastPass

在这里,我个人使用的是Google系的Authenticator,对于系统的占用也比较小,简洁方便

Author

Linus Xiong

Posted on

2020-05-16

Updated on

2020-05-16

Licensed under

Comments