Skip to content

Add crypto/x509 to FIPS User Guide #694

Closed

Description

@qmuntal

crypto/x509 was not initially added to the FIPS User Guide on purpose, as it has not been modified as part of the FIPS 140-2 support. On the other hand, it does use many crypto primitives that are affected by the FIPS support.

As this is such a foundational package, I makes sense to document it in the FIPS User Guide, at least the things related to the encryption and signing APIs.

Context: #692 (comment)

Activity

  1. gdams commented on Mar 3, 2026

    @gdams
    Member

    Quim Muntal (@qmuntal) it looks like this user guide now mentions crypto/x509. Can this be closed?

  2. qmuntal commented on Mar 3, 2026

    @qmuntal
    MemberAuthor

    Hmm, where do you see it mentioned? 🐱

  3. gdams commented on Mar 3, 2026

    @gdams
    Member

    Hmm, where do you see it mentioned? 🐱

    I see

    go/eng/doc/fips/UserGuide.md

    Lines 1720 to 1722 in f6ee49d

    - x509 certificate public key:
    - `rsa.PublicKey` with a bit length of 2048 or 3072. Bit length of 4096 is still not supported, see [this issue](https://github.com/golang/go/issues/41147) for more info.
    - `ecdsa.PublicKey` with a supported elliptic curve.
    but perhaps that's not what this PR is trying to cover?

  4. qmuntal commented on Mar 3, 2026

    @qmuntal
    MemberAuthor

    Oh, I see. That's just a minor note in the context if crypto/tls. This issue aims for documenting the whole crypto/x509 package.

  5. gdams commented on Apr 16, 2026

    @gdams
    Member

    This could just go into the cross-platform crypto guide?

  6. linked a pull request that will close this issueDocument crypto/x509 in the FIPS User Guide #2661on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationImprovements or additions to documentationfips

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions