-
Notifications
You must be signed in to change notification settings - Fork 127
Comparing changes
Open a pull request
base repository: smallbets/userbase
base: master
head repository: smallbets/userbase
compare: security-review-updated
- 17 commits
- 29 files changed
- 2 contributors
Commits on Nov 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fe67d4b - Browse repository at this point
Copy the full SHA fe67d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ef493 - Browse repository at this point
Copy the full SHA 54ef493View commit details -
signUp(), signIn(), & init() all return user's public key
- enables app to display it so user can verify sharing database with correct person
Configuration menu - View commit details
-
Copy full SHA for b1731ec - Browse repository at this point
Copy the full SHA b1731ecView commit details -
Re-implemented findDatabases()
- makes it easy to see all databases shared with user
Configuration menu - View commit details
-
Copy full SHA for 2229def - Browse repository at this point
Copy the full SHA 2229defView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9edac31 - Browse repository at this point
Copy the full SHA 9edac31View commit details
Commits on Nov 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c260a9e - Browse repository at this point
Copy the full SHA c260a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c062ba - Browse repository at this point
Copy the full SHA 2c062baView commit details -
Configuration menu - View commit details
-
Copy full SHA for f18c693 - Browse repository at this point
Copy the full SHA f18c693View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1eedc0 - Browse repository at this point
Copy the full SHA e1eedc0View commit details
Commits on Nov 25, 2019
-
Swapped PBKDF2 for Scrypt & separated pw token & encryption key w/HKDF
- User inputs password -> Client hashes password with Scrypt -> Client derives 2 keys from password hash with HKDF: password token + password-based encryption key -> Client sends server password token for storage + future auth. See https://hacks.mozilla.org/2018/11/firefox-sync-privacy/ for similar approach - Salts are randomly generated at every step and are all sent to the server for storage on sign up - On sign in, client requests user's password salts via an unauthenticated endpoint in order to rebuild password token
Configuration menu - View commit details
-
Copy full SHA for 64560e4 - Browse repository at this point
Copy the full SHA 64560e4View commit details -
SHA-256 password token on server before storing
- prevents someone with access to data stored on server from obtaining valid session ID's via the app - Note that the original password goes through Scrypt and then HKDF client-side to get the password token, which is then sent to server
Configuration menu - View commit details
-
Copy full SHA for c3d4b19 - Browse repository at this point
Copy the full SHA c3d4b19View commit details -
Merge pull request #18 from encrypted-dev/secure-pw
Secure password-based cryptography
Configuration menu - View commit details
-
Copy full SHA for b9af4d7 - Browse repository at this point
Copy the full SHA b9af4d7View commit details
Commits on Nov 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 030f79e - Browse repository at this point
Copy the full SHA 030f79eView commit details
Commits on Dec 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1af6e5c - Browse repository at this point
Copy the full SHA 1af6e5cView commit details
Commits on Jan 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f689786 - Browse repository at this point
Copy the full SHA f689786View commit details -
Configuration menu - View commit details
-
Copy full SHA for c36650b - Browse repository at this point
Copy the full SHA c36650bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c04843 - Browse repository at this point
Copy the full SHA 1c04843View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...security-review-updated