-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesttavern_serverThis issue or pull request relates to the tavern server binaryThis issue or pull request relates to the tavern server binary
Description
- Add necessary fields to the database
- Create hashing functions (Argon2i)
- Generate a random salt
- Generate a hash, given a password, salt, and hashing parameters
- Given resource maxima, determine the most secure hashing parameters
- This document outlines how to do that
- Create Warp `Filters
- Create new user, given fields
email,password, andconfirm-password- If possible, disallow multiple accounts for the same email address by taking into account
+suffixes on the email address, e.g.example+other@example.com
- If possible, disallow multiple accounts for the same email address by taking into account
- Get an
Option<User>from a request using theAuthorizationheader - Given the above
Option<User>, respond to the client with aWWW-Authenticateheader for paths where authentication is required (likely called likeget_user().and(require_user))
- Create new user, given fields
Notes:
- A
Userstruct should not contain authentication-only information, i.e. hashing parameters, salt, or hash - All above functions, including
Filters, must have unit tests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttavern_serverThis issue or pull request relates to the tavern server binaryThis issue or pull request relates to the tavern server binary