Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-omemo-dr for openSUSE:Factory 
checked in at 2023-11-09 21:35:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-omemo-dr (Old)
 and      /work/SRC/openSUSE:Factory/.python-omemo-dr.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-omemo-dr"

Thu Nov  9 21:35:41 2023 rev:2 rq:1124379 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-omemo-dr/python-omemo-dr.changes  
2023-06-05 18:06:16.995018697 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-omemo-dr.new.17445/python-omemo-dr.changes   
    2023-11-09 21:35:54.106001374 +0100
@@ -1,0 +2,6 @@
+Wed Nov  8 22:12:26 UTC 2023 - Alexei Sorokin <sor.ale...@meowr.ru>
+
+- Update to version 1.0.1:
+  * PreKeyBundle: Allow 0 for signed pre key.
+
+-------------------------------------------------------------------

Old:
----
  omemo-dr-v1.0.0.tar.bz2

New:
----
  omemo-dr-v1.0.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-omemo-dr.spec ++++++
--- /var/tmp/diff_new_pack.1CnLBd/_old  2023-11-09 21:35:54.614020130 +0100
+++ /var/tmp/diff_new_pack.1CnLBd/_new  2023-11-09 21:35:54.614020130 +0100
@@ -19,7 +19,7 @@
 %{?sle15_python_module_pythons}
 %define _name   omemo-dr
 Name:           python-omemo-dr
-Version:        1.0.0
+Version:        1.0.1
 Release:        0
 Summary:        OMEMO Encryption Library
 License:        GPL-3.0-or-later

++++++ omemo-dr-v1.0.0.tar.bz2 -> omemo-dr-v1.0.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/omemo-dr-v1.0.0/CHANGELOG.md 
new/omemo-dr-v1.0.1/CHANGELOG.md
--- old/omemo-dr-v1.0.0/CHANGELOG.md    2023-05-26 19:35:45.000000000 +0200
+++ new/omemo-dr-v1.0.1/CHANGELOG.md    2023-11-08 18:03:52.000000000 +0100
@@ -1,3 +1,9 @@
+omemo-dr 1.0.1 (08 Nov 2023)
+
+  Improvements
+
+  * PreKeyBundle: Allow 0 for signed pre key
+
 omemo-dr 1.0.0 (26 May 2023)
 
   * No changes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/omemo-dr-v1.0.0/src/omemo_dr/__init__.py 
new/omemo-dr-v1.0.1/src/omemo_dr/__init__.py
--- old/omemo-dr-v1.0.0/src/omemo_dr/__init__.py        2023-05-26 
19:35:45.000000000 +0200
+++ new/omemo-dr-v1.0.1/src/omemo_dr/__init__.py        2023-11-08 
18:03:52.000000000 +0100
@@ -1,5 +1,5 @@
 import logging
 
-__version__ = "1.0.0"
+__version__ = "1.0.1"
 
 logging.getLogger("omemo_dr").addHandler(logging.NullHandler())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/omemo-dr-v1.0.0/src/omemo_dr/state/prekeybundle.py 
new/omemo-dr-v1.0.1/src/omemo_dr/state/prekeybundle.py
--- old/omemo-dr-v1.0.0/src/omemo_dr/state/prekeybundle.py      2023-05-26 
19:35:45.000000000 +0200
+++ new/omemo-dr-v1.0.1/src/omemo_dr/state/prekeybundle.py      2023-11-08 
18:03:52.000000000 +0100
@@ -53,7 +53,8 @@
         if not 1 <= prekey["id"] <= MAX_INT:
             raise BundleValidationError("Prekey id out of range")
 
-        if not 1 <= bundle.spk["id"] <= MAX_INT:
+        if not 0 <= bundle.spk["id"] <= MAX_INT:
+            # Allow 0 to stay backwards compatible
             raise BundleValidationError("Signed pre key id out of range")
 
         return cls(

Reply via email to