kbss-cvut / termit

An advanced SKOS terminology manager linking concepts to their definitions in documents
GNU General Public License v3.0
8 stars 9 forks source link

Added API to reset forgotten password #274

Closed lukaskabc closed 3 months ago

lukaskabc commented 3 months ago

Mail server configuration is now required to start the application [code link].

gitguardian[bot] commented 3 months ago

⚠️ GitGuardian has uncovered 8 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6 | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecL53) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6 | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecR20) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | 2a3c6b5ffa9934f0b97161b6a7b568f329c94dc3 | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/2a3c6b5ffa9934f0b97161b6a7b568f329c94dc3#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecL20) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | 79ad74232c878beb0e5a0ba2007bc96263d53f2d | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/79ad74232c878beb0e5a0ba2007bc96263d53f2d#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecR53) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | 2a3c6b5ffa9934f0b97161b6a7b568f329c94dc3 | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/2a3c6b5ffa9934f0b97161b6a7b568f329c94dc3#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecL22) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6 | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecR22) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | 79ad74232c878beb0e5a0ba2007bc96263d53f2d | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/79ad74232c878beb0e5a0ba2007bc96263d53f2d#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecR54) | | [-](https://dashboard.gitguardian.com/workspace/158417/incidents/secrets) | - | Generic High Entropy Secret | e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6 | src/test/java/cz/cvut/kbss/termit/persistence/dao/PasswordChangeRequestDaoTest.java | [View secret](https://github.com/kbss-cvut/termit/commit/e2b5992bb249a1d82c6c6d01d9c5d46df0cb34e6#diff-5b7a6c181a740b5026983b0ca6941a2a90b3f4dfaeabfc26f43d879477d483ecL54) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/generics/generic_high_entropy_secret#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 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](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) 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.

ledsoft commented 3 months ago

Also, please always link the PR to the issue it resolves.

ledsoft commented 3 months ago

Implements kbss-cvut/termit-ui#332.