Skip to main content

Gnupg based Signature Tool for Helm Charts

Project description

Helm Sign

helm-cli is a small tool which allows for creating signatures for packed Helm charts. helm already offers an option for singing in verifying charts, however it lacks support for using an existing GnuPG environment (see https://github.com/helm/helm/issues/7599).

PyPI PyPI - Python Version coverage report PyPI - License PyPI - Downloads

Usage

Install

helm-sign is available in the Python Package Index (PyPI). Use the following command for installation:

pip install helm-sign

Sign

helm-sign directly works on an already packed Helm chart (compressed tar file).

Simple usage:

helm-sign your-chart-1.0.0.tgz

For options on how to define the key to be use, run helm-sign -h.

Verify Signature

helm verify needs the public key to be verified against in binary format. Therefore, this is how verification can be done:

cd `mktemp -d`
# download public key (Matthias Lohr) and convert to binary format
curl https://keys.openpgp.org/vks/v1/by-fingerprint/FD7C3F35609FC9FE9E265C926365ADB5071400AF | gpg --dearmor > mlohr.gpg
# download chart and provenance (signature) file
wget https://helm-charts.mlohr.com/hcloud-cloud-controller-manager/hcloud-cloud-controller-manager-2.0.0.tgz
wget https://helm-charts.mlohr.com/hcloud-cloud-controller-manager/hcloud-cloud-controller-manager-2.0.0.tgz.prov
# verify using helm CLI
helm verify --keyring ./mlohr.gpg hcloud-cloud-controller-manager-2.0.0.tgz

License

This project is published under the Apache License, Version 2.0. See LICENSE.md for more information.

Copyright (c) by Matthias Lohr <mail@mlohr.com>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helm_sign-2.0.0.tar.gz (98.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

helm_sign-2.0.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file helm_sign-2.0.0.tar.gz.

File metadata

  • Download URL: helm_sign-2.0.0.tar.gz
  • Upload date:
  • Size: 98.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for helm_sign-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d289cb0bc1d2ffc6ef4bc93cd0f15934d0faedcbbd3e5fb80dee31a2484bc74a
MD5 3523fffd38f4de7b0ae8a553a67bbfb0
BLAKE2b-256 5bafb843c0532f2a6eb38133476ccdb0893841b85644559bb5874bc277a50528

See more details on using hashes here.

File details

Details for the file helm_sign-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: helm_sign-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for helm_sign-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8063633c8f4afaa26fd17b06d80b84215fc345be69eb2f3f7c8342fbbdc39be8
MD5 cf287a2bdfd8741319142250e5007391
BLAKE2b-256 4b04490a4d05808d66660871320aea11eb0a872410f31b5018f1fc7103a6362e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page