Gemini: document SHA-1 usage as non-security stable digest #100

Open
opened 2026-05-28 01:17:57 +02:00 by codex · 0 comments
Collaborator

Context

hashlib.sha1 is used for stable fingerprints/digests, not cryptographic security. This can confuse audits and security scanners.

Task

Add concise comments near SHA-1 usage explaining the non-security purpose.

Acceptance criteria

  • Comments exist for duplicate-code digest, issue fingerprint, and SARIF stable IDs if applicable.
  • Wording does not imply cryptographic safety.
  • No behavior change.

Verification

  • rg "sha1|non-security|stable digest" src tests
## Context `hashlib.sha1` is used for stable fingerprints/digests, not cryptographic security. This can confuse audits and security scanners. ## Task Add concise comments near SHA-1 usage explaining the non-security purpose. ## Acceptance criteria - Comments exist for duplicate-code digest, issue fingerprint, and SARIF stable IDs if applicable. - Wording does not imply cryptographic safety. - No behavior change. ## Verification - `rg "sha1|non-security|stable digest" src tests`
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/fallow-py#100
No description provided.