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

Update testing-functions.ts #28

Closed
wants to merge 30 commits into from
Closed

Conversation

ShaneFindley
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-2

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

Use a secure mode and padding scheme. See more on SonarCloud
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 / SonarCloud

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

sonarqubecloud bot commented Jan 23, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

10 New issues
1 Security Hotspot
35.4% Coverage on New Code (required ≥ 90%)
32.7% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)
C Security Review Rating on New Code (required ≥ A)
1 New Vulnerabilities (required ≤ 0)
9 New Code Smells (required ≤ 0)
2 New Critical Issues (required ≤ 1)
8 New Major Issues (required ≤ 0)

See analysis details on SonarCloud

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

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

11 New issues
2 Security Hotspots
35.4% Coverage on New Code (required ≥ 90%)
32.7% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)
2 New Critical Issues (required ≤ 1)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint 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.

2 participants