Verify Flatcar Container Linux images with GPG
Kinvolk publishes new Flatcar Container Linux images for each release across a variety of platforms and hosting providers. Each channel has its own set of images ( stable , beta , alpha ) that are posted to our storage site. Along with each image, a signature is generated from the Flatcar Container Linux Image Signing Key and posted.
After downloading your image, you should verify it with gpg tool. First, download the image signing key:
|
|
Next, import the public key and verify that the ID matches the website: Flatcar Image Signing Key
|
|
Optionally, if you have your own gpg key, mark the key as valid in the local trustdb:
|
|
Now we’re ready to download an image and it’s signature, ending in .sig. We’re using the QEMU image in this example:
|
|
Verify image with gpg tool:
|
|
The Good signature message indicates that the file signature is valid. Go launch some machines now that we’ve successfully verified that this Flatcar Container Linux image isn’t corrupt, that it was authored by Kinvolk, and wasn’t tampered with in transit.