콘텐츠로 바로가기
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
    • 문서
    • 포럼
  • About
    • WordPress 6.9
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 한국팀
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

Lock and Key

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

Lock and Key

작성자: shadowsplitter
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

Lock and Key adds a Security Key button to your WordPress login page. Users register a hardware security key on their profile, then sign in by entering their username, clicking Security Key and confirming on the key. There’s no password to steal, and phishing sites can’t reuse the login.

Works with Ledger Nano S, S Plus, X and Stax (FIDO U2F / Security Key app), YubiKey, Google Titan, and any FIDO2/WebAuthn hardware key.

Features

  • Security Key login button on the WordPress login page
  • Choose which roles can use security keys: administrators, editors, authors, contributors, subscribers and custom roles
  • Security key only mode for each role: turns off password login for users who have registered a key
  • Clear “Use security key only for access” message when someone tries a password on a key-only account, whether the password was right or wrong
  • Users register and manage their own keys, including backup keys
  • Dashboard warning listing administrators who haven’t registered a key yet
  • Admins can remove a user’s lost key from their profile
  • Overview of who has registered keys and when they last used them
  • Full server-side verification of every login: signature (ES256 / RS256), origin, challenge and relying party
  • Cloned-key detection via the signature counter
  • Throttling of repeated failed key logins
  • Logins go through WordPress’s own login process, so other security plugins keep working
  • Works behind Cloudflare, load balancers and other proxies, with protection against faked addresses

Security key only mode

For roles set to Security key only, password login is refused on the login page and XML-RPC once the user has registered a key. Users who haven’t registered a key yet can still use their password, so nobody is locked out before setting one up.

If a user loses their key, an admin removes it from the user’s profile and their password works again. If you’re locked out, adding define( 'LOCKANDKEY_DISABLE_KEY_ONLY', true ); to wp-config.php allows passwords again.

Lock and Key Pro

Lock and Key Pro is a separate plugin that adds monitoring: a login activity log (logins, failed logins and security key changes, with IP address and browser), IP address blocking, XML-RPC attack blocking, manual and automatic IP blocking, 3-strike blocking for admin accounts, custom messages or pages for blocked visitors, email alerts for administrators and for each user about their own account, and WooCommerce support.

Privacy

Lock and Key doesn’t contact any external service. Registered keys (a public key, a key ID, the name the user gave it, and when it was created and last used) are stored in your own WordPress database.

스크린샷

Choosing which roles can use security keys, and which use security keys only.
Choosing which roles can use security keys, and which use security keys only.

설치

  1. Install the plugin from Plugins → Add New, or upload the ZIP under Plugins → Add New → Upload Plugin.
  2. Activate it.
  3. Go to Settings → Lock and Key and choose which roles can use security keys. Administrators are always enabled.
  4. Each user registers a key under Users → Profile → Security Keys.
  5. Optionally, tick Security key only for roles that should stop using passwords.

Your site must use HTTPS. Browsers only allow security keys on secure sites.

FAQ

Which security keys work?

Any FIDO2 or U2F hardware key: Ledger (open the FIDO U2F / Security Key app), YubiKey, Google Titan, Feitian, SoloKeys and others.

Which users can use security keys?

Any role you enable on Settings → Lock and Key. Administrators are always enabled.

Can I stop users from logging in with a password?

Yes. On Settings → Lock and Key, tick Security key only for a role. Once a user in that role has registered a key, password attempts show “Use security key only for access” and are refused.

What if someone loses their key?

An admin opens the user’s profile and removes the lost key under Security Keys. If that was their last key, their password works again and they can register a new one. Encourage everyone to register a backup key.

I’m locked out. What now?

Add define( 'LOCKANDKEY_DISABLE_KEY_ONLY', true ); to wp-config.php. Passwords then work again. Remove the line once you’ve sorted out your keys.

What happens to the keys if I delete the plugin?

They’re kept, along with your settings, so nothing is lost when you reinstall. To remove everything when deleting the plugin, tick Delete all registered security keys and settings when the plugin is deleted in the plugin’s settings first.

My site is behind Cloudflare or another proxy. Does that matter?

Yes. Choose your proxy under Settings → Lock and Key → Visitor IP Addresses. Otherwise every visitor appears to come from the proxy’s address, so the failed-login limit would apply to everyone at once. The proxy’s header is only believed when the request really comes from the proxy (Cloudflare’s address ranges are built in), so visitors can’t fake their address.

Does it affect application passwords?

No. Application passwords (used by apps and the REST API) are managed separately under each user’s profile.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Lock and Key”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • shadowsplitter

자국어로 “Lock and Key”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

3.2.2

  • Security key login and registration now work with caching plugins such as W3 Total Cache, and with object caches (Redis, Memcached). The one-time code is signed and checked directly instead of being read back from the database.
  • Log in with your email address even when it contains “+”.

3.2.1

  • Security keys now work at both the www and non-www address of a site (for example example.com and www.example.com). Keys registered before this version keep working at the address they were registered on; register them again to use both.
  • One-time security key codes are stored in the database, so registration and login work on sites with an object cache (Redis, Memcached).

3.2.0

  • First release on WordPress.org.

기초

  • 버전 3.2.2
  • 최근 업데이트: 3주 전
  • 활성화된 설치 10보다 적음
  • 워드프레스 버전 6.2 또는 그 이상
  • 다음까지 시험됨: 7.1.4
  • PHP 버전 7.4 또는 그 이상
  • 언어
    English (US)
  • 태그:
    loginsecuritytwo factorwebauthn
  • 고급 보기

평점

아직 제출된 리뷰가 없습니다.

Your review

모든 리뷰 보기

기여자

  • shadowsplitter

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

  • 소개
  • 뉴스
  • 호스팅
  • 개인정보
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 배우기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

한국어

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다