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.
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CHANGELOG.rst +11 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/PKG-INFO +2 -2
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/requires.txt +1 -1
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/top_level.txt +0 -1
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/PKG-INFO +2 -2
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/key.py +5 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/pyproject.toml +2 -2
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_key.py +3 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.coveragerc +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.flake8 +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.gitignore +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.gitlab-ci.yml +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.gitmodules +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.pylintrc +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/.readthedocs.yaml +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CONTRIBUTING.rst +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/SOURCES.txt +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/CryptoParser.egg-info/dependency_links.txt +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/LICENSE.txt +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/MANIFEST.in +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/README.rst +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/__setup__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/base.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/classes.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/exception.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/field.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/parse.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/utils.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/common/x509.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/dnsrec/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/dnsrec/record.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/dnsrec/txt.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/header.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/parse.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/httpx/version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/common.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/ikev1.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/ikev2.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/isakmp.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ike/version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/record.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/subprotocol.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/ssh/version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/algorithm.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/ciphersuite.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/extension.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/grease.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/ldap.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/mysql.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/openvpn.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/postgresql.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/rdp.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/record.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/subprotocol.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/cryptoparser/tls/version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/.gitignore +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/changelog.rst +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/conf.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/development.rst +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/features.rst +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/docs/index.rst +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/setup.cfg +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/setup.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/ecc256.badssl.com.pem +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com.pem +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com_certificate.crt +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com_root_ca.crt +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/snakeoil_cert.pem +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/classes.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_algorithm.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_base.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_classes.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_exception.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_field.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_parse.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_utils.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/test_x509.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/dnsrec/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/dnsrec/test_record.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/dnsrec/test_txt.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/classes.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/test_header.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/httpx/test_version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/classes.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev1_payload.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev1_sa.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev2_notify.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev2_payload.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_ikev2_sa.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_isakmp.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ike/test_version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_ciphersuites.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_record.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_subprotocol.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/ssh/test_version.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/__init__.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/classes.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_alert.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_application_data.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_change_cipher_spec.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_ciphersuite.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_extension.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_grease.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_handshake.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_ldap.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_mysql.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_openvpn.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_postgresql.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_rdp.py +0 -0
- {cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/tls/test_record.py +0 -0
- {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.
|
|
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.
|
|
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
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CryptoParser
|
|
3
|
-
Version: 1.1.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
{cryptoparser-1.1.0 → cryptoparser-1.1.1}/test/common/certs/rsa8192.badssl.com_certificate.crt
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|