Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support two factor authentication #1265

Open
sorki opened this issue Nov 21, 2023 · 2 comments
Open

Support two factor authentication #1265

sorki opened this issue Nov 21, 2023 · 2 comments

Comments

@sorki
Copy link

sorki commented Nov 21, 2023

Multi factor auth (MFA) or two-factor auth (2FA) would be a nice addition to hackage-server. Both for its account management page and cabal upload functionality.

There seems to be three related libraries on Hackage:

As a minimal implementation, account management page would allow user to add a TOTP token via a QR code.

QR code related packages:

Suggestions welcome! I'm willing to work on this myself, would also appreciate co-authors since this requires a PRs for both hackage-server and cabal (and possibly for one of the OTP libraries).

@gbaz
Copy link
Contributor

gbaz commented Jan 6, 2024

Other people raised this recently too -- especially in light of pypi moving to 2fa https://discuss.python.org/t/announcement-2fa-requirement-for-pypi-2024-01-01/40906

working towards a 2fa story sounds well worth it and would be a welcome pr.

@arianvp
Copy link

arianvp commented Apr 9, 2024

There is also https://hackage.haskell.org/package/webauthn by yours truly . For Yubikeys and passkeys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants