haskell / haskell/hackage-server

Support two factor authentication

Open
#1,265 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

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:
- https://hackage.haskell.org/package/OTP
- https://hackage.haskell.org/package/crypto-totp
- https://hackage.haskell.org/package/gamgee (no go due to polysemy I guess)

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

QR code related packages:
- https://hackage.haskell.org/package/qrcode-core
- https://hackage.haskell.org/package/qrcode-juicypixels

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.