Commit 48b4884
committed
🧹 fix(sidecar): use infallible KeyHandle conversion
`ObjectHandle` -> `KeyHandle` cannot fail, so `try_from` plus an
`anyhow::Context` wrapper was dead error handling. clippy's
`unnecessary_fallible_conversions` lint made this a hard error under
`-D warnings`, which this crate escalates further via `pedantic = "deny"`.
Pre-existing on main; left out of the dependency commit to keep that
diff scoped to dependencies.
Verified on aarch64-linux (rust:1.94-trixie with libtss2-dev, swtpm,
tpm2-tools) because tss-esapi-sys ships no aarch64-darwin bindings:
cargo clippy --all-targets -- -D warnings exit 0
cargo test 24 passed, 0 failed1 parent 1e9ae4c commit 48b4884
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
0 commit comments