Skip to content

xnox/os 497 melange switch to sha1cd#2356

Closed
xnox wants to merge 2 commits intochainguard-dev:mainfrom
xnox:xnox/os-497-melange-switch-to-sha1cd
Closed

xnox/os 497 melange switch to sha1cd#2356
xnox wants to merge 2 commits intochainguard-dev:mainfrom
xnox:xnox/os-497-melange-switch-to-sha1cd

Conversation

@xnox
Copy link
Member

@xnox xnox commented Feb 18, 2026

  • pipelines/go: add build-base dependency
    If build-base dependency is added on the pipelines, this dependency
    can be dropped from the non-fips go toolchain packages. This will
    enable to create "slim" tags for go images which do not include gcc
    toolchain; are much smaller in dependencies; and can only be used to
    build CGO_ENABLED=0 projects native and cross. This avoids building a
    separate duplicate toolchain to achieve the same effect.

    This is a no-op change for the current toolchains.

  • tarball: switch from crypto/sha1 to sha1cd
    Switch from cryto/sha1 to sha1cd (with collision detection) like
    git. This is a safer way to hash potentially untrusted files.

xnox added 2 commits February 16, 2026 20:33
If build-base dependency is added on the pipelines, this dependency
can be dropped from the non-fips go toolchain packages. This will
enable to create "slim" tags for go images which do not include gcc
toolchain; are much smaller in dependencies; and can only be used to
build CGO_ENABLED=0 projects native and cross. This avoids building a
separate duplicate toolchain to achieve the same effect.

This is a no-op change for the current toolchains.
Switch from cryto/sha1 to sha1cd (with collision detection) like
git. This is a safer way to hash potentially untrusted files.
@xnox xnox closed this Feb 18, 2026
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.

1 participant

Comments