Skip to content

Conversation

ygerlach
Copy link

I have reorganized parts of the code to be more readable and probably more performant as well (one fwrite and fread instead of single byte writes and reads).

for (i = 0; i < 8; i++) {
putc(encryptedPasswd[i], fp);
}
fwrite(encryptedPasswd, 1, sizeof(encryptedPasswd), fp);

Check failure

Code scanning / CodeQL

Cleartext storage of sensitive information in file

This write into file 'fp' may contain unencrypted data from [this source.](1).
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not changed that. Its storing the same bytes in the file as before.
The Ci is not wrong, but i am not making it worse.

@ygerlach
Copy link
Author

ygerlach commented Jul 6, 2023

@bk138 what is up with this PR? Do i need to change something?

@bk138
Copy link
Member

bk138 commented Jul 6, 2023

@bk138 what is up with this PR? Do i need to change something?

I haven't found the time yet to have a look, lotsa €€€-work to do. Will eventually check back!

@Neustradamus
Copy link

Any progress on it?

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