Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An SSH key pair generator 🗝️

License

NotificationsYou must be signed in to change notification settings

charmbracelet/keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest ReleaseGoDocBuild StatusGo 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))iferr!=nil {log.Fatalf("error creating SSH key pair: %v",err)}fmt.Printf("Your authorized key: %s\n",kp.AuthorizedKey())

Feedback

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

License

MIT


Part ofCharm.

The Charm logo

Charm热爱开源 • Charm loves open source


[8]ページ先頭

©2009-2025 Movatter.jp