CryptoParser 1.1.0__tar.gz → 1.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CHANGELOG.rst +11 -0
  2. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/PKG-INFO +2 -2
  3. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/requires.txt +1 -1
  4. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/top_level.txt +0 -1
  5. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/PKG-INFO +2 -2
  6. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/key.py +5 -0
  7. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/pyproject.toml +2 -2
  8. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_key.py +3 -0
  9. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.coveragerc +0 -0
  10. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.flake8 +0 -0
  11. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.gitignore +0 -0
  12. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.gitlab-ci.yml +0 -0
  13. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.gitmodules +0 -0
  14. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.pylintrc +0 -0
  15. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.readthedocs.yaml +0 -0
  16. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CONTRIBUTING.rst +0 -0
  17. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/SOURCES.txt +0 -0
  18. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/dependency_links.txt +0 -0
  19. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/LICENSE.txt +0 -0
  20. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/MANIFEST.in +0 -0
  21. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/README.rst +0 -0
  22. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/__init__.py +0 -0
  23. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/__setup__.py +0 -0
  24. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/__init__.py +0 -0
  25. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/base.py +0 -0
  26. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/classes.py +0 -0
  27. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/exception.py +0 -0
  28. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/field.py +0 -0
  29. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/parse.py +0 -0
  30. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/utils.py +0 -0
  31. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/x509.py +0 -0
  32. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/dnsrec/__init__.py +0 -0
  33. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/dnsrec/record.py +0 -0
  34. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/dnsrec/txt.py +0 -0
  35. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/__init__.py +0 -0
  36. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/header.py +0 -0
  37. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/parse.py +0 -0
  38. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/version.py +0 -0
  39. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/__init__.py +0 -0
  40. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/common.py +0 -0
  41. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/ikev1.py +0 -0
  42. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/ikev2.py +0 -0
  43. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/isakmp.py +0 -0
  44. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/version.py +0 -0
  45. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/__init__.py +0 -0
  46. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/record.py +0 -0
  47. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/subprotocol.py +0 -0
  48. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/version.py +0 -0
  49. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/__init__.py +0 -0
  50. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/algorithm.py +0 -0
  51. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/ciphersuite.py +0 -0
  52. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/extension.py +0 -0
  53. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/grease.py +0 -0
  54. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/ldap.py +0 -0
  55. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/mysql.py +0 -0
  56. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/openvpn.py +0 -0
  57. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/postgresql.py +0 -0
  58. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/rdp.py +0 -0
  59. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/record.py +0 -0
  60. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/subprotocol.py +0 -0
  61. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/version.py +0 -0
  62. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/.gitignore +0 -0
  63. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/changelog.rst +0 -0
  64. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/conf.py +0 -0
  65. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/development.rst +0 -0
  66. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/features.rst +0 -0
  67. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/index.rst +0 -0
  68. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/setup.cfg +0 -0
  69. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/setup.py +0 -0
  70. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/__init__.py +0 -0
  71. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/__init__.py +0 -0
  72. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/ecc256.badssl.com.pem +0 -0
  73. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com.pem +0 -0
  74. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com_certificate.crt +0 -0
  75. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com_root_ca.crt +0 -0
  76. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/snakeoil_cert.pem +0 -0
  77. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/classes.py +0 -0
  78. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_algorithm.py +0 -0
  79. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_base.py +0 -0
  80. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_classes.py +0 -0
  81. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_exception.py +0 -0
  82. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_field.py +0 -0
  83. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_parse.py +0 -0
  84. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_utils.py +0 -0
  85. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_x509.py +0 -0
  86. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/dnsrec/__init__.py +0 -0
  87. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/dnsrec/test_record.py +0 -0
  88. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/dnsrec/test_txt.py +0 -0
  89. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/__init__.py +0 -0
  90. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/classes.py +0 -0
  91. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/test_header.py +0 -0
  92. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/test_version.py +0 -0
  93. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/__init__.py +0 -0
  94. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/classes.py +0 -0
  95. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev1_payload.py +0 -0
  96. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev1_sa.py +0 -0
  97. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev2_notify.py +0 -0
  98. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev2_payload.py +0 -0
  99. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev2_sa.py +0 -0
  100. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_isakmp.py +0 -0
  101. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_version.py +0 -0
  102. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/__init__.py +0 -0
  103. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_ciphersuites.py +0 -0
  104. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_record.py +0 -0
  105. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_subprotocol.py +0 -0
  106. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_version.py +0 -0
  107. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/__init__.py +0 -0
  108. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/classes.py +0 -0
  109. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_alert.py +0 -0
  110. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_application_data.py +0 -0
  111. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_change_cipher_spec.py +0 -0
  112. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_ciphersuite.py +0 -0
  113. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_extension.py +0 -0
  114. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_grease.py +0 -0
  115. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_handshake.py +0 -0
  116. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_ldap.py +0 -0
  117. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_mysql.py +0 -0
  118. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_openvpn.py +0 -0
  119. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_postgresql.py +0 -0
  120. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_rdp.py +0 -0
  121. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_record.py +0 -0
  122. {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_version.py +0 -0
@@ -2,6 +2,17 @@
2
2
  Changelog
3
3
  =========
4
4
 
5
+ ------------------
6
+ 1.1.1 - 2026-05-03
7
+ ------------------
8
+
9
+ Notable fixes
10
+ =============
11
+
12
+ - SSH
13
+
14
+ - add missing key size property (#96)
15
+
5
16
  -------------------
6
17
  1.1.0 - 2026-02-13
7
18
  -------------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CryptoParser
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: An analysis oriented security protocol parser and generator
5
5
  Author-email: Szilárd Pfeiffer <coroner@pfeifferszilard.hu>
6
6
  Maintainer-email: Szilárd Pfeiffer <coroner@pfeifferszilard.hu>
@@ -40,7 +40,7 @@ Description-Content-Type: text/x-rst
40
40
  License-File: LICENSE.txt
41
41
  Requires-Dist: asn1crypto
42
42
  Requires-Dist: attrs
43
- Requires-Dist: cryptodatahub==1.1.0
43
+ Requires-Dist: cryptodatahub==1.1.1
44
44
  Requires-Dist: urllib3
45
45
  Provides-Extra: tests
46
46
  Requires-Dist: pyfakefs; extra == "tests"
@@ -1,6 +1,6 @@
1
1
  asn1crypto
2
2
  attrs
3
- cryptodatahub==1.1.0
3
+ cryptodatahub==1.1.1
4
4
  urllib3
5
5
 
6
6
  [docs]
@@ -2,6 +2,5 @@ build
2
2
  cryptoparser
3
3
  dist
4
4
  docs
5
- htmlcov
6
5
  submodules
7
6
  test
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CryptoParser
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: An analysis oriented security protocol parser and generator
5
5
  Author-email: Szilárd Pfeiffer <coroner@pfeifferszilard.hu>
6
6
  Maintainer-email: Szilárd Pfeiffer <coroner@pfeifferszilard.hu>
@@ -40,7 +40,7 @@ Description-Content-Type: text/x-rst
40
40
  License-File: LICENSE.txt
41
41
  Requires-Dist: asn1crypto
42
42
  Requires-Dist: attrs
43
- Requires-Dist: cryptodatahub==1.1.0
43
+ Requires-Dist: cryptodatahub==1.1.1
44
44
  Requires-Dist: urllib3
45
45
  Provides-Extra: tests
46
46
  Requires-Dist: pyfakefs; extra == "tests"
@@ -24,6 +24,7 @@ from cryptodatahub.common.key import (
24
24
  PublicKeyParamsEcdsa,
25
25
  PublicKeyParamsEddsa,
26
26
  PublicKeyParamsRsa,
27
+ PublicKeySize,
27
28
  )
28
29
  from cryptodatahub.common.utils import hash_bytes
29
30
  from cryptodatahub.ssh.algorithm import SshHostKeyAlgorithm, SshHostKeyType, SshEllipticCurveIdentifier
@@ -77,6 +78,10 @@ class SshPublicKeyBase():
77
78
 
78
79
  return ':'.join((prefix, fingerprint))
79
80
 
81
+ @property
82
+ def key_size(self):
83
+ return PublicKeySize(self.public_key.key_type, self.public_key.key_size)
84
+
80
85
  @property
81
86
  def fingerprints(self):
82
87
  key_bytes = self.key_bytes
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
4
4
 
5
5
  [project]
6
6
  name = 'CryptoParser'
7
- version = '1.1.0'
7
+ version = '1.1.1'
8
8
  description = 'An analysis oriented security protocol parser and generator'
9
9
  authors = [
10
10
  {name = 'Szilárd Pfeiffer', email = 'coroner@pfeifferszilard.hu'}
@@ -47,7 +47,7 @@ license = {text = 'MPL-2.0'}
47
47
  dependencies = [
48
48
  'asn1crypto',
49
49
  'attrs',
50
- 'cryptodatahub==1.1.0',
50
+ 'cryptodatahub==1.1.1',
51
51
  'urllib3',
52
52
  ]
53
53
 
@@ -173,6 +173,9 @@ class TestHostKeyRSA(TestPublicKeyBase):
173
173
  def test_compose(self):
174
174
  self.assertEqual(self.host_key.compose(), self.host_key_bytes)
175
175
 
176
+ def test_key_size(self):
177
+ self.assertEqual(self.host_key.key_size, PublicKeySize(Authentication.RSA, 32))
178
+
176
179
  def test_asdict(self):
177
180
  self.assertEqual(self.host_key._asdict(), OrderedDict([
178
181
  ('key_type', 'host key'),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes