Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Remove unneeded sha1 uses#646

Open
dchest wants to merge 1 commit intocharmbracelet:mainfrom
dchest:no-sha1
Open

Remove unneeded sha1 uses#646
dchest wants to merge 1 commit intocharmbracelet:mainfrom
dchest:no-sha1

Conversation

@dchest
Copy link
Copy Markdown

@dchest dchest commented Nov 22, 2025

SHA-1 was used as a kind of an additional layer on top of a cryptographic random byte generator, which is unneccessary.

Replace it with the plain 20-byte (40-hex) read from CSPRNG, and replace all mentions of sha1 with "conv id".

  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

SHA-1 was used as a kind of an additional layer on top of a cryptographic
random byte generator, which is unneccessary.

Replace it with the plain 20-byte (40-hex) read from CSPRNG, and replace
all mentions of sha1 with "conv id".
@dchest dchest requested a review from caarlos0 as a code owner November 22, 2025 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant