Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

The benefits of native FIPS support in Go 1.24

March 10, 2025
Derek Parker
Related topics:
GoSecuritySecure Coding
Related products:
Developer ToolsRed Hat Enterprise Linux

Share:

    The Go programming language has reached another significant milestone with the release of version 1.24. We at Red Hat are particularly excited about one of its standout features, native FIPS 140-3 support. This addition represents a major step forward for Go's adoption in enterprise and government environments where security compliance is paramount.

    Native FIPS support

    The introduction of the FIPS Cryptographic Module in Go 1.24 marks a watershed moment for the language's security capabilities. This new module provides FIPS 140-3-compliant implementations of cryptographic algorithms, seamlessly integrated into the standard library. What makes this particularly noteworthy is its transparent implementation. Existing Go applications can leverage FIPS-compliant cryptography without requiring code changes.

    Red Hat's contribution to Go's FIPS

    At Red Hat, we've long understood the importance of FIPS compliance for our enterprise customers, particularly those in regulated industries and government sectors. Our engineers have worked closely with the Go team to help make this feature a reality, contributing our expertise in FIPS implementation and certification processes gained from our extensive experience with Red Hat Enterprise Linux (RHEL).

    The collaboration between Red Hat and the Go team has focused on ensuring that the FIPS implementation meets both the rigorous standards required for certification and the practical needs of real-world applications and RHEL customers and the overall Go community. This partnership demonstrates our commitment to not just using open source software, but actively contributing to its advancement.

    Implementation details

    The new FIPS support in Go 1.24 introduces two key mechanisms for enabling FIPS compliance:

    1. Build-time configuration through the GOFIPS140 environment variable, allowing developers to select specific versions of the Go Cryptographic Module.

    2. Runtime control via the fips140 GODEBUG setting, enabling dynamic FIPS mode activation.

    The initial release includes Go Cryptographic Module version v1.0.0, which is currently undergoing validation with a CMVP-accredited laboratory. This thorough validation process ensures that the implementation meets all FIPS 140-3 requirements.

    Benefits for enterprise users

    This native FIPS support brings several significant advantages:

    • Simplified compliance: Organizations can more easily meet FIPS requirements without additional third-party modules.

    • Improved maintainability: Direct integration with Go's standard library means fewer external dependencies.

    • Better performance: Native implementation allows for optimized cryptographic operations without the overhead of CGO calling into OpenSSL.

    • Reduced development overhead: Transparent integration means no code changes for existing applications.

    Red Hat's commitment

    We at Red Hat will continue to maintain our existing FIPS solution for older Go versions. This will ensure that customers using RHEL, Red Hat OpenShift, or other Red Hat products in their FIPS environments will still continue to work and benefit from security updates. Going forward, we are committed to moving over to the pure Go solution, dropping a significant amount of downstream modifications. This is in line with Red Hat's dedication to open source and our upstream first mindset.

    Looking ahead, Red Hat plans to integrate Go's native FIPS module into our product ecosystem. This will allow us to provide a more streamlined and maintainable FIPS-compliant environment for Go applications across our platforms. We're committed to the following practices:

    • Contributing to the upstream maintenance and enhancement of the FIPS Cryptographic Module.

    • Providing feedback and real-world usage patterns to guide future development.

    • Ensuring smooth integration with Red Hat's existing FIPS-compliant infrastructure.

    Next steps

    The addition of native FIPS support in Go 1.24 represents a significant maturation of the language's enterprise readiness. Red Hat is proud to have contributed to this achievement and remains committed to supporting and enhancing this capability both upstream and within our product portfolio.

    As the Go ecosystem continues to evolve, Red Hat will maintain our active involvement in the community, ensuring that critical features like FIPS compliance receive the attention and support they deserve. We look forward to seeing how this new capability enables our customers to build more secure and compliant applications with Go.

    Related Posts

    • Go and FIPS 140-2 on Red Hat Enterprise Linux

    • FIPS mode for Red Hat Go Toolset

    • Handling FIPS mode in upstream projects for RHEL

    • Is your Go application FIPS compliant?

    • Using Delve to debug Go programs on Red Hat Enterprise Linux

    Recent Posts

    • How to encrypt RHEL images for Azure confidential VMs

    • How to manage RHEL virtual machines with Podman Desktop

    • Speech-to-text with Whisper and Red Hat AI Inference Server

    • How to use Splunk as an event source for Event-Driven Ansible

    • Integrate vLLM inference on macOS/iOS with Llama Stack APIs

    What’s up next?

    Learn how to set up and use the Developer Sandbox for Red Hat OpenShift. With the Developer Sandbox, you experience hands-on learning resources without setup or configuration, and learn to develop quicker than ever before.

    Start the activity
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue