Bernd Schoolmann
01091fe260
[PS-2365] Kdf Configuration Options for Argon2 ( #4578 )
...
* Implement argon2 config
* Remove argon2 webassembly warning
* Replace magic numbers by enum
* Implement kdf configuration
* Update UI according to design feedback
* Further updates to follow design feedback
* Add oxford comma in argon2 description
* Fix typos in argon2 descriptions
* move key creation into promise with API call
* change casing on PBKDF2
* general improvements
* kdf config on set pin component
* SHA-256 hash argon2 salt
* Change argon2 defaults
* Change argon2 salt hash to cryptoFunctionService
* Fix isLowKdfIteration check
---------
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2023-01-30 09:07:51 -05:00
Bernd Schoolmann
e055e68991
[PS-2251] Implement argon2 kdf ( #4468 )
...
* Implement argon2
* Remove argon2 webassembly warning
* Replace magic numbers by enum
* move packages
* cleanup call to argon2
* update call to node argon2
* don't need wasm-eval
* revert config changes
* Update libs/common/src/enums/kdfType.ts
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
* Update kdfType.ts
* apply DEFAULT_PBKDF2_ITERATIONS
* checkIfWasmSupported
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2023-01-26 09:20:12 -05:00
Brandon Maharaj
497b08df44
[SG-458] Master Password security checks (browser) ( #4502 )
...
* work: add base logic for password lookup
* work: added browser support for hibp
* work: SG-558 combine weak + leak warning
* fix: language stuff
* fix: form values are neater tho :(
* fix: no cast
2023-01-24 16:04:01 -05:00
Oscar Hinton
cf2d3f5382
[SM-288] Rename requests and responses to follow naming convention ( #3806 )
2022-10-18 19:01:42 +02:00
Oscar Hinton
e941f06bac
[SM-288] Rename models to follow naming convention ( #3795 )
2022-10-14 18:25:50 +02:00
Oscar Hinton
b153ed6d01
[SM-265] Add eslint rule forbidding get().value ( #3671 )
2022-10-04 15:40:00 +02:00
Oscar Hinton
a0e89af120
[SM-255] Forbid absolute imports in libs ( #3624 )
2022-09-29 16:38:50 +02:00
Addison Beck
1fcba78905
[SG-656] Use a captcha bypass during registration ( #3531 )
...
* Use a captcha bypass during registration
The trial initiation flow has a registration step that automatically
does a login in the background. This has Captcha problems, namely that
it can spawn two captchas in a row - one during registration and one
during login. This is not ideal UX, so we've added a bypass token that
returns from the registration endpoint that can be used to skip the next
captcha.
* [review] Introduce ICaptcheProtectedResponse
2022-09-15 16:46:58 -04:00
Addison Beck
786558abb9
[fix] Add a fail state to registerAccount for failing validation ( #3482 )
2022-09-09 17:05:30 -04:00
Addison Beck
65641a38b7
[SG-656] Fix Trial Initiation Captcha Issue ( #3481 )
...
* [refactor] Isolate form validation logic
* [refactor] Relocate a few input scrubbing lines
* [refactor] Isolate RegisterRequest object construction logic
* [refactor] Isolate account registration logic
* [refactor] Isolate login logic
* [fix] Check for captchas during login from trial initiation
* [fix] Avoid a duplicated toast if the account was already created
2022-09-09 14:56:36 -04:00
Gbubemi Smith
257fb0c0af
[SG-414] Refactor password strength component ( #3186 )
...
* moved password strength to libs
* refactored password strength component
* made changes on desktop and browser to reuse component
* resolved suggestions from PR review
* shared module restructure
* shared module restructure
2022-08-01 23:26:50 +01:00
Oscar Hinton
2011131bb2
[PS-182] Upgrade Angular to V14 ( #2948 )
2022-07-26 14:48:11 +02:00
Gbubemi Smith
f07e071f09
[SG-69] Billing payment step ( #3133 )
...
* billing folder added
* initial commit
* [SG-74] Trial Initiation Component with Vertical Stepper (#2913 )
* Vertical stepper PoC
* Convert stepper css to tailwind
* trial component start
* trial component params
* tailwind-ify header
* Support teams, enterprise, and families layout param and more layout ui work
* Some more theming fixes
* Rename TrialModule to TrialInitiationModule
* Stepper fixes, plus more functionality demo
* Cleanup
* layout params and placeholders
* Only allow trial route to be hit if not logged in
* fix typo
* Use background-alt2 color for header
* Move vertical stepper out of trial-initiation
* Create components for the different plan types
* Remove width on steps
* Remove content projection for label
* Tailwind style fixes
* Extract step content into a component
* Remove layout param for now
* Remove step tags
* remove pointer classes from step button
* Remove most tailwind important designations
* Update apps/web/src/app/modules/vertical-stepper/vertical-step.component.ts
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* Tailwind and layout fixes
* Remove container
* lint & prettier fixes
* Remove extra CdkStep declaration
* Styles fixes
* Style logo directly
* Remove 0 margin on image
* Fix tiling and responsiveness
* Minor padding fixes for org pages
* Update apps/web/src/app/modules/trial-initiation/trial-initiation.component.html
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* prettier fix
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* [SG-65] Reusable Registration Form (#2946 )
* created reusable registration form
* fixed conflicts
* replicated reactive form changes in other clients
* removed comments
* client template cleanup
* client template cleanup
* removed comments in template file
* changed to component suffix
* switched show password to use component
* comments resolution
* comments resolution
* added toast disable functionality
* removed unused locale
* mode custom input validator generic
* fixed button
* fixed linter
* removed horizontal rule
* switched to button component
* Added billng step
* Added keys to locale
* billing trial initiation step
* billing trial initiation step
* Dont load billing content until the step is selected
* billing trial initiation step
* billing trial initiation step
* billing trial initiation step
* made the get plans endpoint anonymous
* merged with master and extra changes
* major changes on billing step
* billing step sub label
* Made changes to billing step sub label
* removed unused variable
* removed unused logic
* cleanup
* fixed suggestions
* removed unused reference
* added billing sub label
Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: addison <addisonbeck1@gmail.com>
2022-07-20 02:00:25 +01:00
Gbubemi Smith
6a26223f93
Fixed self host defect ( #3094 )
2022-07-13 15:14:03 +01:00
Gbubemi Smith
9bf27a2050
[SG-420] Fixed password match defect ( #3075 )
...
* fixed password match defect
* change custom validator to static methods
2022-07-11 19:58:56 +01:00
Robyn MacCallum
5ed6b9fb74
Implement create account step ( #3073 )
2022-07-11 11:06:32 -04:00
Robyn MacCallum
fb70d8a2d3
Merge Feature/trial initiation ( #3036 )
...
* [SG-74] Trial Initiation Component with Vertical Stepper (#2913 )
* Vertical stepper PoC
* Convert stepper css to tailwind
* trial component start
* trial component params
* tailwind-ify header
* Support teams, enterprise, and families layout param and more layout ui work
* Some more theming fixes
* Rename TrialModule to TrialInitiationModule
* Stepper fixes, plus more functionality demo
* Cleanup
* layout params and placeholders
* Only allow trial route to be hit if not logged in
* fix typo
* Use background-alt2 color for header
* Move vertical stepper out of trial-initiation
* Create components for the different plan types
* Remove width on steps
* Remove content projection for label
* Tailwind style fixes
* Extract step content into a component
* Remove layout param for now
* Remove step tags
* remove pointer classes from step button
* Remove most tailwind important designations
* Update apps/web/src/app/modules/vertical-stepper/vertical-step.component.ts
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* Tailwind and layout fixes
* Remove container
* lint & prettier fixes
* Remove extra CdkStep declaration
* Styles fixes
* Style logo directly
* Remove 0 margin on image
* Fix tiling and responsiveness
* Minor padding fixes for org pages
* Update apps/web/src/app/modules/trial-initiation/trial-initiation.component.html
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* prettier fix
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* [SG-65] Reusable Registration Form (#2946 )
* created reusable registration form
* fixed conflicts
* replicated reactive form changes in other clients
* removed comments
* client template cleanup
* client template cleanup
* removed comments in template file
* changed to component suffix
* switched show password to use component
* comments resolution
* comments resolution
* added toast disable functionality
* removed unused locale
* mode custom input validator generic
* fixed button
* fixed linter
* removed horizontal rule
* switched to button component
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: gbubemismith <gsmithwalter@gmail.com>
2022-07-05 15:25:14 -04:00
Oscar Hinton
bc639688e8
Use NPM workspace ( #2874 )
2022-06-14 17:10:53 +02:00
Hinton
d7492e3cf3
Move to libs
2022-06-03 16:24:40 +02:00