Skip to content

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

Closed

Description

@gopherbot

@FiloSottile requested issue #74947 to be considered for backport to the next 1.24 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 (CL 701517)
  2. preparing release-branch.go1.24 by reverting a small post-module seal change (CL 701440)
  3. preparing release-branch.go1.24 by backporting a couple internal fips140 tooling changes (CL 701439, CL 701437)
  4. backporting to release-branch.go1.24 (CL 701438)
  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.24.8 milestone on Sep 18, 2025
  2. FiloSottile commented on Sep 18, 2025

    @FiloSottile
    Contributor

    While doing this backport and re-seal, I would also like to backport two CLs that will make long-term maintenance of the module easier:

    Neither is visible from the application's point of view, so it shouldn't be necessary to backport this to the Go 1.25 tree. (We fix the version string in the crypto/fips140 package anyway, and the other one is a test-only change.)

  3. JunyangShao commented on Sep 24, 2025

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

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/701439 mentions this issue: [release-branch.go1.24] crypto/internal/fips140: make Version return latest when not frozen

  7. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/701437 mentions this issue: [release-branch.go1.24] crypto/internal/fips140test: make TestCASTFailures standalone

  8. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

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

  9. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/701440 mentions this issue: [release-branch.go1.24] crypto/internal/fips140: revert post-sealing change to FIPS 140-3 module

  10. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

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

  11. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Closed by merging CL 701439 (commit abbddbb) to release-branch.go1.24.

  12. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Closed by merging CL 701437 (commit 0face6f) to release-branch.go1.24.

  13. gopherbot commented on Sep 25, 2025

    @gopherbot
    ContributorAuthor

    Closed by merging CL 701440 (commit 908f609) to release-branch.go1.24.

  14. locked and limited conversation to collaborators on Sep 25, 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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions