# Firefox에서 Discourse에 YubiKey를 2FA로 사용하는 방법

**URL:** https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561
**Category:** Support
**Created:** [1월 19, 2021, 12:56오후 UTC](https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561 "2021-01-19T12:56:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [1월 19, 2021, 12:56오후 UTC](https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561/1 "2021-01-19T12:56:11Z")

</div>

2FA에 Yubikey를 추가하는 것이라 생각보다 간단한 작업이었는데, 계속 실패해서 새로운 것들이 너무 많아서 혼란스럽습니다.

- Yubikey를 어떻게 설정해야 하나요?
  - OTP?
    - Yubico OTP?
    - Challenge Response?
    - Static Password?
    - OATH-HOTP? → Firefox에서 시도해 보았지만 `The attestation format is not supported by the server.`라는 오류가 발생했습니다.

  - FIDO2?

- 어떤 브라우저를 사용해야 하나요?
  - Firefox?
  - Chrome?
  - 다른 브라우저?

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [1월 19, 2021, 9:19오후 UTC](https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561/2 "2021-01-19T21:19:01Z")

</div>

음, 아무것도 설정할 필요가 없어야 합니다. 다음을 시도해 보세요:

1. Yubikey를 USB 포트에 꽂습니다.
2. 사이트에서 `/my/preferences/second-factor`로 이동합니다.
3. 보안 키 추가 버튼을 선택합니다.
4. 원하시면 키에 이름을 부여하고 등록 버튼을 선택합니다.
5. Yubikey를 "터치"합니다.

Safari, Firefox, Chrome에서 작동해야 합니다. 호환되는 기기와 NFC가 지원되는 Yubikey를 보유하고 있다면 모바일에서도 작동해야 합니다.

---

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [1월 21, 2021, 7:45오전 UTC](https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561/3 "2021-01-21T07:45:20Z")

</div>

Chrome와 OATH-HOTP에서 작동하도록 했습니다.  
Firefox에서는 더 이상 시도하지 않았습니다.

> [@tshenry](#):
>
> 음, 아무것도 설정할 필요가 없어야 합니다.

음… 흥미롭네요.  
어차피 예비 키가 필요하니까, Firefox에서도 다시 시도해 보겠습니다.

---

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [1월 21, 2021, 8:40오후 UTC](https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561/4 "2021-01-21T20:40:45Z")

</div>

오늘 위에서 설명한 대로 FF 84.0.2를 사용하여 meta.discourse.org에서 2FA를 활성화하려고 시도했습니다. 동일한 오류 메시지가 나타났습니다.

Chrome 88.0.4324.96에서 동일한 작업을 시도해 보니 → 즉시 성공했습니다.

`The attestation format is not supported by the server.`로 검색하면 4개의 결과가 나오며, 모두 discourse 소스 코드와 관련이 있습니다. 아직 다른 사람이 이 문제를 겪은 적이 없는 것 같습니다… ☹

흥미로운 점: FF에서 개인 모드로 접속하면 2FA 로그인이 작동합니다.

수정:  
다시 수십 번 시도해 보고, FF 추가 기능과 스크립트 차단기를 비활성화했으며, 위에서 설명한 대로 개인 모드 브라우징을 시도해 보니 FF에서 2FA가 작동합니다.

이상한 점은: FF 추가 기능과 스크립트 차단기를 다시 활성화해도 2FA가 여전히 작동한다는 것입니다.

어쨌든 작동하고 있으니 만족스럽고, 이 건은 종결 처리합니다 🙂

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2월 20, 2021, 8:41오후 UTC](https://meta.discourse.org/t/how-to-use-yubikey-as-2fa-with-discourse-in-firefox/176561/5 "2021-02-20T20:41:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
