Name: python-cryptoparser Version: 1.6.0 Release: 1%{?dist} Summary: Multi-protocol cryptographic protocol parser library License: MPL-2.0 URL: https://gitlab.com/coroner/cryptoparser Source0: %{name}_%{version}.tar.xz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-cryptodatahub >= 1.6.0 %description CryptoParser is a library for parsing cryptographic protocol messages including TLS, SSH, IKE, and related protocols. It is used as the parsing backend for CryptoLyzer. %package -n python3-cryptoparser Summary: %{summary} Requires: python3-asn1crypto Requires: python3-attrs Requires: python3-cryptodatahub >= 1.6.0 Requires: python3-urllib3 %description -n python3-cryptoparser CryptoParser is a library for parsing cryptographic protocol messages including TLS, SSH, IKE, and related protocols. It is used as the parsing backend for CryptoLyzer. %prep %setup -q -T -c -n %{name}-%{version} tar -xJf %{SOURCE0} --strip-components=1 sed -i "s/, 'setuptools-scm'//" pyproject.toml sed -i "s/name = 'CryptoParser'/name = 'cryptoparser'/" pyproject.toml sed -i "s/exclude = \['submodules'\]/include = ['cryptoparser*']/" pyproject.toml %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %install export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %{__python3} -m pip install --no-build-isolation --no-deps --root %{buildroot} --prefix %{_prefix} . %check %files -n python3-cryptoparser %{python3_sitelib}/cryptoparser/ %{python3_sitelib}/cryptoparser-%{version}.dist-info/ %license LICENSE.txt %changelog * Tue Aug 25 2026 Szilárd Pfeiffer - 1.6.0-1 - add trust anchors extension related messages (#104) - add server padding extension related messages (#104) - add application-layer protocol settings extension related messages with the old code point (#104) - bound the outer extension payload of the encrypted client hello by the extension length (#104) - preserve the transform number when parsing the IKEv1 transform payload (#105) - follow the replacement of the named group with the key parameter (#106) - make the parameter classes of the invalid extension types immutable (#104) * Fri Jul 31 2026 Szilárd Pfeiffer - 1.5.0-1 - add IKEv1 and IKEv2 certificate payload parsing (#103) - add IKEv1 identification payload parsing (#103) - add IKEv1 signature payload parsing (#103) - add IKEv2 identification payload parsing (#103) - add IKEv2 authentication payload parsing (#103) - add IKEv2 extensible authentication protocol payload parsing (#103) - add IKEv2 encrypted and authenticated payload parsing (#103) - keep IKEv1 and IKEv2 payloads of unknown type unparsed instead of rejecting the message (#103) - parse the IKEv1 and IKEv2 identification payload data according to the identification type (#103) - parse the digital signature envelope of the IKEv2 authentication payload (#103) - split the ISAKMP message parsing and composing into header and payload chain steps (#103) - use typed values in the IKEv2 signature hash algorithms notify payload (#103) - add getter for the distinguished name of the IKEv1 certificate request payload (#103) - add getter for the certification authority hashes of the IKEv2 certificate request payload (#103) * Fri Jul 17 2026 Szilárd Pfeiffer - 1.4.0-1 - add getter for multiple payloads with the same type (#93) - add IKEv2 NAT detection source IP and destination IP notify payload parsing (#93) - add IKEv2 set window size notify payload parsing (#93) - add IKEv2 use transport mode notify payload parsing (#93) - add IKEv2 HTTP certificate lookup supported notify payload parsing (#93) - add IKEv2 signature hash algorithms notify payload parsing (#93) - add IKEv2 intermediate exchange supported notify payload parsing (#93) - add IKEv2 use PPK notify payload parsing (#93) - add IKEv2 redirect supported notify payload parsing (#93) - add IKEv2 fragmentation supported notify payload parsing (#93) - add childless IKEv2 supported notify payload parsing (#93) * Mon Jun 15 2026 Szilárd Pfeiffer - 1.3.0-1 - add Debian and RPM packaging (#102) - add JA4 tag generation for the client hello message (#100) - add JA4X tag generation for X.509 certificates (#101) - add certificate-related messages for protocol version 1.3 (#94) - make IKEv2 transform key length optional for fixed-key ciphers (#99)