Mark security issues as safe for security checks#293
Open
Mark security issues as safe for security checks#293
Conversation
Pull Request Test Coverage Report for Build 22174282667Details
💛 - Coveralls |
varmar05
approved these changes
Feb 20, 2026
Contributor
|
@harminius could you put commands you used for those check in description? |
MarcelGeo
requested changes
Feb 20, 2026
| cursor.execute("COMMIT;") | ||
|
|
||
|
|
||
| def _delete_spatial_table(db_file): |
| :return: sha1 checksum | ||
| """ | ||
| checksum = hashlib.sha1() | ||
| checksum = hashlib.sha1() # nosec B324 - usedforsecurity=False flag is compatible with python 3.9+ |
Contributor
There was a problem hiding this comment.
I found 3.8 ... but I think it's still discussion, which python support. @tomasMizera
|
|
||
| >>> origin = [{'checksum': '08b0e8caddafe74bf5c11a45f65cedf974210fed', 'path': 'base.gpkg', 'size': 2793, 'mtime': '2019-08-26T11:08:34.051221+02:00'}] | ||
| >>> current = [{'checksum': 'c9a4fd2afd513a97aba19d450396a4c9df8b2ba4', 'path': 'test.qgs', 'size': 31980, 'mtime': '2019-08-26T11:09:30.051221+02:00'}] | ||
| >>> origin = [{'checksum': '08b0e8caddafe74bf5c11a45f65cedf974210fed', 'path': 'base.gpkg', 'size': 2793, 'mtime': '2019-08-26T11:08:34.051221+02:00'}] # pragma: allowlist secret |
Contributor
There was a problem hiding this comment.
just remove this checksums and there "..." or foo text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Py-client part to resolve MerginMaps/qgis-plugin#872
Flags used to tell security checks to skip the lines as they are safe.
More detail MerginMaps/qgis-plugin#875