-
Notifications
You must be signed in to change notification settings - Fork 56
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
[TECH] Améliorer le mot de passe surveillant (PIX-13007). #10154
[TECH] Améliorer le mot de passe surveillant (PIX-13007). #10154
Conversation
Une fois les applications déployées, elles seront accessibles via les liens suivants :
Les variables d'environnement seront accessibles via les liens suivants : |
4f89e6e
to
44a1ae2
Compare
44a1ae2
to
41ddfdf
Compare
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
13912190 | Triggered | Generic Password | 52a78ef | api/src/certification/enrolment/domain/models/SessionEnrolment.js | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
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.
Si je vous dis que j'adore bosser avec vous et en particulier @AndreiaPena , c'est utile ou inutile ? ❤️
41ddfdf
to
42dc7fd
Compare
42dc7fd
to
ec64237
Compare
api/src/certification/enrolment/domain/models/SessionEnrolment.js
Outdated
Show resolved
Hide resolved
ec64237
to
2f6348b
Compare
api/tests/certification/enrolment/acceptance/application/session-mass-import-route_test.js
Show resolved
Hide resolved
api/tests/certification/enrolment/unit/domain/models/SessionEnrolment_test.js
Outdated
Show resolved
Hide resolved
`${config.availableCharacterForCode.numbers}${config.availableCharacterForCode.letters}`.split(''); | ||
const NB_CHAR = 5; | ||
const INVIGILATOR_PASSWORD_LENGTH = 6; | ||
const INVIGILATOR_PASSWORD_CHARS = '23456789bcdfghjkmpqrstvwxyBCDFGHJKMPQRSTVWXY!*?'.split(''); |
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.
thanks @matthieu-octo
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.
👀
2f6348b
to
e607097
Compare
* naming changed * varchar length changed to 6 * seeds Co-authored-by: Andreia Pena <[email protected]> Co-authored-by: matthieu-octo <[email protected]> Co-authored-by: <[email protected]> Co-authored-by: <[email protected]>
Co-authored-by: Steph0 <[email protected]> Co-authored-by: matthieu-octo <[email protected]>
Co-authored-by: Steph0 <[email protected]>
e607097
to
52a78ef
Compare
🦄 Problème
Actuellement le mot de passe surveillant n'est pas assez fort.
🤖 Proposition
Renforcer le mot de passe
🌈 Remarques
On profite de cette PR pour renommer la colonne SupervisorPassword en invigilatorPassword.
💯 Pour tester
Constater que certif récupère bien le mot de passe surveillant
=> Détails de la session
=> Kit surveillant
=> Que l'utilisateur puisse bien se connecter dans l'espace surveillant