MCPcopy Index your code
hub / github.com/charmbracelet/keygen

github.com/charmbracelet/keygen @v0.5.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.4 ↗ · + Follow
56 symbols 217 edges 2 files 34 documented · 61% 8 cross-repo links updated 3mo agov0.5.4 · 2025-10-02★ 171
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Keygen

Latest Release GoDoc Build Status Go ReportCard

An SSH key pair generator with password protected keys support. Supports generating RSA, ECDSA, and Ed25519 keys.

Example

kp, err := keygen.New(
    "awesome",
    keygen.WithPassphrase("awesome_secret"),
    keygen.WithKeyType(keygen.Ed25519),
)
if err != nil {
    log.Fatalf("error creating SSH key pair: %v", err)
}
fmt.Printf("Your authorized key: %s\n", kp.AuthorizedKey())

Contributing

See contributing.

Feedback

We’d love to hear your thoughts on this project. Feel free to drop us a note!

License

MIT


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 26
Function 24
Struct 4
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

keygen.go42 symbols
keygen_test.go14 symbols

For agents

$ claude mcp add keygen \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page