v0.4.0
Breaking Change
- Keygen no longer appends the key type to the file path.
- Use functional options to specify key type, passphrase, and other options.
PrivateKeyPEM
is nowRawPrivateKey
RawProtectedPrivateKey
returns the password protected PEM encoded private key.PublicKey
is nowRawAuthorizedKey
.AuthorizedKey
returns the authorized key stripped out of comments and options (the ssh pubic key only).PrivateKey
now returns the underlyingcrypto.PrivateKey
- Use
Signer
to get anssh.Signer
from your key pair.
Changelog
New Features
- ab32d1a: feat(ci): add workflows and goreleaser (@aymanbagabas)
- 6ed0378: feat: add more tests (@aymanbagabas)
- 37c7434: feat: bump dependencies (@aymanbagabas)
- 8d80e76: feat: return ssh.Signer (@aymanbagabas)
- 6c0cbbb: feat: specify ECDSA elliptic curve (@aymanbagabas)
Bug fixes
Documentation updates
- eef068d: docs: new readme footer (@muesli)
- f755604: docs: update example in readme (@aymanbagabas)
Other work
- 472a463: ref: change api to expose ssh.PublicKey and authorizd_key (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.