diff --git a/stubs/paramiko/METADATA.toml b/stubs/paramiko/METADATA.toml index e25a1dea672b..9358422c4178 100644 --- a/stubs/paramiko/METADATA.toml +++ b/stubs/paramiko/METADATA.toml @@ -1,4 +1,4 @@ -version = "3.4.*" +version = "3.5.*" upstream_repository = "https://github.com/paramiko/paramiko" # Requires a version of cryptography where cryptography.hazmat.primitives.ciphers.Cipher is generic requires = ["cryptography>=37.0.0"] diff --git a/stubs/paramiko/paramiko/packet.pyi b/stubs/paramiko/paramiko/packet.pyi index 820d4e241da0..f2511c6ce882 100644 --- a/stubs/paramiko/paramiko/packet.pyi +++ b/stubs/paramiko/paramiko/packet.pyi @@ -33,6 +33,8 @@ class Packetizer: mac_key: bytes | bytearray, sdctr: bool = False, etm: bool = False, + aead: bool = False, + iv_out: bytes | None = None, ) -> None: ... def set_inbound_cipher( self, @@ -42,6 +44,8 @@ class Packetizer: mac_size: int, mac_key: bytes | bytearray, etm: bool = False, + aead: bool = False, + iv_in: bytes | None = None, ) -> None: ... def set_outbound_compressor(self, compressor: ZlibCompressor) -> None: ... def set_inbound_compressor(self, compressor: ZlibDecompressor) -> None: ...