Skip to main content

Experimental source-attestation plugin for Stigmem.

Project description

Stigmem Source Attestation Plugin

Experimental source attestation plugin for Stigmem.

This package provides the stigmem-plugin-source-attestation source package for alpha validation. It registers through the stigmem.plugins entry point group and is loaded by stigmem-node only when explicitly installed and configured by an operator.

Status

Source attestation remains experimental. Installing this package does not add assertion-source enforcement, recall source weighting, or federation source guards to the supported default surface. Default installs remain inert unless the plugin is registered and the operator enables the relevant gates.

The package metadata is publication-shaped for the plugin readiness track, but registry publication remains on hold until dry-run evidence and maintainer clearance are recorded. See the feature record under features/source-attestation/ for the current status, evidence, and security notes.

Installation

pip install --pre stigmem-node==0.9.0a8 stigmem-plugin-source-attestation==0.1.0

Enable

Set the plugin gate environment variable to opt in:

export STIGMEM_SOURCE_ATTESTATION_ENABLED=1

The default install is inert; source attestation only activates when the package is installed, discovered through the stigmem.plugins entry point, and the operator enables the gate. Enforcement-specific gates such as STIGMEM_SOURCE_ATTESTATION_ENFORCE_ASSERT_VALIDATION and STIGMEM_SOURCE_ATTESTATION_ENFORCE_FEDERATION_INBOUND remain opt-in and must not be enabled with warn-only mode.

Disable

Unset the plugin gate environment variable, or set it to any value other than 1, true, yes, or on:

unset STIGMEM_SOURCE_ATTESTATION_ENABLED

The plugin returns to inert state at the next process start. No data migration is required; core source, scope, tenant, and audit enforcement continues to hold without plugin participation.

Test

From a Stigmem repository checkout with development dependencies installed:

uv run pytest node/tests/plugins/test_source_attestation_plugin_scaffold.py \
  node/tests/plugins/test_source_attestation_plugin_validation.py

The package itself ships no separate test tree; upstream plugin validation lives in node/tests/plugins/.

Uninstall

pip uninstall stigmem-plugin-source-attestation

Removing the package is sufficient. The gate environment variable becomes moot once the entry point is no longer discoverable.

Project Links

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

stigmem_plugin_source_attestation-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file stigmem_plugin_source_attestation-0.1.0.tar.gz.

File metadata

File hashes

Hashes for stigmem_plugin_source_attestation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef9835eca34f7b211ab190fdd00fb71f0f42409733e5dc2a2e0bf8ceb087b675
MD5 6678396ccd4046c633955e3b17d52985
BLAKE2b-256 48baf62d47333580ef3b674526217640febdfafc9919d310e0dea71aab23c527

See more details on using hashes here.

File details

Details for the file stigmem_plugin_source_attestation-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stigmem_plugin_source_attestation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b315b8e323d806eaad20f738d03007c5b002e3db63f415e30a6119ce81ff2bc
MD5 d36ba0263ab24e018000cb866d7c2d51
BLAKE2b-256 48b142ec0b77898f016fd0cc056bde860e876d8d51290a32396e9c79fa23542b

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