FIPS standard in DevOps Security using Ubuntu

Have you wondered, what's with DevSecOps , the silver bullet in the industry ? Well, there are many aspects of DevSecOps, one could speak of, but lets' talk of something that is absolute must have on your platform, if Security is the persistent requirement for your product. FIPS 140-2 data Protection Standards.

So what is FIPS-140 Standards. It enables strict requirements on cryptography algorithms, and disabling use of public key algorithms and any other scheme that might be less secured. Essentially enabled by FIPS validated packages and cryptography. Canonical has come up with Ubuntu Pro packages that are available with Ubuntu Advantage subscription. You can check if you are subscribed to Ubuntu Advantage in your Ubuntu laptop / server by running

# ua status

On a normal course of Application programming and Product making , teams don't bother about Information encryption and related standards. By making use of FIPS standard platform , facilitated by Ubuntu Advantage subscription, one can make sure the FIPS validated crypts are used leading to reduction in time taken for accreditation and reduced cost in attaining FEDRAMP compliance.

FIPS validated crypto packages makes use of following in Ubuntu 20.04: 

linux-image-fips:    The Linux Kernel Crypto API.
libssl1.1:                 The OpenSSL cryptographic backend. This includes the necessary cryptography for OpenSSH as well.
libgcrypt20:            The libgcrypt cryptographic library.
strongswan:            StrongSwan, the IPSec VPN implementation

To enable FIPS on your Ubuntu server, do following, 

# apt update

# apt install ubuntu-advantage-tools

# ua attach

# ua enable fips-updates

A reboot will be necessary, as fips kernel module are enabled. Once enabled, /proc/sys/crypto/fips_enabled file contains characters 0x31 .

Now your Server is FIPS protected. Any application code making use of encryption, will now have to make use of FIPS validated encryption, without which there would be error from compiler or interpreter of programming language.


Comments

Popular posts from this blog

VLAN External Network in Openshift using NMState Operators and Multus

Migrating from OpenshiftSDN to OVNKubernetes CNI

Updating Z-stream of version in Openshift Container Platform