Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fabiand/crio-sha1-workaround


https://github.com/fabiand/crio-sha1-workaround

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# CRI-O Conf for SHA1

- https://fedoraproject.org/wiki/SHA1SignaturesGuidance

## Design

Install a CRIO snippet for setting the SHA1 env var.

## Install

[`generate.sh`](generate.sh) - Generate a MachineConfig for deployment - or - a shell script

$ generate.sh mc | oc apply -f -

# Wait for MC to be done
$ oc wait mcp worker --for condition=Updated=False --timeout=10s
$ oc wait mcp worker --for condition=Updated=True --timeout=15m

## Test

$ oc apply --wait -f manifests/pod.yaml
pod/virt-launcher-crypto created

# A PASS looks like:
$ oc rsh -c compute virt-launcher-crypto sh -c "env | grep OPENSSL"
OPENSSL_ENABLE_SHA1_SIGNATURES=1

# A FAILURE looks like:
$ oc rsh -c compute virt-launcher-crypto sh -c "env | grep OPENSSL"
command terminated with exit code 1

$ oc delete -f manifests/pod.yaml