<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>认证 on Anttu&#39;s Blog</title>
		<link>https://anTtutu.github.io/tags/%E8%AE%A4%E8%AF%81/</link>
		<description>Recent content in 认证 on Anttu&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Mon, 10 Jan 2022 08:00:00 +0800</lastBuildDate>
		
			<atom:link href="https://anTtutu.github.io/tags/%E8%AE%A4%E8%AF%81/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>OTP动态口令：原理与java实现</title>
				<link>https://anTtutu.github.io/post/2022-01-10-otp-one-time-password/</link>
				<pubDate>Mon, 10 Jan 2022 08:00:00 +0800</pubDate>
				<guid>https://anTtutu.github.io/post/2022-01-10-otp-one-time-password/</guid>
				<description>&lt;h2 id=&#34;前言&#34;&gt;前言&lt;/h2&gt;&#xA;&lt;p&gt;对外网开放的后台管理系统，只用静态口令认证有几个先天问题：用户为了好记会选有特征的密码、明文传输时可被截获、内部人员能拿到密码冒用。OTP（One-Time Password，一次性密码/动态口令）是最容易落地的双因素认证增强手段，这篇整理它的原理和一套 java 实现方案。&lt;/p&gt;&#xA;&lt;h2 id=&#34;一静态口令的风险&#34;&gt;一、静态口令的风险&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;便于记忆的密码往往有特征，容易被猜测和爆破&lt;/li&gt;&#xA;&lt;li&gt;非加密传输时认证信息可被直接截获&lt;/li&gt;&#xA;&lt;li&gt;合法授权者（包括内部人员）可以复制密码冒用，事后无法追责&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;静态口令从根本上无法确定「现在操作的人就是账户本人」。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
