Skip to content

crypto/internal/fips140/rsa: requires a panic if self-tests fail [1.25 backport] #75524

Closed

Description

@gopherbot

@FiloSottile requested issue #74947 to be considered for backport to the next 1.25 minor release.

@gopherbot please open backport issues for Go 1.24 and Go 1.25.

Backporting a change to the FIPS 140-3 module is an exception we discussed with the lab.

It will involve:

  1. landing the change on master
  2. preparing release-branch.go1.24 by reverting a small post-module seal change
  3. preparing release-branch.go1.24 by backporting a couple internal fips140 tooling changes
  4. backporting to release-branch.go1.24
  5. re-sealing the fips140 zip file on master based on the new release-branch.go1.24
  6. backporting the zip file to Go 1.24 and Go 1.25

Note that we'll have some builders failures in the middle of the process, because the tests will fail with the non-backported v1.0.0 zip'd module. They will resolve at the end of the process.

Activity

  1. added this to the Go1.25.2 milestone on Sep 18, 2025
  2. JunyangShao commented on Sep 24, 2025

    @JunyangShao
    Contributor
  3. added
    WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.
    CherryPickApprovedUsed during the release process for point releases
    and removed
    WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.
    on Sep 24, 2025
  4. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/706718 mentions this issue: [release-branch.go1.25] crypto/internal/fips140: remove key import PCTs, make keygen PCTs fatal

  5. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/706716 mentions this issue: [release-branch.go1.25] crypto/internal/fips140/ecdsa: make TestingOnlyNewDRBG generic

  6. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/706719 mentions this issue: [release-branch.go1.25] lib/fips140: re-seal v1.0.0

  7. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/706717 mentions this issue: [release-branch.go1.25] crypto/internal/fips140: update frozen module version to "v1.0.0"

  8. gopherbot commented on Sep 26, 2025

    @gopherbot
    ContributorAuthor

    Closed by merging CL 706716 (commit 57bd28a) to release-branch.go1.25.

  9. locked and limited conversation to collaborators on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions