diff options
| author | robot-piglet <[email protected]> | 2024-12-17 12:07:28 +0300 | 
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-12-17 12:18:43 +0300 | 
| commit | 48bd5f88777f4dc94fd41a7dd22808ed639b985d (patch) | |
| tree | 6a899d7cc8bd632073408198260a93d76f99ef32 /contrib/python/Twisted/py3/twisted/conch/ssh | |
| parent | 3e05dc5f5c47aa8d220db7b5508cfbd4a0d8919f (diff) | |
Intermediate changes
commit_hash:3786c4fc65af12274eea45a3ef9de6050e262ac0
Diffstat (limited to 'contrib/python/Twisted/py3/twisted/conch/ssh')
| -rw-r--r-- | contrib/python/Twisted/py3/twisted/conch/ssh/keys.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/Twisted/py3/twisted/conch/ssh/keys.py b/contrib/python/Twisted/py3/twisted/conch/ssh/keys.py index 7d2f1072f47..e0e4a4b2c54 100644 --- a/contrib/python/Twisted/py3/twisted/conch/ssh/keys.py +++ b/contrib/python/Twisted/py3/twisted/conch/ssh/keys.py @@ -16,6 +16,7 @@ from hashlib import md5, sha256  from typing import Any  import bcrypt +from constantly import NamedConstant, Names  from cryptography import utils  from cryptography.exceptions import InvalidSignature  from cryptography.hazmat.backends import default_backend @@ -32,7 +33,6 @@ from twisted.conch.ssh import common, sexpy  from twisted.conch.ssh.common import int_to_bytes  from twisted.python import randbytes  from twisted.python.compat import iterbytes, nativeString -from twisted.python.constants import NamedConstant, Names  from twisted.python.deprecate import _mutuallyExclusiveArguments  try: @@ -99,11 +99,11 @@ class FingerprintFormats(Names):      @cvar MD5_HEX: Named constant representing fingerprint format generated          using md5[RFC1321] algorithm in hexadecimal encoding. -    @type MD5_HEX: L{twisted.python.constants.NamedConstant} +    @type MD5_HEX: L{constantly.NamedConstant}      @cvar SHA256_BASE64: Named constant representing fingerprint format          generated using sha256[RFC4634] algorithm in base64 encoding -    @type SHA256_BASE64: L{twisted.python.constants.NamedConstant} +    @type SHA256_BASE64: L{constantly.NamedConstant}      """      MD5_HEX = NamedConstant()  | 
