Understand the age plugin architecture
mainThe age-plugin library provides an API for building plugins that extend the age file encryption format. Plugins allow exposing recipient and identity logic across process boundaries.
An age client (like rage) interacts with plugins using two main components:
- Recipients: Wraps file keys into stanzas for encryption.
- Identities: Unwraps stanzas to retrieve file keys for decryption.
Plugins are identified by a case-insensitive NAME. The client searches the system PATH for a binary named age-plugin-<name> to execute the plugin.