Forge Home

tang

deploys Tang, a server for binding data to network presence.

2,868 downloads

723 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.0 (latest)
  • 0.1.1
released Sep 9th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
  • Puppet >= 7.24 < 9.0.0
  • , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppet-tang', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppet-tang
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppet-tang --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppet/tang — version 0.2.0 Sep 9th 2024

tang

Build Status Release Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores puppetmodule.info docs AGPL v3 License

Tang is a server for binding data to network presence.

Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality
  3. Limitations - OS compatibility, etc.

Description

In simple terms: you have some data, but you only want it to be available when the system containing the data is on a certain, usually secure, network. This is where Tang comes in.

First, the client gets a list of the Tang server’s advertised asymmetric keys. This can happen online by a simple HTTP GET.

Second, the client uses one of these public keys to generate a unique, cryptographically strong encryption key.

The data is then encrypted using this key. Once the data is encrypted, the key is discarded. Some small metadata is produced as part of this operation which the client should store in a convenient location. This process of encrypting data is the provisioning step.

Third, when the client is ready to access its data, it simply loads the metadata produced in the provisioning step and performs an HTTP POST to recover the encryption key.

This process of encrypting data is the provisioning step.

Usage

Just include the tang class:

include tang

Limitations

Only working on RedHat based OS