From 84763d20512f69d0a2b79864394e66424d542c47811cf2bbc1d019cada7e5094 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 14 May 2021 14:05:01 +0000 Subject: [PATCH 1/2] - update to version 2.4.0: - Enhancements: - Early implementation of exception handling for SSL properties; analyzer. AnalyzerError now available as a base exception type. - SSL certs will now populate their own ip property, accessing the SSL history API when needed to fill in the details. - New iphistory property of SSL certs to support the ip property and give direct access to the historial results. - Used the tldextract Python library to expose useful properties on Hostname objects such as tld, registered_domain, and subdomain - Change default days back for date-aware searches to 90 days (was 30) - Reject IPs as strings for Hostname objects - Ensure IPs are used when instantiating IPAddress objects - Defang hostnames (i.e. analyzer.Hostname('api[.]riskiq[.]net') ) - Support for Articles as a property of Hostnames and IPs, with autoloading for detailed fields including indicators, plus easy access to a list of all articles directly from analyzer.AllArticles() - Support for Malware as a property of Hostnames and IPs - Better coverage of pretty printing and dictionary representation across analyzer objects. - Bug Fixes: - Exception handling when no details found for an SSL certificate. - Proper handling of None types that may have prevented result caching OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passivetotal?expand=0&rev=13 --- passivetotal-2.3.0.tar.gz | 3 --- passivetotal-2.4.0.tar.gz | 3 +++ python-passivetotal.changes | 20 ++++++++++++++++++++ python-passivetotal.spec | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 passivetotal-2.3.0.tar.gz create mode 100644 passivetotal-2.4.0.tar.gz diff --git a/passivetotal-2.3.0.tar.gz b/passivetotal-2.3.0.tar.gz deleted file mode 100644 index 6098b58..0000000 --- a/passivetotal-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ae6a381614eb4cb129ceadc8240a8f59c0f7afb4d85800a8ff3f8586d5d0746 -size 42915 diff --git a/passivetotal-2.4.0.tar.gz b/passivetotal-2.4.0.tar.gz new file mode 100644 index 0000000..48dd348 --- /dev/null +++ b/passivetotal-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50d396008d8a3c670af4fe16ff68fe4cbc3c716e6e92319ba61898f5bb52feab +size 46826 diff --git a/python-passivetotal.changes b/python-passivetotal.changes index a349eb2..991f8da 100644 --- a/python-passivetotal.changes +++ b/python-passivetotal.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri May 14 14:04:15 UTC 2021 - Sebastian Wagner + +- update to version 2.4.0: + - Enhancements: + - Early implementation of exception handling for SSL properties; analyzer. AnalyzerError now available as a base exception type. + - SSL certs will now populate their own ip property, accessing the SSL history API when needed to fill in the details. + - New iphistory property of SSL certs to support the ip property and give direct access to the historial results. + - Used the tldextract Python library to expose useful properties on Hostname objects such as tld, registered_domain, and subdomain + - Change default days back for date-aware searches to 90 days (was 30) + - Reject IPs as strings for Hostname objects + - Ensure IPs are used when instantiating IPAddress objects + - Defang hostnames (i.e. analyzer.Hostname('api[.]riskiq[.]net') ) + - Support for Articles as a property of Hostnames and IPs, with autoloading for detailed fields including indicators, plus easy access to a list of all articles directly from analyzer.AllArticles() + - Support for Malware as a property of Hostnames and IPs + - Better coverage of pretty printing and dictionary representation across analyzer objects. + - Bug Fixes: + - Exception handling when no details found for an SSL certificate. + - Proper handling of None types that may have prevented result caching + ------------------------------------------------------------------- Fri Apr 16 19:46:00 UTC 2021 - Sebastian Wagner diff --git a/python-passivetotal.spec b/python-passivetotal.spec index c2be626..e42deef 100644 --- a/python-passivetotal.spec +++ b/python-passivetotal.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-passivetotal -Version: 2.3.0 +Version: 2.4.0 Release: 0 Summary: Client for the PassiveTotal REST API License: GPL-2.0-only From 8393b1d142d666217e758684ebfc980c92224f98cc7d83ad8c02e6756dfc4945 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 15 May 2021 10:47:09 +0000 Subject: [PATCH 2/2] add missing runtime dependency tldextract OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passivetotal?expand=0&rev=14 --- python-passivetotal.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-passivetotal.spec b/python-passivetotal.spec index e42deef..d921d61 100644 --- a/python-passivetotal.spec +++ b/python-passivetotal.spec @@ -34,6 +34,7 @@ Requires: python-ez_setup Requires: python-future Requires: python-python-dateutil Requires: python-requests +Requires: python-tldextract Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch