跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Yubikey

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

Yubikey

由 Kieran O’Shea 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

This plugin dramatically enhances the security of your WordPress website by adding Multi Factor Authentication (MFA) in the form of One Time Passwords (OTP)
using Yubikey USB Tokens. In addition to providing your username and password to login, this plugin requests an OTP code
generated by a Yubikey, validates this via an API and only grants access if this check passes. The requirement to use an OTP can be set on a user by user
basis and there is also a feature to require users above a certain privilege level to always use OTP.

External services

This plugin connects to an API to validate the OTP tokens generated by your security key. This is required because storing the private keys
on the same web server as the site you wish to protect would be a security risk.

By default Yubico’s own validation server is employed, although you may setup your own server and use this instead

The default Yubico API only collects the one time password (OTP) data as provided by your security key when you login. The service validates this
and then stores this token as “used” so it may not be replayed as part of an attack. It does not collect any other data (such as what URL is being
authenticated using the key etc.)

This service is provided by “Yubico AB”: Privacy Policy, Terms of Use

螢幕擷圖

  • Entering key ID on the profile page
  • Client ID & API key and other Yubikey options
  • The enhanced login box

安裝方式

  1. Buy a Yubikey if you do not already have one that supports OTP
  2. If you want to use Yubico’s cloud validation server, Create a Yubico ID & API Key
  3. Unzip plugin into your /wp-content/plugins/ directory.
  4. Enter Yubico ID & API key on the Settings -> Yubikey options page
  5. Enter Key ID on the Users -> Profile and Personal options page. The Key ID is the first 12 characters produced when your Yubikey
    generates an OTP – these remain constant and are used to identify your key with the validation server

常見問題集

Where can I learn more about how Yubikey OTP works?

Please visit the Yubico OTP Webpage

How much does the Yubikey cost?

There are a variety of keys available, but the cheapest key that will work with the OTP model currently retails at $50. You can find
information on this key by visiting the associated Yubico Product Page

Can I use my own validation server?

While setting up such a server is beyond the scope of this FAQ, yes you can. Simply put the URL of your validation server in
the “Private Validation Server API URL” field on the Settings -> Yubikey adin page. Remember to update the ID and API Key fields to a pair
that is supported by your server.

Does the plugin force OTP use by all users?

No, unless you set the “Profile from which OTP is mandatory” setting, in which case users with this permission or above will need an OTP
to login. If you enable this feature it is critical that all users on your site who hold this permission profile or above have already setup
OTP in their profile, otherwise they will be locked out of the site! All other users will only require an OTP if they set one up in their
user profile.

What is the “Allow XML-RPC login below profile” setting for?

When a user enables OTP in their profile, they will be unable to login to WordPress using the XML-RPC API (most commonly known as the method
by which the WordPress smartphone app accesses WordPress sites). If you enable this setting, users below this permission level will be allowed to
login via XML-RPC (the WordPress app) without use of an OTP (the app does not support use of OTP or supplemental login fields).

I enabled OTP on my profile and now I’m locked out of the site, can I get back in?

Of course; just rename the yubikey plugin directory in wp-content/plugins/ and the plugin will automatically be disbaled. With the plugin disabled
you will be able to login with just your plain username and password.

使用者評論

Reviews welcome

Kieran O’Shea 2025 年 5 月 10 日
Calling all regular Yubikey users! If you haven’t done so already, please take the time to review the plugin here If you have a problem, issue or question, please post in the forums first before rating the plugin negatively – most things can be sorted out either through communication or a new release!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Yubikey〉的開發相關工作。

參與者
  • Kieran O’Shea
  • Henrik Schack

將〈Yubikey〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.1

  • Added restriction so plugin file cannot be accessed directly
  • Added a description in the readme file that explains the use of the external Yubico validation service

1.0

  • Forked from “yubikey-plugin” by Henrik Schack
  • Updated Yubikey API support to version 2.0
    ** Inclusion of nonce field
    ** Upgrading to HTTPS
    ** Enabled support for hash validation of the request as well as the response for greater security
  • Added support for self-hosted validation server
  • Configurable “minimum permission” that can bypass use of OTP, for example, if you’re an admin you must use OTP, a subscriber need not
  • Optional restriction on ability of users above a certain access level from accessing the XML-RPC API
  • Ensure that OTP requirement is bypassed when logging in via the XML-RPC API
  • POT file updated with changed language strings (bundled translations from fork remain but will require updating)
  • Ensured plugin passes all requirements of the WordPress Plugin Check (PCP)

中繼資料

  • 版本 1.0.1
  • 最後更新 9 個月前
  • 啟用安裝數 30+
  • WordPress 版本需求 5.2 或更新版本
  • 已測試相容的 WordPress 版本 6.8.3
  • 語言
    English (US)
  • 標籤
    loginMFAotpsecurityyubikey
  • 進階檢視

評分

5 星,滿分為 5 星
  • 1 5-star review 5 星 1
  • 0 4-star reviews 4 星 0
  • 0 3-star reviews 3 星 0
  • 0 2-star reviews 2 星 0
  • 0 1-star reviews 1 星 0

新增使用者評論

查看全部使用者評論

參與者

  • Kieran O’Shea
  • Henrik Schack

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • 造訪我們的 Mastodon 帳號
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩