Skip to content
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

Shane findley patch 6 #2

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Conversation

anita-stanisz-sonarsource
Copy link
Owner

No description provided.

const initialization_vector = "X05IGQ5qdBnIqAWD"; // Must be 16 characters

function encrypt(text){
const cipher = createCipheriv('aes-256-cbc',Buffer.from(encryption_key), Buffer.from(initialization_vector))

Check failure

Code scanning / SonarCloudsquad-3

Encryption algorithms should be used with secure mode and padding scheme

<!--SONAR_ISSUE_KEY:AY1pBgrDE3VqTM19eISq-->Use a secure mode and padding scheme. <p>See more on <a href="https://squad-3-core.sc-dev.io/project/issues?id=anita-stanisz-sonarsource_react-base&issues=AY1pBgrDE3VqTM19eISq&open=AY1pBgrDE3VqTM19eISq&pullRequest=2">SonarCloud</a></p>
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
35.4% Coverage on New Code (required ≥ 80%)
32.7% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

const initialization_vector = "X05IGQ5qdBnIqAWD"; // Must be 16 characters

function encrypt(text){
const cipher = createCipheriv('aes-256-cbc',Buffer.from(encryption_key), Buffer.from(initialization_vector))

Check failure

Code scanning / SonarCloudsquad-5

Encryption algorithms should be used with secure mode and padding scheme High test

Use a secure mode and padding scheme. See more on SonarCloud
Copy link

sonarcloudsquad5 bot commented Feb 23, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
35.4% Coverage on New Code (required ≥ 80%)
32.7% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants