Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package otpclient for openSUSE:Factory 
checked in at 2023-06-16 16:54:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/otpclient (Old)
 and      /work/SRC/openSUSE:Factory/.otpclient.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "otpclient"

Fri Jun 16 16:54:13 2023 rev:27 rq:1093278 version:3.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/otpclient/otpclient.changes      2023-05-26 
20:15:55.336423167 +0200
+++ /work/SRC/openSUSE:Factory/.otpclient.new.15902/otpclient.changes   
2023-06-16 16:55:25.405912464 +0200
@@ -1,0 +2,6 @@
+Wed Jun 14 12:00:53 UTC 2023 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to 3.1.8:
+  * Fix importing Aegis plain text json (#296).
+
+-------------------------------------------------------------------

Old:
----
  v3.1.7.tar.gz
  v3.1.7.tar.gz.asc

New:
----
  v3.1.8.tar.gz
  v3.1.8.tar.gz.asc

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

Other differences:
------------------
++++++ otpclient.spec ++++++
--- /var/tmp/diff_new_pack.BHIVOd/_old  2023-06-16 16:55:26.133916759 +0200
+++ /var/tmp/diff_new_pack.BHIVOd/_new  2023-06-16 16:55:26.137916783 +0200
@@ -18,7 +18,7 @@
 
 %define uclname OTPClient
 Name:           otpclient
-Version:        3.1.7
+Version:        3.1.8
 Release:        0
 Summary:        Simple GTK+ client for managing TOTP and HOTP
 License:        GPL-3.0-or-later


++++++ v3.1.7.tar.gz -> v3.1.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OTPClient-3.1.7/CMakeLists.txt 
new/OTPClient-3.1.8/CMakeLists.txt
--- old/OTPClient-3.1.7/CMakeLists.txt  2023-05-26 08:24:01.000000000 +0200
+++ new/OTPClient-3.1.8/CMakeLists.txt  2023-06-14 11:53:50.000000000 +0200
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.16)
-project(OTPClient VERSION "3.1.7" LANGUAGES "C")
+project(OTPClient VERSION "3.1.8" LANGUAGES "C")
 include(GNUInstallDirs)
 
 configure_file("src/common/version.h.in" "version.h")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/OTPClient-3.1.7/data/com.github.paolostivanin.OTPClient.appdata.xml 
new/OTPClient-3.1.8/data/com.github.paolostivanin.OTPClient.appdata.xml
--- old/OTPClient-3.1.7/data/com.github.paolostivanin.OTPClient.appdata.xml     
2023-05-26 08:24:01.000000000 +0200
+++ new/OTPClient-3.1.8/data/com.github.paolostivanin.OTPClient.appdata.xml     
2023-06-14 11:53:50.000000000 +0200
@@ -84,6 +84,14 @@
   </content_rating>
 
   <releases>
+    <release version="3.1.8" date="2023-06-14">
+      <description>
+        <p>OTPClient 3.1.8 brings a single fix</p>
+        <ul>
+          <li>Fix importing Aegis plain json</li>
+        </ul>
+      </description>
+    </release>
     <release version="3.1.7" date="2023-05-26">
       <description>
         <p>OTPClient 3.1.7 brings many fixes</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OTPClient-3.1.7/src/common/aegis.c 
new/OTPClient-3.1.8/src/common/aegis.c
--- old/OTPClient-3.1.7/src/common/aegis.c      2023-05-26 08:24:01.000000000 
+0200
+++ new/OTPClient-3.1.8/src/common/aegis.c      2023-06-14 11:53:50.000000000 
+0200
@@ -53,7 +53,9 @@
         return NULL;
     }
 
-    GSList *otps = parse_json_data (json_string_value (json_object_get (json, 
"db")), err);
+    gchar *dumped_json = json_dumps(json_object_get (json, "db"), 0);
+    GSList *otps = parse_json_data (dumped_json, err);
+    gcry_free (dumped_json);
 
     return otps;
 }

Reply via email to