Skip to content

Plugin interface for identity to recipient conversion? #666

Description

@FiloSottile

Although key generation is too plugin-specific to handle with a unified interface, and is best left to a direct invocation of the plugin, converting the identity string to a recipient string could be abstracted away.

If we add this plugin protocol extension, we should expose it in the CLI from age-keygen -y and in the API from plugin.Identity.Recipient, making plugin.Identity.Recipient().String() actually return the recipient encoding if supported.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions