Skip to content

Commit

Permalink
Delete diffie-hellman-group1-sha1 definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
markrwilliams committed Mar 21, 2017
1 parent 397f67e commit b9c54b7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/twisted/conch/ssh/_kex.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,25 +125,6 @@ class _DHGroupExchangeSHA1(object):



@implementer(_IFixedGroupKexAlgorithm)
class _DHGroup1SHA1(object):
"""
Diffie-Hellman key exchange with SHA-1 as HASH, and Oakley Group 2
(1024-bit MODP Group). Defined in RFC 4253, 8.1.
"""

preference = 6
hashProcessor = sha1
# Diffie-Hellman primes from Oakley Group 2 (RFC 2409, 6.2).
prime = long('17976931348623159077083915679378745319786029604875601170644'
'44236841971802161585193689478337958649255415021805654859805036464405'
'48199239100050792877003355816639229553136239076508735759914822574862'
'57500742530207744771258955095793777842444242661733472762929938766870'
'9205606050270810842907692932019128194467627007')
generator = 2



@implementer(_IFixedGroupKexAlgorithm)
class _DHGroup14SHA1(object):
"""
Expand Down

0 comments on commit b9c54b7

Please sign in to comment.