File tree Expand file tree Collapse file tree 5 files changed +7
-87
lines changed Expand file tree Collapse file tree 5 files changed +7
-87
lines changed Original file line number Diff line number Diff line change 1
- version = " 3.5 .*"
1
+ version = " 4.0 .*"
2
2
upstream_repository = " https://github.com/paramiko/paramiko"
3
3
# Requires a version of cryptography where cryptography.hazmat.primitives.ciphers.Cipher is generic
4
4
requires = [" cryptography>=37.0.0" ]
Original file line number Diff line number Diff line change
1
+ from typing import Final
2
+
1
3
from paramiko import util as util
2
4
from paramiko .agent import Agent as Agent , AgentKey as AgentKey
3
5
from paramiko .channel import Channel as Channel , ChannelFile as ChannelFile
@@ -10,7 +12,6 @@ from paramiko.client import (
10
12
)
11
13
from paramiko .common import io_sleep as io_sleep
12
14
from paramiko .config import SSHConfig as SSHConfig , SSHConfigDict as SSHConfigDict
13
- from paramiko .dsskey import DSSKey as DSSKey
14
15
from paramiko .ecdsakey import ECDSAKey as ECDSAKey
15
16
from paramiko .ed25519key import Ed25519Key as Ed25519Key
16
17
from paramiko .file import BufferedFile as BufferedFile
@@ -40,49 +41,7 @@ from paramiko.ssh_exception import (
40
41
)
41
42
from paramiko .transport import SecurityOptions as SecurityOptions , Transport as Transport
42
43
43
- __author__ : str
44
- __license__ : str
45
- __all__ = [
46
- "Agent" ,
47
- "AgentKey" ,
48
- "AuthenticationException" ,
49
- "AutoAddPolicy" ,
50
- "BadAuthenticationType" ,
51
- "BadHostKeyException" ,
52
- "BufferedFile" ,
53
- "Channel" ,
54
- "ChannelException" ,
55
- "ConfigParseError" ,
56
- "CouldNotCanonicalize" ,
57
- "DSSKey" ,
58
- "ECDSAKey" ,
59
- "Ed25519Key" ,
60
- "HostKeys" ,
61
- "Message" ,
62
- "MissingHostKeyPolicy" ,
63
- "PKey" ,
64
- "PasswordRequiredException" ,
65
- "ProxyCommand" ,
66
- "ProxyCommandFailure" ,
67
- "RSAKey" ,
68
- "RejectPolicy" ,
69
- "SFTP" ,
70
- "SFTPAttributes" ,
71
- "SFTPClient" ,
72
- "SFTPError" ,
73
- "SFTPFile" ,
74
- "SFTPHandle" ,
75
- "SFTPServer" ,
76
- "SFTPServerInterface" ,
77
- "SSHClient" ,
78
- "SSHConfig" ,
79
- "SSHConfigDict" ,
80
- "SSHException" ,
81
- "SecurityOptions" ,
82
- "ServerInterface" ,
83
- "SubsystemHandler" ,
84
- "Transport" ,
85
- "WarningPolicy" ,
86
- "io_sleep" ,
87
- "util" ,
88
- ]
44
+ __version__ : Final [str ]
45
+ __author__ : Final [str ]
46
+ __license__ : Final [str ]
47
+ key_classes : list [type [PKey ]]
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ class _SSH_GSSAPI_OLD(_SSH_GSSAuth):
25
25
def credentials_delegated (self ) -> bool : ...
26
26
def save_client_creds (self , client_token : str ) -> None : ...
27
27
28
- _SSH_GSSAPI = _SSH_GSSAPI_OLD
29
-
30
28
class _SSH_GSSAPI_NEW (_SSH_GSSAuth ):
31
29
def __init__ (self , auth_method : str , gss_deleg_creds : bool ) -> None : ...
32
30
def ssh_init_sec_context (
You can’t perform that action at this time.
0 commit comments