FiloSottile / FiloSottile/age

Plugin interface for identity to recipient conversion?

Open
#666 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
23.6k
Forks
670
Avg merge
39m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start with the plugin protocol extension and the existing age-keygen -y and plugin.Identity.Recipient entry points. Define how identity-to-recipient conversion is represented, then verify that supported plugins return the recipient encoding through both the CLI and API, including plugin.Identity.Recipient().String().

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.