sealed

package
v0.63.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package sealed wires the jose/sealed codec into the messaging typed doors. Importing it (a blank import is enough) registers the codec from init; without the import a seal-tagged event type fails startup with messaging.ErrSealingNotLinked (ADR-097, on the ADR-091 opt-in-at-the-build-graph pattern).

Index

Constants

This section is empty.

Variables

View Source
var ErrFamilyUnprovisioned = errors.New("messaging/sealed: family has no provisioned generation on this consumer")

ErrFamilyUnprovisioned fires at consumer startup when a Logical kid the declaration names has no provisioned generation on this side: nothing could verify or decrypt, so the consumer never starts.

View Source
var ErrGenerationUnresolvable = errors.New("messaging/sealed: provisioned generation does not resolve in the consumer's role")

ErrGenerationUnresolvable fires at consumer startup when a provisioned generation is indexed under the right role but the key store cannot hand out its material in that role — a consumer that started anyway would refuse every delivery under that kid.

View Source
var ErrKeyStoreNoFamilies = errors.New("messaging/sealed: the registered key store does not enumerate generation families; sealing needs the keystore module's store")

ErrKeyStoreNoFamilies fires when the registered key store cannot enumerate generation families — sealing needs the keystore module's store, not an arbitrary KeyStore.

View Source
var ErrRoleMismatch = errors.New("messaging/sealed: active generation lacks the role its role in sealing requires")

ErrRoleMismatch fires at startup when an active generation lacks the role its side needs.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL