commit ykpers for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2020-06-10 00:48:26

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new.3606 (New)


Package is "ykpers"

Wed Jun 10 00:48:26 2020 rev:10 rq:812717 version:1.20.0

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2019-07-16 
08:41:21.403036888 +0200
+++ /work/SRC/openSUSE:Factory/.ykpers.new.3606/ykpers.changes  2020-06-10 
00:48:29.294956299 +0200
@@ -1,0 +2,7 @@
+Mon Jun  8 06:59:22 UTC 2020 - Torsten Gruner 
+
+- Fix build with gcc 10 [gh#Yubico/yubikey-personalization#155]
+- Fix boolean value with json-c 0.14 [gh#Yubico/yubikey-personalization#159]
+  adds ykpers-json.patch
+
+---

New:

  ykpers-json.patch



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.aE8iwl/_old  2020-06-10 00:48:29.866957795 +0200
+++ /var/tmp/diff_new_pack.aE8iwl/_new  2020-06-10 00:48:29.870957806 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ykpers
 #
-# 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,8 @@
 Source0:
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz
 Source1:
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz.sig
 Source2:%{name}.keyring
+# PATCH-FIX-UPSTREAM ykpers-json.patch gh#Yubico/yubikey-personalization#159
+Patch0: ykpers-json.patch
 BuildRequires:  libyubikey-devel >= 1.12
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(json-c) >= 0.10
@@ -53,9 +55,11 @@
 Yubico's YubiKey can be re-programmed. This project provides a reference 
implementation for configuration of YubiKeys.
 
 %prep
-%setup -q
+%autosetup
 # Add access for group "users"
 sed -i 's|--device=$env{DEVNAME}"|--device=$env{DEVNAME}" GROUP="users"|g' 
70-yubikey.rules
+# PATCH-FIX-UPSTREAM gh#Yubico/yubikey-personalization#155 -- Fix build with 
gcc 10
+sed -i 's|^const char|extern const char|g' ykpers-args.h
 
 %build
 %configure --disable-static --with-pic \


++ ykpers-json.patch ++
--- ykpers-json.c.orig  2019-02-19 13:29:54.0 +0100
+++ ykpers-json.c   2020-06-08 08:49:02.960771280 +0200
@@ -40,7 +40,7 @@
 #define yk_json_object_object_get(obj, key, value) 
json_object_object_get_ex(obj, key, )
 #else
 typedef int json_bool;
-#define yk_json_object_object_get(obj, key, value) (value = 
json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE
+#define yk_json_object_object_get(obj, key, value) (value = 
json_object_object_get(obj, key)) == NULL ? 0 : 1
 #endif
 
 static void set_json_value(struct map_st *p, int mode, json_object *options, 
YKP_CONFIG *cfg) {
@@ -50,7 +50,7 @@
if(p->mode && (mode & p->mode) == mode) {
json_object *joption;
json_bool ret = yk_json_object_object_get(options, 
p->json_text, joption);
-   if(ret == TRUE && json_object_get_type(joption) == 
json_type_boolean) {
+   if(ret == 1 && json_object_get_type(joption) == 
json_type_boolean) {
int value = json_object_get_boolean(joption);
if(value == 1) {
p->setter(cfg, true);
@@ -230,20 +230,20 @@
ykp_errno = YKP_EINVAL;
goto out;
}
-   if(yk_json_object_object_get(jobj, "yubiProdConfig", 
yprod_json) == FALSE) {
+   if(yk_json_object_object_get(jobj, "yubiProdConfig", 
yprod_json) == 0) {
ykp_errno = YKP_EINVAL;
goto out;
}
-   if(yk_json_object_object_get(yprod_json, "mode", jmode) == 
FALSE) {
+   if(yk_json_object_object_get(yprod_json, "mode", jmode) == 0) {
ykp_errno = YKP_EINVAL;
goto out;
}
-   if(yk_json_object_object_get(yprod_json, "options", options) == 
FALSE) {
+   if(yk_json_object_object_get(yprod_json, "options", options) == 
0) {
ykp_errno = YKP_EINVAL;
goto out;
}
 
-   if(yk_json_object_object_get(yprod_json, "targetConfig", 
jtarget) == TRUE) {
+   if(yk_json_object_object_get(yprod_json, "targetConfig", 
jtarget) == 1) {
int target_config = json_object_get_int(jtarget);
   

commit ykpers for openSUSE:Factory

2019-07-16 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2019-07-16 08:41:14

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new.1887 (New)


Package is "ykpers"

Tue Jul 16 08:41:14 2019 rev:9 rq:715345 version:1.20.0

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2019-02-25 
17:53:52.522515543 +0100
+++ /work/SRC/openSUSE:Factory/.ykpers.new.1887/ykpers.changes  2019-07-16 
08:41:21.403036888 +0200
@@ -1,0 +2,10 @@
+Sun Jul 14 19:37:26 UTC 2019 - Karol Babioch 
+
+- Version 1.20.0 (released 2019-07-03d)
+  - Add yk_open_key_vid_pid() allowing vid and pid to be specified.
+  - Documentation fixes.
+  - Clear potentially sensitive material from buffers.
+  - Fix potential buffer overwrite. 
+- Applied spec-cleaner
+
+---

Old:

  ykpers-1.19.3.tar.gz
  ykpers-1.19.3.tar.gz.sig

New:

  ykpers-1.20.0.tar.gz
  ykpers-1.20.0.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.Wsuk82/_old  2019-07-16 08:41:21.923037062 +0200
+++ /var/tmp/diff_new_pack.Wsuk82/_new  2019-07-16 08:41:21.923037062 +0200
@@ -17,22 +17,21 @@
 
 
 Name:   ykpers
-Version:1.19.3
+Version:1.20.0
 Release:0
 Summary:Reference implementation for configuration of YubiKeys
 License:BSD-2-Clause
 Group:  Productivity/Networking/Security
-Url:https://developers.yubico.com/yubikey-personalization/
-Source: 
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz
+URL:https://developers.yubico.com/yubikey-personalization/
+Source0:
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz
 Source1:
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz.sig
-Source2:%name.keyring
-Provides:   yubikey-personalization = %{version}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  libyubikey-devel => 1.12
-BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(json-c) => 0.10
+Source2:%{name}.keyring
+BuildRequires:  libyubikey-devel >= 1.12
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(json-c) >= 0.10
 BuildRequires:  pkgconfig(libusb-1.0)
 BuildRequires:  pkgconfig(udev)
+Provides:   yubikey-personalization = %{version}
 
 %description
 Yubico's YubiKey can be re-programmed. This project provides a reference 
implementation for configuration of YubiKeys.
@@ -68,17 +67,15 @@
 
 %install
 %make_install
-find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post
 %{?udev_rules_update:%udev_rules_update}
 
 %post -n libykpers-1-1 -p /sbin/ldconfig
-
 %postun -n libykpers-1-1 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc ChangeLog README
 %license COPYING
 %{_bindir}/*
@@ -86,11 +83,9 @@
 %{_udevrulesdir}/*-yubikey.rules
 
 %files -n libykpers-1-1
-%defattr(-,root,root)
 %{_libdir}/libykpers-1.so.*
 
 %files -n libykpers-devel
-%defattr(-,root,root)
 %dir %{_includedir}/ykpers-1
 %{_includedir}/ykpers-1/*.h
 %{_libdir}/pkgconfig/ykpers-1.pc

++ ykpers-1.19.3.tar.gz -> ykpers-1.20.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.19.3/ChangeLog new/ykpers-1.20.0/ChangeLog
--- old/ykpers-1.19.3/ChangeLog 2019-02-22 09:11:03.0 +0100
+++ new/ykpers-1.20.0/ChangeLog 2019-07-03 14:06:34.0 +0200
@@ -1,3 +1,60 @@
+2019-07-03  Klas Lindfors 
+
+   * NEWS: NEWS for 1.20.0
+
+2019-04-23  Klas Lindfors 
+
+   * : commit 72a8a15cd4ea24abd4a16ac2db2a964dad5ef81e Author: Ernie
+   Hershey  Date:   Thu Apr 18 17:09:30 2019 -0400
+
+2019-03-15  Klas Lindfors 
+
+   * : commit 731d6b5cee16670e896ceddd8badb3704f1664da Merge: 3bd3104
+   5b29733 Author: Klas Lindfors  Date:   Fri Mar 15
+   09:06:32 2019 +0100
+
+2019-03-15  Klas Lindfors 
+
+   * : commit f0ae7670a4f5b04419a85855b9cb889d19826d46 Author: Gabriel
+   Kihlman  Date:   Thu Mar 14 12:35:19 2019
+   +0100
+
+2019-03-14  Gabriel Kihlman 
+
+   * ykpers.c: Clear potentially sensitive material from stack
+   allocated buffer
+
+2019-03-14  Gabriel Kihlman 
+
+   * ykcore/ykcore.c: Return the handle to the opened key
+
+2019-03-11  Klas Lindfors 
+
+   * : Merge pull request #139 from Yubico/open_vid_pid add 
yk_open_key_vid_pid() function allowing vid and pid to be
+   specified
+
+2019-03-05  pedro martelletto 
+
+   * contrib/oath-unlock-reprogram.sh: contrib/oath-unlock-reprogram:

commit ykpers for openSUSE:Factory

2019-02-25 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2019-02-25 17:53:50

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new.28833 (New)


Package is "ykpers"

Mon Feb 25 17:53:50 2019 rev:8 rq:678194 version:1.19.3

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2019-02-20 
14:12:01.786925480 +0100
+++ /work/SRC/openSUSE:Factory/.ykpers.new.28833/ykpers.changes 2019-02-25 
17:53:52.522515543 +0100
@@ -1,0 +2,6 @@
+Fri Feb 22 09:05:00 UTC 2019 - Karol Babioch 
+
+- Version 1.19.3 (released 2019-02-22)
+  - Fix capability read.
+
+---

Old:

  ykpers-1.19.2.tar.gz
  ykpers-1.19.2.tar.gz.sig

New:

  ykpers-1.19.3.tar.gz
  ykpers-1.19.3.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.pFUBMz/_old  2019-02-25 17:53:53.630515030 +0100
+++ /var/tmp/diff_new_pack.pFUBMz/_new  2019-02-25 17:53:53.634515028 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   ykpers
-Version:1.19.2
+Version:1.19.3
 Release:0
 Summary:Reference implementation for configuration of YubiKeys
 License:BSD-2-Clause

++ ykpers-1.19.2.tar.gz -> ykpers-1.19.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.19.2/ChangeLog new/ykpers-1.19.3/ChangeLog
--- old/ykpers-1.19.2/ChangeLog 2019-02-19 14:14:34.0 +0100
+++ new/ykpers-1.19.3/ChangeLog 2019-02-22 09:11:03.0 +0100
@@ -1,3 +1,20 @@
+2019-02-22  Klas Lindfors 
+
+   * NEWS: NEWS for 1.19.3
+
+2019-02-22  Alessio Di Mauro 
+
+   * : Merge pull request #137 from Yubico/fix_wrongsize ykcore: the 
length check should only be done if expect_bytes > 0
+
+2019-02-20  Klas Lindfors 
+
+   * ykpers4win.mk: win: step back down to json-c 0.11 and add
+   -Wno-error so travis works and we can build it..
+
+2019-02-19  Klas Lindfors 
+
+   * NEWS, configure.ac: bump versions to 1.19.3
+
 2019-02-19  Klas Lindfors 
 
* NEWS: NEWS for 1.19.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.19.2/NEWS new/ykpers-1.19.3/NEWS
--- old/ykpers-1.19.2/NEWS  2019-02-19 14:14:18.0 +0100
+++ new/ykpers-1.19.3/NEWS  2019-02-22 09:10:01.0 +0100
@@ -1,5 +1,9 @@
 Yubikey-personalize NEWS -- History of user-visible changes. -*- outline 
-*-
 
+* Version 1.19.3 (released 2019-02-22)
+
+** Fix capability read.
+
 * Version 1.19.2 (released 2019-02-19)
 
 ** Fix test on mac.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.19.2/configure new/ykpers-1.19.3/configure
--- old/ykpers-1.19.2/configure 2019-02-19 13:30:31.0 +0100
+++ new/ykpers-1.19.3/configure 2019-02-22 08:38:42.0 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yubikey-personalization 1.19.2.
+# Generated by GNU Autoconf 2.69 for yubikey-personalization 1.19.3.
 #
 # Report bugs to .
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='yubikey-personalization'
 PACKAGE_TARNAME='ykpers'
-PACKAGE_VERSION='1.19.2'
-PACKAGE_STRING='yubikey-personalization 1.19.2'
+PACKAGE_VERSION='1.19.3'
+PACKAGE_STRING='yubikey-personalization 1.19.3'
 PACKAGE_BUGREPORT='yubico-de...@googlegroups.com'
 PACKAGE_URL='https://developers.yubico.com/yubikey-personalization/'
 
@@ -1386,7 +1386,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures yubikey-personalization 1.19.2 to adapt to many kinds 
of systems.
+\`configure' configures yubikey-personalization 1.19.3 to adapt to many kinds 
of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1457,7 +1457,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of yubikey-personalization 
1.19.2:";;
+ short | recursive ) echo "Configuration of yubikey-personalization 
1.19.3:";;
esac
   cat <<\_ACEOF
 
@@ -1590,7 +1590,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yubikey-personalization configure 1.19.2
+yubikey-personalization configure 1.19.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1868,7 +1868,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by yubikey-personalization $as_me 

commit ykpers for openSUSE:Factory

2019-02-20 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2019-02-20 14:11:55

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new.28833 (New)


Package is "ykpers"

Wed Feb 20 14:11:55 2019 rev:7 rq:677376 version:1.19.2

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2018-10-01 
09:08:42.019723930 +0200
+++ /work/SRC/openSUSE:Factory/.ykpers.new.28833/ykpers.changes 2019-02-20 
14:12:01.786925480 +0100
@@ -1,0 +2,17 @@
+Tue Feb 19 14:15:03 UTC 2019 - Karol Babioch 
+
+- Version 1.19.2 (released 2019-02-19)
+  - Fix test on mac.
+  - Fix serial read and challenge response.
+
+---
+Tue Feb 19 10:20:25 UTC 2019 - Karol Babioch 
+
+- Version 1.19.1 (released 2019-02-19)
+  - Error out on json output with randomSeed.
+  - Validate more length fields.
+  - Use correct FormatMessage function on windows.
+  - Overflow, bounds and error condition checks.
+  - Try to zero sensitive memory better.
+
+---

Old:

  ykpers-1.19.0.tar.gz
  ykpers-1.19.0.tar.gz.sig

New:

  ykpers-1.19.2.tar.gz
  ykpers-1.19.2.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.jNnVX3/_old  2019-02-20 14:12:02.582925215 +0100
+++ /var/tmp/diff_new_pack.jNnVX3/_new  2019-02-20 14:12:02.582925215 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ykpers
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   ykpers
-Version:1.19.0
+Version:1.19.2
 Release:0
 Summary:Reference implementation for configuration of YubiKeys
 License:BSD-2-Clause

++ ykpers-1.19.0.tar.gz -> ykpers-1.19.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.19.0/ChangeLog new/ykpers-1.19.2/ChangeLog
--- old/ykpers-1.19.0/ChangeLog 2018-04-24 10:28:49.0 +0200
+++ new/ykpers-1.19.2/ChangeLog 2019-02-19 14:14:34.0 +0100
@@ -1,3 +1,116 @@
+2019-02-19  Klas Lindfors 
+
+   * NEWS: NEWS for 1.19.2
+
+2019-02-19  Klas Lindfors 
+
+   * : Merge pull request #134 from Yubico/expect_fix ykcore: fix broken 
check for expected length from device
+
+2019-02-19  Klas Lindfors 
+
+   * : Merge pull request #135 from Yubico/mac_is_bsd tests: osx is a bsd 
variant as well
+
+2019-02-19  Klas Lindfors 
+
+   * ykpers4win.mk: bump libjson for windows
+
+2019-02-19  Klas Lindfors 
+
+   * NEWS, configure.ac: bump version to 1.19.2
+
+2019-02-19  Klas Lindfors 
+
+   * NEWS: NEWS for 1.19.1
+
+2019-02-19  Klas Lindfors 
+
+   * : commit 4fda553da54123dfaac17856242a016bb3ae3f6d Merge: f8af9d0
+   b7a9673 Author: Klas Lindfors  Date:   Mon Feb 18
+   14:56:53 2019 +0100
+
+2019-02-18  Trevor Bentley 
+
+   * ykcore/Makefile.am: Add ykbzero to Makefile
+
+2019-01-25  Trevor Bentley 
+
+   * ykpers-json.c: Fix: Exported JSON might not be null terminated
+
+2019-01-25  Trevor Bentley 
+
+   * tests/test_args_to_config.c, ykpers-args.c, ykpers-args.h,
+   ykpersonalize.c: Fix: possible buffer overflows in CLI argument
+   parsing
+
+2019-01-25  Trevor Bentley 
+
+   * ykpers-args.c, ykpersonalize.c: Fix: possible out-of-bounds access
+   after fgets()
+
+2019-01-21  Trevor Bentley 
+
+   * ykpers.c: Fix: handle snprintf errors
+
+2019-01-18  Trevor Bentley 
+
+   * configure.ac, ykcore/ykbzero.h, ykcore/ykcore.c: Fix: clear
+   sensitive stack variables after use
+
+2019-01-18  Trevor Bentley 
+
+   * ykcore/ykcore.c: Fix: validate key responses are expected length
+
+2019-01-18  Trevor Bentley 
+
+   * ykpbkdf2.c: Fix: bounds check of PBKDF2 salt length
+
+2019-01-18  Trevor Bentley 
+
+   * ykpers.c: Fix: check for overflows when using snprintf
+
+2019-02-07  Heiko Becker 
+
+   * tests/test_args_to_config.c: Handle the *BSDs specifically instead
+   of glibc and win After all they appear to be different in that regard.  
This also
+   fixes building with musl (#115).
+
+2019-01-02  Klas Lindfors 
+
+   * : commit cfbc245bbf9218717623d2a4cb076f05179227d4 Author: Tero
+   Paloheimo  Date:   Tue Jan 1 21:38:46 2019
+   +0200
+
+2018-11-13  Klas Lindfors 
+
+   * : commit 6db09804f638478bdcb396973f07a871dbcda105 Author: Yonghyun
+   Kim  Date:   Tue Nov 13 08:45:55 2018 +0900
+

commit ykpers for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2018-10-01 09:07:59

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new (New)


Package is "ykpers"

Mon Oct  1 09:07:59 2018 rev:6 rq:638990 version:1.19.0

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2018-04-11 
14:02:39.857343844 +0200
+++ /work/SRC/openSUSE:Factory/.ykpers.new/ykpers.changes   2018-10-01 
09:08:42.019723930 +0200
@@ -1,0 +2,14 @@
+Fri Sep 28 09:13:26 UTC 2018 - Jan Engelhardt 
+
+- Fix RPM groups.
+- Use noun phrase in summary.
+
+---
+Thu Sep 27 12:11:15 UTC 2018 - Karol Babioch 
+
+- Version 1.19.0 (released 2018-04-24)
+  - Add yk_write_device_info().
+  - Add ykpersonalize cli switch -D for device info.
+  - Add code for handling personalization interface of major version 5.
+
+---

Old:

  ykpers-1.18.1.tar.gz
  ykpers-1.18.1.tar.gz.sig

New:

  ykpers-1.19.0.tar.gz
  ykpers-1.19.0.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.nHKhiL/_old  2018-10-01 09:08:42.575723455 +0200
+++ /var/tmp/diff_new_pack.nHKhiL/_new  2018-10-01 09:08:42.575723455 +0200
@@ -12,14 +12,14 @@
 # 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/
 #
 
 
 Name:   ykpers
-Version:1.18.1
+Version:1.19.0
 Release:0
-Summary:Provides a reference implementation for configuration of 
YubiKeys
+Summary:Reference implementation for configuration of YubiKeys
 License:BSD-2-Clause
 Group:  Productivity/Networking/Security
 Url:https://developers.yubico.com/yubikey-personalization/
@@ -35,29 +35,28 @@
 BuildRequires:  pkgconfig(udev)
 
 %description
-Yubico's YubiKey can be re-programmed. This project's purpose is to provide a 
reference implementation for configuration of YubiKeys.
+Yubico's YubiKey can be re-programmed. This project provides a reference 
implementation for configuration of YubiKeys.
 
 %package-n libykpers-1-1
-Summary:Provides a reference implementation for configuration of 
YubiKeys
-Group:  Productivity/Networking/Security
+Summary:Reference implementation for configuration of YubiKeys
+Group:  System/Libraries
 
 %description -n libykpers-1-1
-Yubico's YubiKey can be re-programmed. This project's purpose is to provide a 
reference implementation for configuration of YubiKey's
+Yubico's YubiKey can be re-programmed. This project provides a reference 
implementation for configuration of YubiKeys.
 
 %package -n libykpers-devel
-Summary:Provides a reference implementation for configuration of 
YubiKeys
+Summary:Development files for the ykpers library
 Group:  Development/Languages/C and C++
 Requires:   glibc-devel
 Requires:   libykpers-1-1 = %{version}
 
 %description -n libykpers-devel
-Yubico's YubiKey can be re-programmed. This project's purpose is to provide a 
reference implementation for configuration of YubiKey's.·
-
+Yubico's YubiKey can be re-programmed. This project provides a reference 
implementation for configuration of YubiKeys.
 
 %prep
 %setup -q
 # Add access for group "users"
-%{__sed} -i 's|--device=$env{DEVNAME}"|--device=$env{DEVNAME}" 
GROUP="users"|g' 70-yubikey.rules
+sed -i 's|--device=$env{DEVNAME}"|--device=$env{DEVNAME}" GROUP="users"|g' 
70-yubikey.rules
 
 %build
 %configure --disable-static --with-pic \
@@ -68,7 +67,7 @@
 make %{?_smp_mflags} V=1
 
 %install
-%makeinstall
+%make_install
 find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
 
 %post
@@ -80,7 +79,8 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog README COPYING
+%doc ChangeLog README
+%license COPYING
 %{_bindir}/*
 %{_mandir}/man?/*
 %{_udevrulesdir}/*-yubikey.rules

++ ykpers-1.18.1.tar.gz -> ykpers-1.19.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.18.1/ChangeLog new/ykpers-1.19.0/ChangeLog
--- old/ykpers-1.18.1/ChangeLog 2018-01-16 12:14:40.0 +0100
+++ new/ykpers-1.19.0/ChangeLog 2018-04-24 10:28:49.0 +0200
@@ -1,3 +1,38 @@
+2018-04-24  Klas Lindfors 
+
+   * NEWS: NEWS for 1.19.0
+
+2018-04-24  Klas Lindfors 
+
+   * ykpersonalize.1.adoc: manpage for -D option
+
+2018-04-19  Klas Lindfors 
+
+   * tests/test_args_to_config.c, ykpers-args.c, ykpers-args.h,

commit ykpers for openSUSE:Factory

2018-04-11 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2018-04-11 14:00:13

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new (New)


Package is "ykpers"

Wed Apr 11 14:00:13 2018 rev:5 rq:594943 version:1.18.1

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2017-04-20 
20:59:00.931530769 +0200
+++ /work/SRC/openSUSE:Factory/.ykpers.new/ykpers.changes   2018-04-11 
14:02:39.857343844 +0200
@@ -1,0 +2,10 @@
+Sun Apr  8 21:15:59 UTC 2018 - w...@rosenauer.org
+
+- updated to 1.18.1 (released 2018-01-16)
+  - Support reading accesscode and private ID from stdin.
+  - Parse optional arguments correctly.
+  - Documentation fixes.
+  - Fix for ykinfo modhex serial output when it ends with c.
+  - Treat all firmware versions as supported.
+
+---

Old:

  ykpers-1.18.0.tar.gz
  ykpers-1.18.0.tar.gz.sig

New:

  ykpers-1.18.1.tar.gz
  ykpers-1.18.1.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.pCFx9D/_old  2018-04-11 14:02:43.157224577 +0200
+++ /var/tmp/diff_new_pack.pCFx9D/_new  2018-04-11 14:02:43.161224433 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ykpers
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   ykpers
-Version:1.18.0
+Version:1.18.1
 Release:0
 Summary:Provides a reference implementation for configuration of 
YubiKeys
 License:BSD-2-Clause
@@ -35,7 +35,7 @@
 BuildRequires:  pkgconfig(udev)
 
 %description
-Yubico's YubiKey can be re-programmed. This project's purpose is to provide a 
reference implementation for configuration of YubiKey's. 
+Yubico's YubiKey can be re-programmed. This project's purpose is to provide a 
reference implementation for configuration of YubiKeys.
 
 %package-n libykpers-1-1
 Summary:Provides a reference implementation for configuration of 
YubiKeys

++ ykpers-1.18.0.tar.gz -> ykpers-1.18.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.18.0/ChangeLog new/ykpers-1.18.1/ChangeLog
--- old/ykpers-1.18.0/ChangeLog 2017-01-27 11:57:22.0 +0100
+++ new/ykpers-1.18.1/ChangeLog 2018-01-16 12:14:40.0 +0100
@@ -1,3 +1,97 @@
+2018-01-16  Klas Lindfors 
+
+   * NEWS: NEWS for 1.18.1
+
+2018-01-16  Klas Lindfors 
+
+   * tests/test_yk_utilities.c, ykcore/ykcore.c: treat all firmware
+   versions as supported due to backwards compatibility etc it doesn't 
really make sense to
+   continually update a list of known firmware versions
+
+2018-01-16  Klas Lindfors 
+
+   * : commit 152aec812c73349647f2225d9723649bb498e4f0 Author: Robert
+   Giles  Date:   Fri Jan 12 16:31:53
+   2018 -0600
+
+2017-12-11  Klas Lindfors 
+
+   * README: typo: it's -> its reported at
+   https://github.com/Yubico/developers.yubico.com/issues/91
+
+2017-10-24  Klas Lindfors 
+
+   * : commit 69b2a1da08054590b64c9891a88b38babdd9ccc9 Author: Klas
+   Lindfors  Date:   Tue Oct 24 08:47:58 2017 +0200
+
+2017-10-22  Patrick C. F. Ernzer 
+
+   * README: DNF is the default package manager since Fedora 22.
+
+2017-05-17  Dag Heyman 
+
+   * : commit 55d3dee55b29eb7af6fd20731f2c60cc3d150301 Author: Dag
+   Heyman  Date:   Wed May 17 10:53:45 2017 +0200
+
+2017-05-17  Klas Lindfors 
+
+   * : commit 3fc99635ea567d729da84b9dab5c09b54046497d Author:
+   Alexandre  Date:   Tue May 16 19:33:09 2017 +0200
+
+2017-04-24  Klas Lindfors 
+
+   * ykpers-args.c: warnings fixup
+
+2017-04-20  Klas Lindfors 
+
+   * ykpersonalize.1.adoc: more updates to manual to mark values as
+   optional
+
+2017-04-20  Klas Lindfors 
+
+   * ykpers-args.c: update help output for optional arguments
+
+2017-04-20  Klas Lindfors 
+
+   * ykpersonalize.1.adoc: Add a few words to manpage about stdin
+   prompting
+
+2017-04-20  Klas Lindfors 
+
+   * tests/test_args_to_config.c, ykpers-args.c, ykpers-args.h,
+   ykpersonalize.c: move all key handling to ykpers-args and support h:
+   and 

commit ykpers for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2017-04-20 20:58:58

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new (New)


Package is "ykpers"

Thu Apr 20 20:58:58 2017 rev:4 rq:489421 version:1.18.0

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2016-01-08 
15:23:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.ykpers.new/ykpers.changes   2017-04-20 
20:59:00.931530769 +0200
@@ -1,0 +2,10 @@
+Wed Apr 19 13:05:18 UTC 2017 - meiss...@suse.com
+
+- updated to 1.18.0 (released 2017-01-27)
+  - Let ykchalresp read challenge from a file.
+  - Add support of working with a numbered key when many connected Thanks to 
Thomas Habets 
+  - Documentation clarifications.
+  - Fixup argument parsing of flags with optional arguments on BSD platforms.
+  - Fix a file descriptor leak on windows.
+
+---

Old:

  ykpers-1.17.3.tar.gz
  ykpers-1.17.3.tar.gz.sig

New:

  ykpers-1.18.0.tar.gz
  ykpers-1.18.0.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.acUdaf/_old  2017-04-20 20:59:01.787409729 +0200
+++ /var/tmp/diff_new_pack.acUdaf/_new  2017-04-20 20:59:01.791409163 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ykpers
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:   ykpers
-Version:1.17.3
+Version:1.18.0
 Release:0
 Summary:Provides a reference implementation for configuration of 
YubiKeys
 License:BSD-2-Clause

++ ykpers-1.17.3.tar.gz -> ykpers-1.18.0.tar.gz ++
 2638 lines of diff (skipped)





commit ykpers for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2016-01-08 15:23:46

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new (New)


Package is "ykpers"

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2015-10-02 
09:23:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.ykpers.new/ykpers.changes   2016-01-08 
15:23:55.0 +0100
@@ -1,0 +2,9 @@
+Thu Jan  7 15:28:22 UTC 2016 - t.gru...@katodev.de
+
+- Version 1.17.3 (released 2015-12-28)
+  - Dont read to much if we don’t find a key.
+  - Text updates to make options clearer.
+  - Correct logic for question when mode switching to non-otp mode.
+  - Add 4.3 as supported firmware.
+
+---

Old:

  ykpers-1.17.2.tar.gz
  ykpers-1.17.2.tar.gz.sig

New:

  ykpers-1.17.3.tar.gz
  ykpers-1.17.3.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.eUuxUT/_old  2016-01-08 15:23:56.0 +0100
+++ /var/tmp/diff_new_pack.eUuxUT/_new  2016-01-08 15:23:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ykpers
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   ykpers
-Version:1.17.2
+Version:1.17.3
 Release:0
 Summary:Provides a reference implementation for configuration of 
YubiKeys
 License:BSD-2-Clause

++ ykpers-1.17.2.tar.gz -> ykpers-1.17.3.tar.gz ++
 3769 lines of diff (skipped)





commit ykpers for openSUSE:Factory

2015-10-02 Thread h_root
Hello community,

here is the log from the commit of package ykpers for openSUSE:Factory checked 
in at 2015-10-02 09:23:53

Comparing /work/SRC/openSUSE:Factory/ykpers (Old)
 and  /work/SRC/openSUSE:Factory/.ykpers.new (New)


Package is "ykpers"

Changes:

--- /work/SRC/openSUSE:Factory/ykpers/ykpers.changes2015-05-11 
19:48:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.ykpers.new/ykpers.changes   2015-10-02 
09:23:55.0 +0200
@@ -1,0 +2,8 @@
+Tue Sep 29 14:19:49 UTC 2015 - t.gru...@katodev.de
+
+- Version 1.17.2 (released 2015-09-22)
+  -  Let _yk_write() return an error if yk_wait_for_key_status() fails.
+  -  Fix a mistake in help, fixed is up to 16 bytes, 32 characters.
+  -  Add 4.2 as supported firmware.
+
+---
@@ -13,0 +22,11 @@
+
+---
+Wed Apr  1 14:02:13 UTC 2015 - t.gru...@katodev.de
+
+- Version 1.17.1 (released 2015-04-01)
+  - Fixup of 1.17.0
+
+- Version 1.17.0 (released 2015-04-01)
+  - add yk_get_capabilities() to fetch capabilities.
+  - add -c to ykinfo to fetch capabilities.
+  - whitelist firmware 4.1.x

Old:

  ykpers-1.17.1.tar.gz
  ykpers-1.17.1.tar.gz.sig

New:

  ykpers-1.17.2.tar.gz
  ykpers-1.17.2.tar.gz.sig



Other differences:
--
++ ykpers.spec ++
--- /var/tmp/diff_new_pack.DM1Lpk/_old  2015-10-02 09:23:56.0 +0200
+++ /var/tmp/diff_new_pack.DM1Lpk/_new  2015-10-02 09:23:56.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   ykpers
-Version:1.17.1
+Version:1.17.2
 Release:0
 Summary:Provides a reference implementation for configuration of 
YubiKeys
 License:BSD-2-Clause
@@ -31,8 +31,8 @@
 BuildRequires:  libyubikey-devel => 1.12
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(json-c) => 0.10
-BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(libusb-1.0)
+BuildRequires:  pkgconfig(udev)
 
 %description
 Yubico's YubiKey can be re-programmed. This project's purpose is to provide a 
reference implementation for configuration of YubiKey's. 

++ ykpers-1.17.1.tar.gz -> ykpers-1.17.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.17.1/.travis.yml 
new/ykpers-1.17.2/.travis.yml
--- old/ykpers-1.17.1/.travis.yml   2015-03-27 11:12:30.0 +0100
+++ new/ykpers-1.17.2/.travis.yml   2015-05-05 17:15:32.0 +0200
@@ -10,7 +10,7 @@
 script:
   - ./build-and-test.sh
 before_install:
-  - sudo apt-get update -qq
+  - sudo apt-get update -qq || true
   - sudo apt-get remove -qq -y $REMOVE
   - sudo apt-get autoremove -qq
   - sudo apt-get install -qq -y libyubikey-dev $EXTRA
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ykpers-1.17.1/ChangeLog new/ykpers-1.17.2/ChangeLog
--- old/ykpers-1.17.1/ChangeLog 2015-04-01 13:23:36.0 +0200
+++ new/ykpers-1.17.2/ChangeLog 2015-09-22 15:43:52.0 +0200
@@ -1,3 +1,60 @@
+2015-09-22  Klas Lindfors 
+
+   * configure.ac: fixup
+
+2015-09-22  Klas Lindfors 
+
+   * NEWS: NEWS for 1.17.2
+
+2015-09-22  Klas Lindfors 
+
+   * configure.ac: bump version and libtool stuff
+
+2015-09-16  Klas Lindfors 
+
+   * ykpersonalize.c: Warn if the user is putting the device in a
+   non-OTP mode
+
+2015-09-15  Klas Lindfors 
+
+   * tests/test_yk_utilities.c, ykcore/ykcore.c: add 4.2 as supported
+   firmware
+
+2015-09-04  Klas Lindfors 
+
+   * tests/test_yk_utilities.c: test for version with two digit build
+   number
+
+2015-08-21  Henrik Stråth 
+
+   * README: Update README
+
+2015-08-19  Klas Lindfors 
+
+   * ykpers-args.c: fix a mistake in help, fixed is up to 16 bytes, 32
+   characters.
+
+2015-08-12  Klas Lindfors 
+
+   * README: add slot so examples in README are correct this behavorial 
change was added in 1.7.0 (in 2012) fixes #60
+
+2015-08-12  Klas Lindfors 
+
+   * Makefile.am: change libhmac dependency to be relative fixes #61
+
+2015-05-05  Klas Lindfors 
+
+   * .travis.yml: ignore errors from apt-get update for travis
+
+2015-05-05  Klas Lindfors 
+
+   * ykcore/ykcore.c: drop old commented code
+
+2015-05-05  Klas Lindfors 
+
+   * ykcore/ykcore.c: let _yk_write() return an error if
+   yk_wait_for_key_status() fails
+
 2015-04-01  Klas Lindfors 
 
* NEWS, configure.ac: NEWS and version for 1.17.1