-
Notifications
You must be signed in to change notification settings - Fork 641
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
[Final Code, but not ready to merge] Credentials Table #1597
Conversation
(and to clear out old and busted API key)
public const string UrlValidationErrorMessage = "This doesn't appear to be a valid HTTP/HTTPS URL"; | ||
public static class CredentialTypes | ||
{ | ||
public static readonly string PasswordPbkdf2 = "password.pbkdf2"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The credential type can be any string, but this sets a vague precedent for "[type].[subtype]". For example, if we decided to use a different password hashing algorithm (ROT13, for example), we'd use "password.rot13". Similarly, if we decide to rev API keys to be hashed, we'd use "apikey.v2"
Closing this out, opening a new one for the actual merge. |
Fixes #1389
Adds a Credentials table to store API Keys and Hashed Passwords. Helps prepare for OAuth support next sprint.
Note: This PR should NOT be merged in as it isn't the final merge. I'll be rebasing this on @TimLovellSmith 's sign-up changes and updating it next sprint. There will be a PR there, but I wanted to get this PR out because it's basically all the functional changes, it's just missing the changes necessary to reconcile it with Tim's changes.