commit libu2f-host for openSUSE:Factory

2020-08-24 Thread root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2020-08-24 15:12:45

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new.3399 (New)


Package is "libu2f-host"

Mon Aug 24 15:12:45 2020 rev:14 rq:828708 version:1.1.10

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2019-06-18 
14:56:10.201409954 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new.3399/libu2f-host.changes
2020-08-24 15:13:27.722696935 +0200
@@ -1,0 +2,5 @@
+Fri Aug 21 13:54:14 UTC 2020 - Malte Kraus 
+
+- Add support for json-c 0.14.0 (json-c-update.patch)
+
+---

New:

  json-c-update.patch



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.gpvtO3/_old  2020-08-24 15:13:28.370697250 +0200
+++ /var/tmp/diff_new_pack.gpvtO3/_new  2020-08-24 15:13:28.374697253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libu2f-host
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 URL:https://developers.yubico.com/
 Source0:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz
 Source1:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz.sig
+Patch0: json-c-update.patch
 BuildRequires:  libhidapi-devel
 BuildRequires:  libtool
 BuildRequires:  libzip
@@ -74,7 +75,7 @@
 Documentation files for the host side of the U2F protocol.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure --disable-static --with-openssl --with-udevrulesdir=%{_udevrulesdir}

++ json-c-update.patch ++
commit 840f01135d2892f45e71b9e90405de587991bd03
Author: Björn Esser 
Date:   Mon Apr 13 14:12:25 2020 +0200

Add support for upcoming json-c 0.14.0.

TRUE/FALSE are not defined anymore.  1 and 0 are used instead.

diff --git a/u2f-host/u2fmisc.c b/u2f-host/u2fmisc.c
index e40ca3d..5a032ce 100644
--- a/u2f-host/u2fmisc.c
+++ b/u2f-host/u2fmisc.c
@@ -33,6 +33,19 @@ typedef int json_bool;
 #define u2fh_json_object_object_get(obj, key, value) (value = 
json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE
 #endif
 
+/* json-c 0.13.99 does not define TRUE/FALSE anymore
+ * the json-c maintainers replaced them with pure 1/0
+ * https://github.com/json-c/json-c/commit/0992aac61f8b
+ */
+#if defined JSON_C_VERSION_NUM && JSON_C_VERSION_NUM >= ((13 << 8) | 99)
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE  1
+#endif
+#endif
+
 static void
 dumpHex (unsigned char *data, int offs, int len)
 {




commit libu2f-host for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2019-06-18 14:56:06

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new.4811 (New)


Package is "libu2f-host"

Tue Jun 18 14:56:06 2019 rev:13 rq:706137 version:1.1.10

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2019-03-07 
10:51:15.489840190 +0100
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new.4811/libu2f-host.changes
2019-06-18 14:56:10.201409954 +0200
@@ -1,0 +2,7 @@
+Tue May 28 20:06:37 UTC 2019 - Karol Babioch 
+
+- Version 1.1.10 (released 2019-05-15)
+  - Add new devices to udev rules.
+  - Fix a potentially uninitialized buffer (CVE-2019-9578, bsc#1128140)
+
+---

Old:

  libu2f-host-1.1.9.tar.xz
  libu2f-host-1.1.9.tar.xz.sig

New:

  libu2f-host-1.1.10.tar.xz
  libu2f-host-1.1.10.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.rX1Mga/_old  2019-06-18 14:56:10.957409481 +0200
+++ /var/tmp/diff_new_pack.rX1Mga/_new  2019-06-18 14:56:10.961409479 +0200
@@ -18,7 +18,7 @@
 
 %define sover  0
 Name:   libu2f-host
-Version:1.1.9
+Version:1.1.10
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:LGPL-2.1-or-later
@@ -106,7 +106,7 @@
 
 %files -n %{name}%{sover}
 %{_libdir}/%{name}.so.%{sover}
-%{_libdir}/%{name}.so.%{sover}.1.9
+%{_libdir}/%{name}.so.%{sover}.1.10
 
 %files -n %{name}-devel
 %{_includedir}/u2f-host/

++ libu2f-host-1.1.9.tar.xz -> libu2f-host-1.1.10.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libu2f-host-1.1.9/70-u2f.rules 
new/libu2f-host-1.1.10/70-u2f.rules
--- old/libu2f-host-1.1.9/70-u2f.rules  2019-02-13 15:13:46.0 +0100
+++ new/libu2f-host-1.1.10/70-u2f.rules 2019-03-27 07:58:22.0 +0100
@@ -25,10 +25,10 @@
 # Neowave Keydo and Keydo AES
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1e0d", 
ATTRS{idProduct}=="f1d0|f1ae", TAG+="uaccess", GROUP="plugdev", MODE="0660"
 
-# HyperSecu HyperFIDO
+# HyperSecu HyperFIDO, KeyID U2F
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e|2ccf", 
ATTRS{idProduct}=="0880", TAG+="uaccess", GROUP="plugdev", MODE="0660"
 
-# Feitian ePass FIDO, BioPass FIDO2
+# Feitian ePass FIDO, BioPass FIDO2, KeyID U2F
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", 
ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d", 
TAG+="uaccess", GROUP="plugdev", MODE="0660"
 
 # JaCarta U2F
@@ -52,7 +52,23 @@
 # Google Titan U2F
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="18d1", 
ATTRS{idProduct}=="5026", TAG+="uaccess", GROUP="plugdev", MODE="0660"
 
-# Tomu board + chopstx U2F
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", 
ATTRS{idProduct}=="cdab", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+# Tomu board + chopstx U2F + SoloKeys
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", 
ATTRS{idProduct}=="cdab|a2ca", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+# SoloKeys
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", 
ATTRS{idProduct}=="5070|50b0", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+# Trezor
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="534c", 
ATTRS{idProduct}=="0001", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", 
ATTRS{idProduct}=="53c1", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+# Ledger Nano S and Nano X
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2c97", 
ATTRS{idProduct}=="0001|0004", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+# Kensington VeriMark
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06cb", 
ATTRS{idProduct}=="0088", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+# Longmai mFIDO
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="4c4d", 
ATTRS{idProduct}=="f703", TAG+="uaccess", GROUP="plugdev", MODE="0660"
 
 LABEL="u2f_end"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libu2f-host-1.1.9/ChangeLog 
new/libu2f-host-1.1.10/ChangeLog
--- old/libu2f-host-1.1.9/ChangeLog 2019-03-06 15:57:19.0 +0100
+++ new/libu2f-host-1.1.10/ChangeLog2019-05-15 13:54:49.0 +0200
@@ -1,3 +1,57 @@
+2019-05-15  Klas Lindfors 
+
+   * NEWS: NEWS for 1.1.10
+
+2019-03-27  Klas Lindfors 
+
+   * : commit 8d210b586dc8d698c7b612ca56f0c71b3d048453 Merge: b704a14
+   9bfe57f Author: Klas Lindfors  Date:   Wed Mar 27
+   07:56:39 2019 +

commit libu2f-host for openSUSE:Factory

2019-03-07 Thread root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2019-03-07 10:50:55

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new.28833 (New)


Package is "libu2f-host"

Thu Mar  7 10:50:55 2019 rev:12 rq:682261 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2019-03-06 
15:52:14.492425718 +0100
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new.28833/libu2f-host.changes   
2019-03-07 10:51:15.489840190 +0100
@@ -1,0 +2,7 @@
+Wed Mar  6 16:23:31 UTC 2019 - Karol Babioch 
+
+- Version 1.1.9 (released 2019-03-06)
+  - Fix CID copying from the init response, which broke compatibility with some
+devices.
+
+---

Old:

  libu2f-host-1.1.8.tar.xz
  libu2f-host-1.1.8.tar.xz.sig

New:

  libu2f-host-1.1.9.tar.xz
  libu2f-host-1.1.9.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.1cw3RS/_old  2019-03-07 10:51:16.201839995 +0100
+++ /var/tmp/diff_new_pack.1cw3RS/_new  2019-03-07 10:51:16.205839994 +0100
@@ -18,7 +18,7 @@
 
 %define sover  0
 Name:   libu2f-host
-Version:1.1.8
+Version:1.1.9
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:LGPL-2.1-or-later
@@ -106,7 +106,7 @@
 
 %files -n %{name}%{sover}
 %{_libdir}/%{name}.so.%{sover}
-%{_libdir}/%{name}.so.%{sover}.1.8
+%{_libdir}/%{name}.so.%{sover}.1.9
 
 %files -n %{name}-devel
 %{_includedir}/u2f-host/

++ libu2f-host-1.1.8.tar.xz -> libu2f-host-1.1.9.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libu2f-host-1.1.8/ChangeLog 
new/libu2f-host-1.1.9/ChangeLog
--- old/libu2f-host-1.1.8/ChangeLog 2019-03-05 14:05:55.0 +0100
+++ new/libu2f-host-1.1.9/ChangeLog 2019-03-06 15:57:19.0 +0100
@@ -1,3 +1,21 @@
+2019-03-06  Klas Lindfors 
+
+   * NEWS: NEWS for 1.1.9
+
+2019-03-06  Klas Lindfors 
+
+   * u2f-host/devs.c: lib: endianness of cid was changed with fix for
+   init parsing this caused issues on some u2f devices fixes #115
+
+2019-03-05  Klas Lindfors 
+
+   * build-aux/travis: travis: always do syntax-check skip unneeded
+   stuff for win builds
+
+2019-03-05  Klas Lindfors 
+
+   * NEWS, configure.ac: bump version after release
+
 2019-03-05  Klas Lindfors 
 
* NEWS: NEWS for 1.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libu2f-host-1.1.8/NEWS new/libu2f-host-1.1.9/NEWS
--- old/libu2f-host-1.1.8/NEWS  2019-03-05 14:02:14.0 +0100
+++ new/libu2f-host-1.1.9/NEWS  2019-03-06 15:57:04.0 +0100
@@ -1,5 +1,10 @@
 libu2f-host NEWS -- History of user visible changes.
 
+* Version 1.1.9 (released 2019-03-06)
+
+** Fix CID copying from the init response.
+This broke compatibility with some devices.
+
 * Version 1.1.8 (released 2019-03-05)
 
 ** Add udev rules.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libu2f-host-1.1.8/config.h.in 
new/libu2f-host-1.1.9/config.h.in
--- old/libu2f-host-1.1.8/config.h.in   2019-02-22 12:31:44.0 +0100
+++ new/libu2f-host-1.1.9/config.h.in   2019-03-06 09:44:58.0 +0100
@@ -194,37 +194,37 @@
 
 /* Enable extensions on AIX 3, Interix.  */
 #ifndef _ALL_SOURCE
-#undef _ALL_SOURCE
+# undef _ALL_SOURCE
 #endif
 /* Enable general extensions on OS X.  */
 #ifndef _DARWIN_C_SOURCE
-#undef _DARWIN_C_SOURCE
+# undef _DARWIN_C_SOURCE
 #endif
 /* Enable GNU extensions on systems that have them.  */
 #ifndef _GNU_SOURCE
-#undef _GNU_SOURCE
+# undef _GNU_SOURCE
 #endif
 /* Use GNU style printf and scanf.  */
 #ifndef __USE_MINGW_ANSI_STDIO
-#undef __USE_MINGW_ANSI_STDIO
+# undef __USE_MINGW_ANSI_STDIO
 #endif
 /* Enable threading extensions on Solaris.  */
 #ifndef _POSIX_PTHREAD_SEMANTICS
-#undef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
 #endif
 /* Enable extensions on HP NonStop.  */
 #ifndef _TANDEM_SOURCE
-#undef _TANDEM_SOURCE
+# undef _TANDEM_SOURCE
 #endif
 /* Enable X/Open extensions if necessary.  HP-UX 11.11 defines
mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
whether compiling with -Ae or -D_HPUX_SOURCE=1.  */
 #ifndef _XOPEN_SOURCE
-#undef _XOPEN_SOURCE
+# undef _XOPEN_SOURCE
 #endif
 /* Enable general extensions on Solaris.  */
 #ifndef __EXTENSIONS__
-#undef __EXTENSIONS__
+# undef __EXTENSIONS__
 #endif
 
 
@@ -242,13 +242,13 @@
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike

commit libu2f-host for openSUSE:Factory

2019-03-06 Thread root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2019-03-06 15:52:06

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new.28833 (New)


Package is "libu2f-host"

Wed Mar  6 15:52:06 2019 rev:11 rq:682123 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2019-02-11 
21:23:40.959135507 +0100
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new.28833/libu2f-host.changes   
2019-03-06 15:52:14.492425718 +0100
@@ -1,0 +2,10 @@
+Tue Mar  5 17:06:59 UTC 2019 - Karol Babioch 
+
+- Version 1.1.8 (released 2019-03-05)
+  - Add udev rules
+  - Drop 70-old-u2f.rules and use 70-u2f.rules for everything
+  - Use a random nonce for setting up CID to prevent fingerprinting
+  - CVE-2019-9578: Parse the response to init in a more stable way to prevent
+leakage of uninitialized stack memory back to the device (bnc#1128140).
+
+---

Old:

  libu2f-host-1.1.7.tar.xz
  libu2f-host-1.1.7.tar.xz.sig

New:

  libu2f-host-1.1.8.tar.xz
  libu2f-host-1.1.8.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.boA2qH/_old  2019-03-06 15:52:15.176425580 +0100
+++ /var/tmp/diff_new_pack.boA2qH/_new  2019-03-06 15:52:15.180425580 +0100
@@ -18,7 +18,7 @@
 
 %define sover  0
 Name:   libu2f-host
-Version:1.1.7
+Version:1.1.8
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:LGPL-2.1-or-later
@@ -106,7 +106,7 @@
 
 %files -n %{name}%{sover}
 %{_libdir}/%{name}.so.%{sover}
-%{_libdir}/%{name}.so.%{sover}.1.7
+%{_libdir}/%{name}.so.%{sover}.1.8
 
 %files -n %{name}-devel
 %{_includedir}/u2f-host/

++ libu2f-host-1.1.7.tar.xz -> libu2f-host-1.1.8.tar.xz ++
 3811 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libu2f-host-1.1.7/70-old-u2f.rules new/libu2f-host-1.1.8/70-old-u2f.rules
--- old/libu2f-host-1.1.7/70-old-u2f.rules  2019-01-08 09:59:03.0 
+0100
+++ new/libu2f-host-1.1.8/70-old-u2f.rules  1970-01-01 01:00:00.0 
+0100
@@ -1,58 +0,0 @@
-# Copyright (C) 2013-2015 Yubico AB
-#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
-# General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program; if not, see .
-
-# this udev file should be used with udev older than 188
-ACTION!="add|change", GOTO="u2f_end"
-
-# Yubico YubiKey
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", 
ATTRS{idProduct}=="0113|0114|0115|0116|0120|0200|0402|0403|0406|0407|0410", 
GROUP="plugdev", MODE="0660"
-
-# Happlink (formerly Plug-Up) Security KEY
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2581", 
ATTRS{idProduct}=="f1d0", GROUP="plugdev", MODE="0660"
-
-#  Neowave Keydo and Keydo AES
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1e0d", 
ATTRS{idProduct}=="f1d0|f1ae", GROUP="plugdev", MODE="0660"
-
-# HyperSecu HyperFIDO
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e|2ccf", 
ATTRS{idProduct}=="0880", GROUP="plugdev", MODE="0660"
-
-# Feitian ePass FIDO, BioPass FIDO2
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", 
ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d", 
GROUP="plugdev", MODE="0660"
-
-# JaCarta U2F
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="24dc", 
ATTRS{idProduct}=="0101", GROUP="plugdev", MODE="0660"
-
-# U2F Zero
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", 
ATTRS{idProduct}=="8acf", GROUP="plugdev", MODE="0660"
-
-# VASCO SeccureClick
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1a44", 
ATTRS{idProduct}=="00bb", GROUP="plugdev", MODE="0660"
-
-# Bluink Key
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2abe", 
ATTRS{idProduct}=="1002", GROUP="plugdev", 

commit libu2f-host for openSUSE:Factory

2019-02-11 Thread root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2019-02-11 21:23:39

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new.28833 (New)


Package is "libu2f-host"

Mon Feb 11 21:23:39 2019 rev:10 rq:672794 version:1.1.7

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2018-05-16 
11:44:09.646692577 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new.28833/libu2f-host.changes   
2019-02-11 21:23:40.959135507 +0100
@@ -1,0 +2,11 @@
+Fri Feb  8 11:10:42 UTC 2019 - Karol Babioch 
+
+- Version 1.1.7 (released 2019-01-08)
+  - Fix for trusting length from deivce in device init.
+  - Fix for buffer overflow when receiving data from device. (YSA-2019-01,
+CVE-2018-20340, bsc#1124781)
+  - Add udev rules for some new devices. 
+- Using %license macro
+- Applied spec-cleaner
+
+---

Old:

  libu2f-host-1.1.6.tar.xz
  libu2f-host-1.1.6.tar.xz.sig

New:

  libu2f-host-1.1.7.tar.xz
  libu2f-host-1.1.7.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.mZroWT/_old  2019-02-11 21:23:41.859135024 +0100
+++ /var/tmp/diff_new_pack.mZroWT/_new  2019-02-11 21:23:41.859135024 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libu2f-host
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,28 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define sover  0
 Name:   libu2f-host
-Version:1.1.6
+Version:1.1.7
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:LGPL-2.1-or-later
 Group:  Productivity/Networking/Security
-Url:https://developers.yubico.com/
+URL:https://developers.yubico.com/
 Source0:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz
 Source1:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz.sig
 BuildRequires:  libhidapi-devel
 BuildRequires:  libtool
 BuildRequires:  libzip
 BuildRequires:  openssl-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(json-c) >= 0.10
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(udev)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 libu2f-host provide a command-line tool that implements
@@ -89,31 +88,27 @@
 %{?udev_rules_update:%udev_rules_update}
 
 %post   -n %{name}%{sover} -p /sbin/ldconfig
-
 %postun -n %{name}%{sover} -p /sbin/ldconfig
 
 %files -n u2f-host
-%defattr(-,root,root)
-%doc AUTHORS COPYING NEWS ChangeLog README
+%doc AUTHORS NEWS ChangeLog README
+%license COPYING
 %{_bindir}/u2f-host
-%{_mandir}/man1/u2f-host.1.gz
-%dir /usr/lib/udev
+%{_mandir}/man1/u2f-host.1%{?ext_man}
+%dir %{_prefix}/lib/udev
 %dir %{_udevrulesdir}
 %{_udevrulesdir}/*-u2f.rules
 
 %files doc
-%defattr(-,root,root)
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
 %{_datadir}/gtk-doc/html/u2f-host/
 
 %files -n %{name}%{sover}
-%defattr(-,root,root)
 %{_libdir}/%{name}.so.%{sover}
-%{_libdir}/%{name}.so.%{sover}.1.6
+%{_libdir}/%{name}.so.%{sover}.1.7
 
 %files -n %{name}-devel
-%defattr(-,root,root)
 %{_includedir}/u2f-host/
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/*

++ libu2f-host-1.1.6.tar.xz -> libu2f-host-1.1.7.tar.xz ++
 3460 lines of diff (skipped)




commit libu2f-host for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2018-05-16 11:42:51

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Wed May 16 11:42:51 2018 rev:9 rq:607683 version:1.1.6

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2017-09-14 
21:20:21.287176361 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2018-05-16 11:44:09.646692577 +0200
@@ -1,0 +2,11 @@
+Tue May 15 12:05:12 UTC 2018 - kbabi...@suse.com
+
+- Version 1.1.6 (released 2018-05-15)
+  - Change waiting logic on authenticate to allow for faster feedback.
+
+- Version 1.1.5 (released 2018-03-07)
+  - Fix refcount when adding json_objects.
+  - Handle fido2 keepalive.
+  - Add udev rules for more devices.
+
+---

Old:

  libu2f-host-1.1.4.tar.xz
  libu2f-host-1.1.4.tar.xz.sig

New:

  libu2f-host-1.1.6.tar.xz
  libu2f-host-1.1.6.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.H2higy/_old  2018-05-16 11:44:10.386665642 +0200
+++ /var/tmp/diff_new_pack.H2higy/_new  2018-05-16 11:44:10.390665496 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libu2f-host
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
 
 %define sover  0
 Name:   libu2f-host
-Version:1.1.4
+Version:1.1.6
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Productivity/Networking/Security
 Url:https://developers.yubico.com/
 Source0:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz
@@ -110,7 +110,7 @@
 %files -n %{name}%{sover}
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.%{sover}
-%{_libdir}/%{name}.so.%{sover}.1.4
+%{_libdir}/%{name}.so.%{sover}.1.6
 
 %files -n %{name}-devel
 %defattr(-,root,root)

++ libu2f-host-1.1.4.tar.xz -> libu2f-host-1.1.6.tar.xz ++
 1641 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libu2f-host-1.1.4/70-old-u2f.rules new/libu2f-host-1.1.6/70-old-u2f.rules
--- old/libu2f-host-1.1.4/70-old-u2f.rules  2017-08-22 21:38:13.0 
+0200
+++ new/libu2f-host-1.1.6/70-old-u2f.rules  2018-03-07 08:42:40.0 
+0100
@@ -46,4 +46,10 @@
 # Thetis Key
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1ea8", 
ATTRS{idProduct}=="f025", GROUP="plugdev", MODE="0660"
 
+# Nitrokey FIDO U2F
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", 
ATTRS{idProduct}=="4287", GROUP="plugdev", MODE="0660"
+
+# Google Titan U2F
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="18d1", 
ATTRS{idProduct}=="5026", GROUP="plugdev", MODE="0660"
+
 LABEL="u2f_end"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libu2f-host-1.1.4/70-u2f.rules new/libu2f-host-1.1.6/70-u2f.rules
--- old/libu2f-host-1.1.4/70-u2f.rules  2017-08-22 21:38:13.0 +0200
+++ new/libu2f-host-1.1.6/70-u2f.rules  2018-03-07 08:42:40.0 +0100
@@ -22,7 +22,7 @@
 # Happlink (formerly Plug-Up) Security KEY
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2581", 
ATTRS{idProduct}=="f1d0", TAG+="uaccess"
 
-#  Neowave Keydo and Keydo AES
+# Neowave Keydo and Keydo AES
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1e0d", 
ATTRS{idProduct}=="f1d0|f1ae", TAG+="uaccess"
 
 # HyperSecu HyperFIDO
@@ -46,4 +46,10 @@
 # Thetis Key
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1ea8", 
ATTRS{idProduct}=="f025", TAG+="uaccess"
 
+# Nitrokey FIDO U2F
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", 
ATTRS{idProduct}=="4287", TAG+="uaccess"
+
+# Google Titan U2F
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="18d1", 
ATTRS{idProduct}=="5026", TAG+="uacce

commit libu2f-host for openSUSE:Factory

2016-10-18 Thread h_root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2016-10-18 10:41:44

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2016-06-02 
09:36:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2016-10-18 10:41:45.0 +0200
@@ -1,0 +2,17 @@
+Wed Oct 12 13:02:38 UTC 2016 - t.gru...@katodev.de
+
+- Version 1.1.3 (released 2016-10-04)
+  - Added more u2f devices to the udev rulesets.
+  - Fixup mac builds.
+
+- Version 1.1.2 (released 2016-06-22)
+  - Make authenticate return U2FH_OK if touch is set to not needed. Also minor 
fixes to error output of authenticate.
+  - Documentation fixes.
+  - Compilation fixes on visual studio.
+  - Add udev rules for Feitian devices.
+  - Add optional cmake build.
+  - Change license of the commandline tool to LGPL 2.1+
+
+- remove udev.patch
+
+---

Old:

  libu2f-host-1.1.1.tar.xz
  libu2f-host-1.1.1.tar.xz.sig
  udev.patch

New:

  libu2f-host-1.1.3.tar.xz
  libu2f-host-1.1.3.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.zAn6z0/_old  2016-10-18 10:41:47.0 +0200
+++ /var/tmp/diff_new_pack.zAn6z0/_new  2016-10-18 10:41:47.0 +0200
@@ -18,7 +18,7 @@
 
 %define sover  0
 Name:   libu2f-host
-Version:1.1.1
+Version:1.1.3
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:LGPL-2.1+
@@ -26,15 +26,14 @@
 Url:https://developers.yubico.com/
 Source0:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz
 Source1:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz.sig
-Patch0: udev.patch
 BuildRequires:  libhidapi-devel
 BuildRequires:  libtool
 BuildRequires:  libzip
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(json-c) >= 0.10
-BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(udev)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -44,7 +43,6 @@
 
 %package -n %{name}%{sover}
 Summary:Library for Universal 2nd Factor (U2F)
-License:LGPL-2.1+
 Group:  Productivity/Networking/Security
 
 %description -n %{name}%{sover}
@@ -54,7 +52,6 @@
 
 %package -n %{name}-devel
 Summary:Development files for Universal 2nd Factor (U2F)
-License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
 Requires:   %{name}%{sover} = %{version}
 
@@ -64,7 +61,6 @@
 
 %package -n u2f-host
 Summary:Tool to support Yubico's Universal 2nd Factor (U2F)
-License:GPL-3.0+
 Group:  Productivity/Networking/Security
 Requires:   %{name}%{sover} = %{version}
 
@@ -73,7 +69,6 @@
 
 %packagedoc
 Summary:Documentation for the U2F protocol
-License:LGPL-2.1+
 Group:  Productivity/Networking/Security
 
 %descriptiondoc
@@ -81,7 +76,6 @@
 
 %prep
 %setup -q
-%patch0
 
 %build
 %configure --disable-static --with-openssl --with-udevrulesdir=%{_udevrulesdir}
@@ -116,7 +110,7 @@
 %files -n %{name}%{sover}
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.%{sover}
-%{_libdir}/%{name}.so.%{sover}.1.1
+%{_libdir}/%{name}.so.%{sover}.1.3
 
 %files -n %{name}-devel
 %defattr(-,root,root)

++ libu2f-host-1.1.1.tar.xz -> libu2f-host-1.1.3.tar.xz ++
 21683 lines of diff (skipped)




commit libu2f-host for openSUSE:Factory

2016-06-02 Thread h_root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2016-06-02 09:36:46

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2016-03-26 
17:30:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2016-06-02 09:36:48.0 +0200
@@ -1,0 +2,8 @@
+Thu May 19 13:33:26 UTC 2016 - t.gru...@katodev.de
+
+- Add buildrequirement for libudev to select the rule for udev.
+- Add udev directories in %files
+- Add udev rule for Feitian ePass FIDO (udev.patch) 
+- Change License for the library
+
+---

New:

  udev.patch



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.RolArh/_old  2016-06-02 09:36:49.0 +0200
+++ /var/tmp/diff_new_pack.RolArh/_new  2016-06-02 09:36:49.0 +0200
@@ -21,17 +21,19 @@
 Version:1.1.1
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
-License:GPL-3.0+
+License:LGPL-2.1+
 Group:  Productivity/Networking/Security
 Url:https://developers.yubico.com/
 Source0:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz
 Source1:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz.sig
+Patch0: udev.patch
 BuildRequires:  libhidapi-devel
 BuildRequires:  libtool
 BuildRequires:  libzip
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(json-c) >= 0.10
+BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(openssl)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -42,6 +44,7 @@
 
 %package -n %{name}%{sover}
 Summary:Library for Universal 2nd Factor (U2F)
+License:LGPL-2.1+
 Group:  Productivity/Networking/Security
 
 %description -n %{name}%{sover}
@@ -51,6 +54,7 @@
 
 %package -n %{name}-devel
 Summary:Development files for Universal 2nd Factor (U2F)
+License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
 Requires:   %{name}%{sover} = %{version}
 
@@ -60,6 +64,7 @@
 
 %package -n u2f-host
 Summary:Tool to support Yubico's Universal 2nd Factor (U2F)
+License:GPL-3.0+
 Group:  Productivity/Networking/Security
 Requires:   %{name}%{sover} = %{version}
 
@@ -68,6 +73,7 @@
 
 %packagedoc
 Summary:Documentation for the U2F protocol
+License:LGPL-2.1+
 Group:  Productivity/Networking/Security
 
 %descriptiondoc
@@ -75,6 +81,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure --disable-static --with-openssl --with-udevrulesdir=%{_udevrulesdir}
@@ -96,6 +103,8 @@
 %doc AUTHORS COPYING NEWS ChangeLog README
 %{_bindir}/u2f-host
 %{_mandir}/man1/u2f-host.1.gz
+%dir /usr/lib/udev
+%dir %{_udevrulesdir}
 %{_udevrulesdir}/*-u2f.rules
 
 %files doc


++ udev.patch ++
--- 70-u2f.rules2015-12-10 14:59:11.0 +0100
+++ 70-u2f.rules.new2016-05-18 12:02:38.740152998 +0200
@@ -13,4 +13,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw",
 # HyperSecu HyperFIDO
 KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", 
ATTRS{idProduct}=="0880", TAG+="uaccess"
 
+# Feitian ePass FIDO
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", 
ATTRS{idProduct}=="0850", TAG+="uaccess"
+
 LABEL="u2f_end"



commit libu2f-host for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2016-03-26 15:28:42

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2016-02-22 
08:58:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2016-03-26 17:30:38.0 +0100
@@ -1,0 +2,17 @@
+Wed Mar 23 20:45:47 UTC 2016 - jeng...@inai.de
+
+- Avoid undesired blank lines at start of descriptions.
+  Expand description. Trim filelist.
+
+---
+Mon Mar 21 12:21:54 UTC 2016 - t.gru...@katodev.de
+
+- Version 1.1.1 (released 2016-03-14)
+  - Use correct index in u2fh_devs_discover()
+  - Fix an issue where we left the authenticate loop early.
+  - Fix an issue where authenticate remembered which devices to skip.
+  - Stop validating the scheme of the origin.
+  - Fixup a crash in u2fh_devs_discover() with closing unplugged devices.
+  - Documentation fixes.
+
+---

Old:

  libu2f-host-1.1.0.tar.xz
  libu2f-host-1.1.0.tar.xz.sig

New:

  libu2f-host-1.1.1.tar.xz
  libu2f-host-1.1.1.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.L70dnn/_old  2016-03-26 17:30:39.0 +0100
+++ /var/tmp/diff_new_pack.L70dnn/_new  2016-03-26 17:30:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libu2f-host
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
 #
 
 
-%define soname  0
+%define sover  0
 Name:   libu2f-host
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:GPL-3.0+
@@ -40,11 +40,11 @@
 the host-side of the U2F protocol. There are APIs to talk to a U2F
 device and perform the U2F Register and U2F Authenticate operations.
 
-%package -n %{name}%{soname}
+%package -n %{name}%{sover}
 Summary:Library for Universal 2nd Factor (U2F)
 Group:  Productivity/Networking/Security
 
-%description -n %{name}%{soname}
+%description -n %{name}%{sover}
 Libu2f-host provide a C library that implements
 the host-side of the U2F protocol.  There are APIs to talk to a U2F
 device and perform the U2F Register and U2F Authenticate operations.
@@ -52,7 +52,7 @@
 %package -n %{name}-devel
 Summary:Development files for Universal 2nd Factor (U2F)
 Group:  Development/Libraries/C and C++
-Requires:   %{name}%{soname} = %{version}
+Requires:   %{name}%{sover} = %{version}
 
 %description -n %{name}-devel
 This package contains the header file needed to develop applications that
@@ -61,19 +61,17 @@
 %package -n u2f-host
 Summary:Tool to support Yubico's Universal 2nd Factor (U2F)
 Group:  Productivity/Networking/Security
-Requires:   %{name}%{soname} = %{version}
+Requires:   %{name}%{sover} = %{version}
 
 %description -n u2f-host
-
-Command line tool that implements the host-side of the Universal 2nd Factor 
(U2F) protocol
+Command line tool that implements the host side of the Universal 2nd Factor 
(U2F) protocol.
 
 %packagedoc
-Summary:Doc-files for U2F protocol
+Summary:Documentation for the U2F protocol
 Group:  Productivity/Networking/Security
 
 %descriptiondoc
-
-Doc-files for the host-side of the U2F protocol.
+Documentation files for the host side of the U2F protocol.
 
 %prep
 %setup -q
@@ -89,9 +87,9 @@
 %post
 %{?udev_rules_update:%udev_rules_update}
 
-%post   -n %{name}%{soname} -p /sbin/ldconfig
+%post   -n %{name}%{sover} -p /sbin/ldconfig
 
-%postun -n %{name}%{soname} -p /sbin/ldconfig
+%postun -n %{name}%{sover} -p /sbin/ldconfig
 
 %files -n u2f-host
 %defattr(-,root,root)
@@ -104,20 +102,16 @@
 %defattr(-,root,root)
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
-%dir %{_datadir}/gtk-doc/html/u2f-host
-%{_datadir}/gtk-doc/html/u2f-host/*
+%{_datadir}/gtk-doc/html/u2f-host/
 
-%files -n %{name}%{soname}
+%files -n %{name}%{sover}
 %defattr(-,root,root)
-%{_libdir}/%{name}.so.%{soname}
-%{_libdir}/%{name}.so.%{soname}.1.0
+%{_libdir}/%{name}.so.%{sover}
+%{_libdir}/%{name}.so.%{sover}.1.1
 
 %files -n %{name}-devel
 %defattr(-,root,root)
-%dir %{_includedir}/u2f-host
-%{_includedir}/u2f-host/u2f-host.h
-%{_includedi

commit libu2f-host for openSUSE:Factory

2016-02-21 Thread h_root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2016-02-22 08:57:59

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2015-10-14 
16:44:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2016-02-22 08:58:04.0 +0100
@@ -1,0 +2,14 @@
+Thu Feb 18 11:57:06 UTC 2016 - t.gru...@katodev.de
+
+- Version 1.1.0 (released 2016-02-15)
+  - Add udev rules for more devices.
+  - Don’t return success when no data is received.
+  - Fix typos.
+  - Make send_apdu send data like chrome does.
+  - Don’t release json object that we don’t own no more.
+  - Don’t do memcmp on uninitialized memory.
+  - Add u2fh_authenticate2() and u2fh_register2().
+  - Remove base64 padding (required by spec).
+  - Use unsigned ints to prevent buffer overflows.
+
+---

Old:

  libu2f-host-1.0.0.tar.xz
  libu2f-host-1.0.0.tar.xz.sig

New:

  libu2f-host-1.1.0.tar.xz
  libu2f-host-1.1.0.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.o2W12o/_old  2016-02-22 08:58:05.0 +0100
+++ /var/tmp/diff_new_pack.o2W12o/_new  2016-02-22 08:58:05.0 +0100
@@ -18,7 +18,7 @@
 
 %define soname  0
 Name:   libu2f-host
-Version:1.0.0
+Version:1.1.0
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 License:GPL-3.0+
@@ -79,14 +79,12 @@
 %setup -q
 
 %build
-%configure --disable-static --with-openssl
+%configure --disable-static --with-openssl --with-udevrulesdir=%{_udevrulesdir}
 make   %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot} INSTALL="install -p"
 find %{buildroot} -type f -name "*.la" -delete -print
-mkdir -pv %{buildroot}%{_udevrulesdir}
-install -D -m 644  ${RPM_BUILD_DIR}/%{name}-%{version}/70-u2f.rules 
%{buildroot}%{_udevrulesdir}
 
 %post
 %{?udev_rules_update:%udev_rules_update}
@@ -112,7 +110,7 @@
 %files -n %{name}%{soname}
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.%{soname}
-%{_libdir}/%{name}.so.%{soname}.0.5
+%{_libdir}/%{name}.so.%{soname}.1.0
 
 %files -n %{name}-devel
 %defattr(-,root,root)

++ libu2f-host-1.0.0.tar.xz -> libu2f-host-1.1.0.tar.xz ++
 5533 lines of diff (skipped)




commit libu2f-host for openSUSE:Factory

2015-10-14 Thread h_root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2015-10-14 16:44:24

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2015-09-08 
18:01:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2015-10-14 16:44:25.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct  6 11:16:30 UTC 2015 - t.gru...@katodev.de
+
+- Remove fix in u2f-host/u2f-host.h
+- Cleanup .spec file
+
+---

New:

  libu2f-host-1.0.0.tar.xz.sig



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.7I3mkp/_old  2015-10-14 16:44:26.0 +0200
+++ /var/tmp/diff_new_pack.7I3mkp/_new  2015-10-14 16:44:26.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for libu2f-host
+# spec file for package libu2f-host
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,24 +15,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define soname  0
 
+%define soname  0
 Name:   libu2f-host
 Version:1.0.0
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
-Group:  Productivity/Networking/Security
 License:GPL-3.0+
+Group:  Productivity/Networking/Security
 Url:https://developers.yubico.com/
 Source0:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  pkg-config
-BuildRequires:  libtool
+Source1:
https://developers.yubico.com/libu2f-host/Releases/%{name}-%{version}.tar.xz.sig
 BuildRequires:  libhidapi-devel 
+BuildRequires:  libtool
 BuildRequires:  libzip
 BuildRequires:  openssl-devel
-BuildRequires:  pkgconfig(json-c) => 0.10
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(json-c) >= 0.10
 BuildRequires:  pkgconfig(openssl) 
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 libu2f-host provide a command-line tool that implements
@@ -79,17 +80,12 @@
 
 %build 
 %configure --disable-static --with-openssl
-# --disable-rpath doesn't work for the configure script
-%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
-%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-# Fix path in u2f-host/u2f-host.h
-%{__sed} -i 's|^#include 

commit libu2f-host for openSUSE:Factory

2015-09-08 Thread h_root
Hello community,

here is the log from the commit of package libu2f-host for openSUSE:Factory 
checked in at 2015-09-08 17:44:24

Comparing /work/SRC/openSUSE:Factory/libu2f-host (Old)
 and  /work/SRC/openSUSE:Factory/.libu2f-host.new (New)


Package is "libu2f-host"

Changes:

--- /work/SRC/openSUSE:Factory/libu2f-host/libu2f-host.changes  2015-04-27 
22:09:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.libu2f-host.new/libu2f-host.changes 
2015-09-08 18:01:09.0 +0200
@@ -1,0 +2,15 @@
+Fri Sep  4 07:38:29 UTC 2015 - t.gru...@katodev.de
+
+- Fix path in u2f-host/u2f-host.h 
+
+---
+Tue Sep  1 11:54:44 UTC 2015 - t.gru...@katodev.de
+
+- Version 1.0.0 (released 2015-08-27)
+  - Add udev rules for older version of udev.
+  - Add pam:// as an allowed protocol.
+  - Stop using sleep(), use Sleep() on windows and usleep() on others.
+  - Fixup tool name in help and manpage.
+  - Add a timeout to the register and authenticate actions. 
+
+---

Old:

  libu2f-host-0.0.4.tar.xz

New:

  libu2f-host-1.0.0.tar.xz



Other differences:
--
++ libu2f-host.spec ++
--- /var/tmp/diff_new_pack.Exuu24/_old  2015-09-08 18:01:12.0 +0200
+++ /var/tmp/diff_new_pack.Exuu24/_new  2015-09-08 18:01:12.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file
+# spec file for libu2f-host
 #
 # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -18,7 +18,7 @@
 %define soname  0
 
 Name:   libu2f-host
-Version:0.0.4
+Version:1.0.0
 Release:0
 Summary:Yubico Universal 2nd Factor (U2F) Host C Library
 Group:  Productivity/Networking/Security
@@ -82,13 +82,18 @@
 # --disable-rpath doesn't work for the configure script
 %{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
 %{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+# Fix path in u2f-host/u2f-host.h
+%{__sed} -i 's|^#include  libu2f-host-1.0.0.tar.xz ++
 3181 lines of diff (skipped)