Make AgentSigner::sign_request_signature return self on error

[?]
Mar 25, 2021, 7:47 AM
NLPZS76WC64DN5RQEOB45KWXUSEP4VJOVEBR6OMCMFX4MYIOMKSAC

Dependencies

  • [2] 2WEO7OZL Version updates: getting rid of anyhow + moving to Tokio 1.0
  • [3] KGIUIQYI Executing a shell command example
  • [4] 7FRJYUI6 Reboot because of a bad change
  • [5] BITIYBKM Removing Cargo.lock (tokio 0.3)
  • [6] HDEDMPBT Client example

Change contents

  • file move: thrussh-libsodium (dxwrx-rx-r)thrussh-libsodium (d--r------)
    [1.0]
    [4.20]
  • file move: src (dxwrx-rx-r)src (d--r------)
    [4.20]
    [4.27]
  • file move: lib.rs (-xw-x--x--)lib.rs (----------)
    [4.27]
    [4.37]
  • file move: Cargo.toml (-xw-x--x--)Cargo.toml (----------)
    [4.20]
    [4.5310]
  • file move: thrussh-keys (dxwrx-rx-r)thrussh-keys (d--r------)
    [1.0]
    [4.5798]
  • file move: src (dxwrx-rx-r)src (d--r------)
    [4.5798]
    [4.5805]
  • file move: signature.rs (-xw-x--x--)signature.rs (----------)
    [4.5805]
    [4.5821]
  • file move: pem.rs (-xw-x--x--)pem.rs (----------)
    [4.5805]
    [4.10525]
  • file move: lib.rs (-xw-x--x--)lib.rs (----------)
    [4.5805]
    [4.21590]
  • file move: key.rs (-xw-x--x--)key.rs (----------)
    [4.5805]
    [4.57451]
  • file move: format (dxwrx-rx-r)format (d--r------)
    [4.5805]
    [4.71328]
  • file move: pkcs8.rs (-xw-x--x--)pkcs8.rs (----------)
    [4.71328]
    [4.71340]
  • file move: pkcs5.rs (-xw-x--x--)pkcs5.rs (----------)
    [4.71328]
    [4.85753]
  • file move: openssh.rs (-xw-x--x--)openssh.rs (----------)
    [4.71328]
    [4.86809]
  • file move: mod.rs (-xw-x--x--)mod.rs (----------)
    [4.71328]
    [4.92032]
  • file move: encoding.rs (-xw-x--x--)encoding.rs (----------)
    [4.5805]
    [4.96067]
  • file move: blowfish.rs (-xw-x--x--)blowfish.rs (----------)
    [4.5805]
    [4.102812]
  • file move: bcrypt_pbkdf.rs (-xw-x--x--)bcrypt_pbkdf.rs (----------)
    [4.5805]
    [4.122723]
  • file move: agent (dxwrx-rx-r)agent (d--r------)
    [4.5805]
    [4.125224]
  • file move: server.rs (-xw-x--x--)server.rs (----------)
    [4.125224]
    [4.125237]
  • file move: msg.rs (-xw-x--x--)msg.rs (----------)
    [4.125224]
    [4.137855]
  • file move: mod.rs (-xw-x--x--)mod.rs (----------)
    [4.125224]
    [4.138582]
  • file move: client.rs (-xw-x--x--)client.rs (----------)
    [4.125224]
    [4.139093]
  • replacement in thrussh-keys/src/agent/client.rs at line 361
    [4.151859][2.3827:3920]()
    ) -> impl futures::Future<Output = Result<(Self, crate::signature::Signature), Error>> {
    [4.151859]
    [4.151964]
    ) -> impl futures::Future<Output = (Self, Result<crate::signature::Signature, Error>)> {
  • replacement in thrussh-keys/src/agent/client.rs at line 366
    [4.152079][4.152079:152120]()
    self.read_response().await?;
    [4.152079]
    [4.152120]
    if let Err(e) = self.read_response().await {
    return (self, Err(e));
    }
  • replacement in thrussh-keys/src/agent/client.rs at line 371
    [4.152195][2.3921:3993](),[2.3993][4.152275:152327](),[4.152275][4.152275:152327]()
    let sig: Result<crate::signature::Signature, Error> = {
    let mut r = self.buf.reader(1);
    [4.152195]
    [4.152327]
    let as_sig = |buf: &CryptoVec| -> Result<crate::signature::Signature, Error> {
    let mut r = buf.reader(1);
  • replacement in thrussh-keys/src/agent/client.rs at line 399
    [4.153578][4.153578:153611]()
    Ok((self, sig?))
    [4.153578]
    [4.153611]
    let sig = as_sig(&self.buf);
    (self, sig)
  • replacement in thrussh-keys/src/agent/client.rs at line 402
    [4.153632][4.153632:153686]()
    Err(Error::AgentProtocolError.into())
    [4.153632]
    [4.153686]
    (self, Err(Error::AgentProtocolError.into()))
  • file move: Cargo.toml (-xw-x--x--)Cargo.toml (----------)
    [4.5798]
    [4.157024]
  • file move: thrussh-config (dxwrx-rx-r)thrussh-config (d--r------)
    [1.0]
    [4.158258]
  • file move: src (dxwrx-rx-r)src (d--r------)
    [4.158258]
    [4.158265]
  • file move: proxy.rs (-xw-x--x--)proxy.rs (----------)
    [4.158265]
    [4.158277]
  • file move: lib.rs (-xw-x--x--)lib.rs (----------)
    [4.158265]
    [4.161114]
  • file move: Cargo.toml (-xw-x--x--)Cargo.toml (----------)
    [4.158258]
    [4.164787]
  • file move: thrussh (dxwrx-rx-r)thrussh (d--r------)
    [1.0]
    [4.165397]
  • file move: src (dxwrx-rx-r)src (d--r------)
    [4.165397]
    [4.165404]
  • file move: sshbuffer.rs (-xw-x--x--)sshbuffer.rs (----------)
    [4.165404]
    [4.165420]
  • file move: ssh_read.rs (-xw-x--x--)ssh_read.rs (----------)
    [4.165404]
    [4.166688]
  • file move: session.rs (-xw-x--x--)session.rs (----------)
    [4.165404]
    [4.171602]
  • file move: server (dxwrx-rx-r)server (d--r------)
    [4.165404]
    [4.188178]
  • file move: session.rs (-xw-x--x--)session.rs (----------)
    [4.188178]
    [4.188192]
  • file move: mod.rs (-xw-x--x--)mod.rs (----------)
    [4.188178]
    [4.203388]
  • file move: kex.rs (-xw-x--x--)kex.rs (----------)
    [4.188178]
    [4.225726]
  • file move: encrypted.rs (-xw-x--x--)encrypted.rs (----------)
    [4.188178]
    [4.230083]
  • file move: pty.rs (-xwrx-rx-r)pty.rs (---r------)
    [4.165404]
    [4.265120]
  • file move: negotiation.rs (-xw-x--x--)negotiation.rs (----------)
    [4.165404]
    [4.268386]
  • file move: msg.rs (-xw-x--x--)msg.rs (----------)
    [4.165404]
    [4.276619]
  • file move: lib.rs (-xw-x--x--)lib.rs (----------)
    [4.165404]
    [4.278640]
  • file move: key.rs (-xw-x--x--)key.rs (----------)
    [4.165404]
    [4.304500]
  • file move: kex.rs (-xw-x--x--)kex.rs (----------)
    [4.165404]
    [4.306916]
  • file move: compression.rs (-xw-x--x--)compression.rs (----------)
    [4.165404]
    [4.314851]
  • file move: client (dxwrx-rx-r)client (d--r------)
    [4.165404]
    [4.319192]
  • file move: session.rs (-xw-x--x--)session.rs (----------)
    [4.319192]
    [4.319206]
  • file move: proxy.rs (-xw-x--x--)proxy.rs (----------)
    [4.319192]
    [4.332746]
  • file move: mod.rs (-xw-x--x--)mod.rs (----------)
    [4.319192]
    [4.334998]
  • file move: kex.rs (-xw-x--x--)kex.rs (----------)
    [4.319192]
    [4.381546]
  • file move: encrypted.rs (-xw-x--x--)encrypted.rs (----------)
    [4.319192]
    [4.383877]
  • file move: cipher (dxwrx-rx-r)cipher (d--r------)
    [4.165404]
    [4.409076]
  • file move: mod.rs (-xw-x--x--)mod.rs (----------)
    [4.409076]
    [4.409086]
  • file move: clear.rs (-xw-x--x--)clear.rs (----------)
    [4.409076]
    [4.414933]
  • file move: chacha20poly1305.rs (-xw-x--x--)chacha20poly1305.rs (----------)
    [4.409076]
    [4.417020]
  • file move: auth.rs (-xw-x--x--)auth.rs (----------)
    [4.165404]
    [4.421956]
  • file move: examples (dxwrx-rx-r)examples (d--r------)
    [4.165397]
    [4.11]
  • file move: remote_shell_call.rs (-xw-x--x--)remote_shell_call.rs (----------)
    [4.11]
    [3.23]
  • file move: client.rs (-xw-x--x--)client.rs (----------)
    [4.11]
    [4.24]
  • file move: Cargo.toml (-xwrx-rx-r)Cargo.toml (---r------)
    [4.165397]
    [4.426118]
  • file move: shell.nix (-xw-x--x--)shell.nix (----------)
    [1.0]
    [4.427539]
  • file move: cryptovec (dxwrx-rx-r)cryptovec (d--r------)
    [1.0]
    [4.427973]
  • file move: src (dxwrx-rx-r)src (d--r------)
    [4.427973]
    [4.427980]
  • file move: lib.rs (-xw-x--x--)lib.rs (----------)
    [4.427980]
    [4.427990]
  • file move: Cargo.toml (-xw-x--x--)Cargo.toml (----------)
    [4.427973]
    [4.440660]
  • file move: README.md (-xw-x--x--)README.md (----------)
    [1.0]
    [4.441125]
  • file move: LICENSE-2.0.txt (-xwrx-rx-r)LICENSE-2.0.txt (---r------)
    [1.0]
    [4.442368]
  • file move: Cargo.toml (-xw-x--x--)Cargo.toml (----------)
    [1.0]
    [4.453741]