pckg_enc_key_seed

The `pckg_enc_key_seed` directive sets a seed value for generating encryption keys used in media packaging.

Syntaxpckg_enc_key_seed seed_value;
Defaultnone
Contexthttp, server, location
Arguments1

Description

The pckg_enc_key_seed directive in the Kaltura Media Framework Common NGINX Module allows users to define a seed for key generation utilized during the encryption of media packages. This seed is crucial for ensuring the consistency and unpredictability of encryption keys, which helps secure the streamed content. It can be specified in the http, server, or location contexts, making it flexible for various deployment architectures.

When you configure pckg_enc_key_seed, you provide a single argument that acts as the input seed. This value is then used by the media processing components to derive actual encryption keys that will be applied to media content before distribution. The ability to set this seed allows for scenarios where specific encryption keys need to be replicated across different environments or components for testing or development purposes, while still maintaining general security practices. It’s essential to keep this seed secure to prevent unauthorized access to the encryption mechanism.

It's important to note that the choice of seed can impact security; predictable seeds can lead to predictable encryption keys. As such, it is recommended to use a random, unique seed for production deployments to enhance security and protect content integrity. Be mindful of the seed management lifecycle, especially during configuration and deployment phases.

Config Example

http {
    pckg_enc_key_seed 123456789;
    server {
        location /media/ {
            # other configuration
        }
    }
}

Using a predictable seed can lead to vulnerabilities in media security.

Ensure that the seed is appropriately managed and kept confidential from unauthorized access.

← Back to all directives