Skip to content

FIPS security policies do not work when using Provider::from_version("default_fips") #4594

Open
@jkalez

Description

@jkalez

Problem:

When using the Rust bindings, I call security::Policy::from_version("default_fips"). I then pass this policy to a config::Builder and create a Config. The config is eventually used to create an s2n-quic Client & Server. However, it appears when using the "default_fips" policy, the generated ClientHellos, do not include any CipherSuites. See the attached pcap for details.

Solution:

ClientHellos are generated with some number of acceptable FIPS CipherSuites, or if there are no acceptable CipherSuites, the call to from_version fails.

  • Does this change what S2N sends over the wire? If yes, explain. yes, by properly adding FIPS cipher suites
  • Does this change any public APIs? If yes, explain. No
  • Which versions of TLS will this impact? all FIPS versions

Requirements / Acceptance Criteria:

ClientHellos are generated with some number of acceptable FIPS CipherSuites.
no_client_hello.pcapng.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions