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 #29

Closed
wants to merge 13 commits into from
Closed

Conversation

ShaneFindley
Copy link
Owner

No description provided.

@ShaneFindley ShaneFindley marked this pull request as ready for review November 27, 2023 13:16
const encryption_key = "byz9VFNtbRQM0yBODcCb1lrUtVVH3D3x"; // Must be 32 characters
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

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

sonarqubecloud bot commented Dec 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

23.5% 23.5% Coverage
0.0% 0.0% Duplication

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
23.5% 23.5% Coverage on New Code
0.0% 0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

Copy link

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