Releases: nresare/ssh-agent-client-rs
Minor fixes release
What's Changed
- Removed the shebang from create.sh that works around the rpm packaging
tooling that previously introduced a spurious dependency on bash. - Refactor parsing of key and cert comments, no longer panic!() on
malformed UTF-8 sequences in ssh key comments. - Some minor documentation updates
- Output formatting in the examples
- Omit test_write_too_large on 32-bit platforms by @musicinmybrain in #53
New Contributors
- @musicinmybrain made their first contribution in #53
Full Changelog: v1.1.1...v1.1.2
Fix lifetime confusion with list_all_identities()
A tiny but valuable update, changing the signature of Client::list_all_identities() to use the 'static lifetime.
Since the method always returns values of the Cow::Owned variant, I believe this will not have any other consequence than avoiding the mutable borrow of Client end when the list_all_identities() call ends, as opposed to living for as long as all the retuned values live.
Full support for ssh certificates
The main change in this release is the introduction of proper support for SSH certificates, contributed by @calderonth. Thank you so much for adding this feature!
The public api has received some minor changes. The verify() method now accepts any implementation of Into<Identity> instead of &PublicKey. As this trait has been implemented for &PublicKey, porting existing code should be trivial. However, if the previous concrete type was used for type inference, you might need to add an explicit type.
v1.0.1
First stable release 1.0.0
As I have used this for some time now without any issues, I feel it is time to promote this release to a stable semver.org version.
The main thing that has happened in the code base is that I have added a blanket implementation of the ReadWrite trait, which means that third party crates can be created that provides different transport mechanisms to the ssh-agent as long as the connection implements the standard Read and Write traits.
I have also added support for Windows in this release, along with Unix like operating systems, tested on Linux and MacOS
Add support for sk-ecdsa keys
- This release references an updated version of the ssh-key crate which includes support for
sk-ecdsakey type - Minor updates to the API documentation
- The
examples/verify.rstool now prints an informative message on success - Bump dependencies
Test coverage, dependency updates, docs
Bumping the release version all the way to 0.9.0 to indicate that I'm getting ready to release a 1.0.0 that guarantees API stability. This release brings some additional test coverage, minor code cleanup and updates to the dependencies.
Updated sign() signature
Realised when starting to use this library that passing a reference to a byte slice makes for a more ergonomic API than the
previous Buffer type. Since I haven't released 1.0.0 yet, I'm making this a minor version release even though it is a breaking
change.
v0.3.0
This release includes functionality to ask the ssh-agent to sign arbitrary data. Please see examples/verify.rs for details
on how to use the API.
The API is also changed to take references to keys instead of requiring the caller to create keys that are moved into the calls
Docs and minor cleanup release
v0.2.0 Docs updates, api cleanup