Please whitelist Safari for U2F #4701

Closed
opened 2025-11-02 06:00:00 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @clstrco on GitHub (Jan 21, 2020).

  • Gitea version (or commit ref):

Gitea version 1.10.3 built with GNU Make 4.1, go1.13.6 : bindata

  • Git version:

git version 2.17.1

  • Operating system:

macOS 10.15.2

Safari 13.0.4

  • Database (use [x]):
    • [x ] PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • [x ] Yes (provide example URL):

https://try.gitea.io/user/settings/security

  • No
  • Not relevant
  • Log gist:

Description

Although caniuse suggests modern Safari supports U2f (and I have verified this works with Github) gitea seems to blacklist it as a browser. When I try to add a key it say:

Could not read your security key.
Your browser does not support U2F security keys.

Screenshots

image

Originally created by @clstrco on GitHub (Jan 21, 2020). - Gitea version (or commit ref): Gitea version 1.10.3 built with GNU Make 4.1, go1.13.6 : bindata - Git version: git version 2.17.1 - Operating system: macOS 10.15.2 Safari 13.0.4 - Database (use `[x]`): - [x ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x ] Yes (provide example URL): https://try.gitea.io/user/settings/security - [ ] No - [ ] Not relevant - Log gist: ## Description Although [caniuse](https://caniuse.com/#search=webauthn) suggests modern Safari supports U2f (and I have verified this works with Github) gitea seems to blacklist it as a browser. When I try to add a key it say: ``` Could not read your security key. Your browser does not support U2F security keys. ``` ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![image](https://user-images.githubusercontent.com/39096274/72845671-fcd52280-3c53-11ea-950a-da46cb8dd70e.png)
GiteaMirror added the issue/stale label 2025-11-02 06:00:00 -06:00
Author
Owner

@lunny commented on GitHub (Jan 22, 2020):

Have you tried with a local gitea instance or try site?

@lunny commented on GitHub (Jan 22, 2020): Have you tried with a local gitea instance or try site?
Author
Owner

@clstrco commented on GitHub (Jan 22, 2020):

Have you tried with a local gitea instance or try site?

Yes, I've attempted both.

I've had success with the demos here: https://webauthn.io using this safari.

@clstrco commented on GitHub (Jan 22, 2020): > Have you tried with a local gitea instance or try site? Yes, I've attempted both. I've had success with the demos here: https://webauthn.io using this safari.
Author
Owner

@techknowlogick commented on GitHub (Jan 22, 2020):

related ticket: #6892

@techknowlogick commented on GitHub (Jan 22, 2020): related ticket: #6892
Author
Owner

@stale[bot] commented on GitHub (Mar 22, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 22, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Apr 5, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Apr 5, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4701