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.000000000 +0200 +++ new/libu2f-host-1.1.6/70-old-u2f.rules 2018-03-07 08:42:40.000000000 +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.000000000 +0200 +++ new/libu2f-host-1.1.6/70-u2f.rules 2018-03-07 08:42:40.000000000 +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+="uaccess" + 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/ChangeLog new/libu2f-host-1.1.6/ChangeLog --- old/libu2f-host-1.1.4/ChangeLog 2017-09-01 08:51:19.000000000 +0200 +++ new/libu2f-host-1.1.6/ChangeLog 2018-05-15 13:21:02.000000000 +0200 @@ -1,3 +1,52 @@ +2018-05-15 Klas Lindfors <k...@yubico.com> + + * NEWS: NEWS for 1.1.6 + +2018-04-26 Klas Lindfors <k...@yubico.com> + + * : commit 21135eeadb2cc1beef3a7cffb2d6035a400e5e2b Author: CJ Oster + <c...@redhat.com> Date: Wed Apr 25 15:11:41 2018 -0500 + +2018-03-07 Klas Lindfors <k...@yubico.com> + + * NEWS, configure.ac: bump versions after release + +2018-03-07 Klas Lindfors <k...@yubico.com> + + * NEWS: NEWS for 1.1.5 + +2018-03-07 Klas Lindfors <k...@yubico.com> + + * : commit 84a3dc85f8a90930e073e892ced6bad813a999b4 Author: Philipp + Kern <pk...@google.com> Date: Wed Feb 28 12:36:15 2018 +0100 + +2018-02-12 Dain Nilsson <d...@yubico.com> + + * : commit cf912347500156472e19a3a49c883331a8fc113e Author: Dain + Nilsson <d...@yubico.com> Date: Mon Feb 12 12:55:35 2018 +0100 + +2018-01-23 Klas Lindfors <k...@yubico.com> + + * : commit c61dd0a6b6e0aef05a9d66cf543b159b7be8a468 Author: Szczepan + Zalega <szcze...@nitrokey.com> Date: Tue Jan 23 12:19:24 2018 + +0100 + +2017-12-18 Klas Lindfors <k...@yubico.com> + + * : commit cc02c5cf59c427d050d743101167f02635e87c3f Author: Björn + Esser <besse...@fedoraproject.org> Date: Sat Dec 16 14:12:44 2017 + +0100 + +2017-11-29 Klas Lindfors <k...@yubico.com> + + * : commit af4812c1748543b33cc91dc1277f3a55dda6646f Author: Andreas + Schildbach <andr...@schildbach.de> Date: Fri Nov 17 20:44:39 2017 + +0100 + +2017-09-01 Klas Lindfors <k...@yubico.com> + + * NEWS, configure.ac: bump versions to 1.1.5 + 2017-09-01 Klas Lindfors <k...@yubico.com> * NEWS: NEWS for 1.1.4 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/NEWS new/libu2f-host-1.1.6/NEWS --- old/libu2f-host-1.1.4/NEWS 2017-09-01 08:48:09.000000000 +0200 +++ new/libu2f-host-1.1.6/NEWS 2018-05-15 13:20:31.000000000 +0200 @@ -1,5 +1,17 @@ libu2f-host NEWS -- History of user visible changes. +* 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. + * Version 1.1.4 (released 2017-09-01) ** Added more u2f devices to the udev rulesets. 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/configure.ac new/libu2f-host-1.1.6/configure.ac --- old/libu2f-host-1.1.4/configure.ac 2016-10-04 10:58:49.000000000 +0200 +++ new/libu2f-host-1.1.6/configure.ac 2018-03-07 09:32:00.000000000 +0100 @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -AC_INIT([libu2f-host], [1.1.4], [yubico-de...@googlegroups.com]) +AC_INIT([libu2f-host], [1.1.6], [yubico-de...@googlegroups.com]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([build-aux]) @@ -21,7 +21,7 @@ # http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html AC_SUBST(LT_CURRENT, 1) # Interfaces removed: CURRENT++, AGE=0, REVISION=0 AC_SUBST(LT_AGE, 1) # Interfaces added: CURRENT++, AGE++, REVISION=0 -AC_SUBST(LT_REVISION, 4) # No interfaces changed: REVISION++ +AC_SUBST(LT_REVISION, 6) # No interfaces changed: REVISION++ AM_INIT_AUTOMAKE([gnits dist-xz no-dist-gzip std-options -Wall]) AM_SILENT_RULES([yes]) 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/gtk-doc/html/index.html new/libu2f-host-1.1.6/gtk-doc/html/index.html --- old/libu2f-host-1.1.4/gtk-doc/html/index.html 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/index.html 2018-05-15 13:21:04.000000000 +0200 @@ -3,10 +3,10 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Yubico Universal 2nd Factor C Library: Yubico Universal 2nd Factor C Library</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="next" href="intro.html" title="Yubico Universal 2nd Factor C Library"> -<meta name="generator" content="GTK-Doc V1.24 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.25 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -38,6 +38,6 @@ </dl></div> </div> <div class="footer"> -<hr>Generated by GTK-Doc V1.24</div> +<hr>Generated by GTK-Doc V1.25</div> </body> </html> \ No newline at end of file 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/gtk-doc/html/index.sgml new/libu2f-host-1.1.6/gtk-doc/html/index.sgml --- old/libu2f-host-1.1.4/gtk-doc/html/index.sgml 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/index.sgml 1970-01-01 01:00:00.000000000 +0100 @@ -1,50 +0,0 @@ -<ONLINE href="https://github.com/Yubico/libu2f-host"> -<ANCHOR id="u2f-host-u2f-host" href="u2f-host/u2f-host-u2f-host.html"> -<ANCHOR id="u2f-host-u2f-host.functions" href="u2f-host/u2f-host-u2f-host.html#u2f-host-u2f-host.functions"> -<ANCHOR id="u2f-host-u2f-host.description" href="u2f-host/u2f-host-u2f-host.html#u2f-host-u2f-host.description"> -<ANCHOR id="u2f-host-u2f-host.functions_details" href="u2f-host/u2f-host-u2f-host.html#u2f-host-u2f-host.functions_details"> -<ANCHOR id="u2fh-global-init" href="u2f-host/u2f-host-u2f-host.html#u2fh-global-init"> -<ANCHOR id="u2fh-global-done" href="u2f-host/u2f-host-u2f-host.html#u2fh-global-done"> -<ANCHOR id="u2fh-strerror" href="u2f-host/u2f-host-u2f-host.html#u2fh-strerror"> -<ANCHOR id="u2fh-strerror-name" href="u2f-host/u2f-host-u2f-host.html#u2fh-strerror-name"> -<ANCHOR id="u2fh-devs-init" href="u2f-host/u2f-host-u2f-host.html#u2fh-devs-init"> -<ANCHOR id="u2fh-devs-discover" href="u2f-host/u2f-host-u2f-host.html#u2fh-devs-discover"> -<ANCHOR id="u2fh-devs-done" href="u2f-host/u2f-host-u2f-host.html#u2fh-devs-done"> -<ANCHOR id="u2fh-register" href="u2f-host/u2f-host-u2f-host.html#u2fh-register"> -<ANCHOR id="u2fh-authenticate" href="u2f-host/u2f-host-u2f-host.html#u2fh-authenticate"> -<ANCHOR id="u2fh-sendrecv" href="u2f-host/u2f-host-u2f-host.html#u2fh-sendrecv"> -<ANCHOR id="u2fh-get-device-description" href="u2f-host/u2f-host-u2f-host.html#u2fh-get-device-description"> -<ANCHOR id="u2fh-is-alive" href="u2f-host/u2f-host-u2f-host.html#u2fh-is-alive"> -<ANCHOR id="u2f-host-u2f-host.other_details" href="u2f-host/u2f-host-u2f-host.html#u2f-host-u2f-host.other_details"> -<ANCHOR id="u2f-host-u2f-host-types" href="u2f-host/u2f-host-u2f-host-types.html"> -<ANCHOR id="u2f-host-u2f-host-types.other" href="u2f-host/u2f-host-u2f-host-types.html#u2f-host-u2f-host-types.other"> -<ANCHOR id="u2f-host-u2f-host-types.description" href="u2f-host/u2f-host-u2f-host-types.html#u2f-host-u2f-host-types.description"> -<ANCHOR id="u2f-host-u2f-host-types.functions_details" href="u2f-host/u2f-host-u2f-host-types.html#u2f-host-u2f-host-types.functions_details"> -<ANCHOR id="u2f-host-u2f-host-types.other_details" href="u2f-host/u2f-host-u2f-host-types.html#u2f-host-u2f-host-types.other_details"> -<ANCHOR id="u2fh-rc" href="u2f-host/u2f-host-u2f-host-types.html#u2fh-rc"> -<ANCHOR id="U2FH-OK:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-OK:CAPS"> -<ANCHOR id="U2FH-MEMORY-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-MEMORY-ERROR:CAPS"> -<ANCHOR id="U2FH-TRANSPORT-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-TRANSPORT-ERROR:CAPS"> -<ANCHOR id="U2FH-JSON-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-JSON-ERROR:CAPS"> -<ANCHOR id="U2FH-BASE64-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-BASE64-ERROR:CAPS"> -<ANCHOR id="U2FH-NO-U2F-DEVICE:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-NO-U2F-DEVICE:CAPS"> -<ANCHOR id="U2FH-AUTHENTICATOR-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-AUTHENTICATOR-ERROR:CAPS"> -<ANCHOR id="U2FH-TIMEOUT-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-TIMEOUT-ERROR:CAPS"> -<ANCHOR id="U2FH-SIZE-ERROR:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-SIZE-ERROR:CAPS"> -<ANCHOR id="u2fh-initflags" href="u2f-host/u2f-host-u2f-host-types.html#u2fh-initflags"> -<ANCHOR id="U2FH-DEBUG:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-DEBUG:CAPS"> -<ANCHOR id="u2fh-cmdflags" href="u2f-host/u2f-host-u2f-host-types.html#u2fh-cmdflags"> -<ANCHOR id="U2FH-REQUEST-USER-PRESENCE:CAPS" href="u2f-host/u2f-host-u2f-host-types.html#U2FH-REQUEST-USER-PRESENCE:CAPS"> -<ANCHOR id="u2fh-devs" href="u2f-host/u2f-host-u2f-host-types.html#u2fh-devs"> -<ANCHOR id="u2f-host-u2f-host-version" href="u2f-host/u2f-host-u2f-host-version.html"> -<ANCHOR id="u2f-host-u2f-host-version.functions" href="u2f-host/u2f-host-u2f-host-version.html#u2f-host-u2f-host-version.functions"> -<ANCHOR id="u2f-host-u2f-host-version.other" href="u2f-host/u2f-host-u2f-host-version.html#u2f-host-u2f-host-version.other"> -<ANCHOR id="u2f-host-u2f-host-version.description" href="u2f-host/u2f-host-u2f-host-version.html#u2f-host-u2f-host-version.description"> -<ANCHOR id="u2f-host-u2f-host-version.functions_details" href="u2f-host/u2f-host-u2f-host-version.html#u2f-host-u2f-host-version.functions_details"> -<ANCHOR id="u2fh-check-version" href="u2f-host/u2f-host-u2f-host-version.html#u2fh-check-version"> -<ANCHOR id="u2f-host-u2f-host-version.other_details" href="u2f-host/u2f-host-u2f-host-version.html#u2f-host-u2f-host-version.other_details"> -<ANCHOR id="U2FH-VERSION-STRING:CAPS" href="u2f-host/u2f-host-u2f-host-version.html#U2FH-VERSION-STRING:CAPS"> -<ANCHOR id="U2FH-VERSION-NUMBER:CAPS" href="u2f-host/u2f-host-u2f-host-version.html#U2FH-VERSION-NUMBER:CAPS"> -<ANCHOR id="U2FH-VERSION-MAJOR:CAPS" href="u2f-host/u2f-host-u2f-host-version.html#U2FH-VERSION-MAJOR:CAPS"> -<ANCHOR id="U2FH-VERSION-MINOR:CAPS" href="u2f-host/u2f-host-u2f-host-version.html#U2FH-VERSION-MINOR:CAPS"> -<ANCHOR id="U2FH-VERSION-PATCH:CAPS" href="u2f-host/u2f-host-u2f-host-version.html#U2FH-VERSION-PATCH:CAPS"> 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/gtk-doc/html/intro.html new/libu2f-host-1.1.6/gtk-doc/html/intro.html --- old/libu2f-host-1.1.4/gtk-doc/html/intro.html 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/intro.html 2018-05-15 13:21:04.000000000 +0200 @@ -3,12 +3,12 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Yubico Universal 2nd Factor C Library: Yubico Universal 2nd Factor C Library</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="up" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="prev" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="next" href="u2f-host-u2f-host.html" title="u2f-host"> -<meta name="generator" content="GTK-Doc V1.24 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.25 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -41,6 +41,6 @@ </p> </div> <div class="footer"> -<hr>Generated by GTK-Doc V1.24</div> +<hr>Generated by GTK-Doc V1.25</div> </body> </html> \ No newline at end of file Binary files old/libu2f-host-1.1.4/gtk-doc/html/left-insensitive.png and new/libu2f-host-1.1.6/gtk-doc/html/left-insensitive.png differ Binary files old/libu2f-host-1.1.4/gtk-doc/html/left.png and new/libu2f-host-1.1.6/gtk-doc/html/left.png differ Binary files old/libu2f-host-1.1.4/gtk-doc/html/right.png and new/libu2f-host-1.1.6/gtk-doc/html/right.png differ 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/gtk-doc/html/u2f-host-u2f-host-types.html new/libu2f-host-1.1.6/gtk-doc/html/u2f-host-u2f-host-types.html --- old/libu2f-host-1.1.4/gtk-doc/html/u2f-host-u2f-host-types.html 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/u2f-host-u2f-host-types.html 2018-05-15 13:21:04.000000000 +0200 @@ -3,12 +3,12 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>u2f-host-types: Yubico Universal 2nd Factor C Library</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="up" href="intro.html" title="Yubico Universal 2nd Factor C Library"> <link rel="prev" href="u2f-host-u2f-host.html" title="u2f-host"> <link rel="next" href="u2f-host-u2f-host-version.html" title="u2f-host-version"> -<meta name="generator" content="GTK-Doc V1.24 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.25 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -33,7 +33,7 @@ </tr></table></div> <div class="refsect1"> <a name="u2f-host-u2f-host-types.other"></a><h2>Types and Values</h2> -<div class="informaltable"><table width="100%" border="0"> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="name"> <col class="description"> @@ -73,8 +73,8 @@ <a name="u2fh-rc"></a><h3>enum u2fh_rc</h3> <p>Error codes.</p> <div class="refsect3"> -<a name="id-1.2.4.6.2.4"></a><h4>Members</h4> -<div class="informaltable"><table width="100%" border="0"> +<a name="u2fh-rc.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="enum_members_name"> <col class="enum_members_description"> @@ -149,10 +149,10 @@ <hr> <div class="refsect2"> <a name="u2fh-initflags"></a><h3>enum u2fh_initflags</h3> -<p>Flags passed to <a class="link" href="u2f-host-u2f-host.html#u2fh-global-init" title="u2fh_global_init ()"><code class="function">u2fh_global_init()</code></a>.</p> +<p>Flags passed to <code class="function">u2fh_global_init()</code>.</p> <div class="refsect3"> -<a name="id-1.2.4.6.3.4"></a><h4>Members</h4> -<div class="informaltable"><table width="100%" border="0"> +<a name="u2fh-initflags.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="enum_members_name"> <col class="enum_members_description"> @@ -171,10 +171,10 @@ <hr> <div class="refsect2"> <a name="u2fh-cmdflags"></a><h3>enum u2fh_cmdflags</h3> -<p>Flags passed to <a class="link" href="u2f-host-u2f-host.html#u2fh-register" title="u2fh_register ()"><code class="function">u2fh_register()</code></a> and <a class="link" href="u2f-host-u2f-host.html#u2fh-authenticate" title="u2fh_authenticate ()"><code class="function">u2fh_authenticate()</code></a>.</p> +<p>Flags passed to <code class="function">u2fh_register()</code> and <code class="function">u2fh_authenticate()</code>.</p> <div class="refsect3"> -<a name="id-1.2.4.6.4.4"></a><h4>Members</h4> -<div class="informaltable"><table width="100%" border="0"> +<a name="u2fh-cmdflags.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="300px" class="enum_members_name"> <col class="enum_members_description"> @@ -201,6 +201,6 @@ </div> </div> <div class="footer"> -<hr>Generated by GTK-Doc V1.24</div> +<hr>Generated by GTK-Doc V1.25</div> </body> </html> \ No newline at end of file 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/gtk-doc/html/u2f-host-u2f-host-version.html new/libu2f-host-1.1.6/gtk-doc/html/u2f-host-u2f-host-version.html --- old/libu2f-host-1.1.4/gtk-doc/html/u2f-host-u2f-host-version.html 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/u2f-host-u2f-host-version.html 2018-05-15 13:21:04.000000000 +0200 @@ -3,11 +3,11 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>u2f-host-version: Yubico Universal 2nd Factor C Library</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="up" href="intro.html" title="Yubico Universal 2nd Factor C Library"> <link rel="prev" href="u2f-host-u2f-host-types.html" title="u2f-host-types"> -<meta name="generator" content="GTK-Doc V1.24 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.25 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -32,7 +32,7 @@ </tr></table></div> <div class="refsect1"> <a name="u2f-host-u2f-host-version.functions"></a><h2>Functions</h2> -<div class="informaltable"><table width="100%" border="0"> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="functions_return"> <col class="functions_name"> @@ -48,7 +48,7 @@ </div> <div class="refsect1"> <a name="u2f-host-u2f-host-version.other"></a><h2>Types and Values</h2> -<div class="informaltable"><table width="100%" border="0"> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="name"> <col class="description"> @@ -95,8 +95,8 @@ <p>See <a class="link" href="u2f-host-u2f-host-version.html#U2FH-VERSION-STRING:CAPS" title="U2FH_VERSION_STRING"><code class="literal">U2FH_VERSION_STRING</code></a> for a suitable <em class="parameter"><code>req_version</code></em> string.</p> <div class="refsect3"> -<a name="id-1.2.5.6.2.6"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> +<a name="u2fh-check-version.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> @@ -110,7 +110,7 @@ </table></div> </div> <div class="refsect3"> -<a name="id-1.2.5.6.2.7"></a><h4>Returns</h4> +<a name="u2fh-check-version.returns"></a><h4>Returns</h4> <p> Version string of run-time library, or NULL if the run-time library does not meet the required version number.</p> </div> @@ -120,7 +120,7 @@ <a name="u2f-host-u2f-host-version.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="U2FH-VERSION-STRING:CAPS"></a><h3>U2FH_VERSION_STRING</h3> -<pre class="programlisting">#define U2FH_VERSION_STRING "1.1.2" +<pre class="programlisting">#define U2FH_VERSION_STRING "1.1.5" </pre> <p>Pre-processor symbol with a string that describe the header file version number. Used together with <a class="link" href="u2f-host-u2f-host-version.html#u2fh-check-version" title="u2fh_check_version ()"><code class="function">u2fh_check_version()</code></a> to verify @@ -129,7 +129,7 @@ <hr> <div class="refsect2"> <a name="U2FH-VERSION-NUMBER:CAPS"></a><h3>U2FH_VERSION_NUMBER</h3> -<pre class="programlisting">#define U2FH_VERSION_NUMBER 0x010102 +<pre class="programlisting">#define U2FH_VERSION_NUMBER 0x010105 </pre> <p>Pre-processor symbol with a hexadecimal value describing the header file version number. For example, when the header version is 1.2.3 @@ -157,7 +157,7 @@ <hr> <div class="refsect2"> <a name="U2FH-VERSION-PATCH:CAPS"></a><h3>U2FH_VERSION_PATCH</h3> -<pre class="programlisting">#define U2FH_VERSION_PATCH 2 +<pre class="programlisting">#define U2FH_VERSION_PATCH 5 </pre> <p>Pre-processor symbol with a decimal value that describe the patch level of the header file version number. For example, when the @@ -166,6 +166,6 @@ </div> </div> <div class="footer"> -<hr>Generated by GTK-Doc V1.24</div> +<hr>Generated by GTK-Doc V1.25</div> </body> </html> \ No newline at end of file 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/gtk-doc/html/u2f-host-u2f-host.html new/libu2f-host-1.1.6/gtk-doc/html/u2f-host-u2f-host.html --- old/libu2f-host-1.1.4/gtk-doc/html/u2f-host-u2f-host.html 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/u2f-host-u2f-host.html 2018-05-15 13:21:04.000000000 +0200 @@ -3,12 +3,12 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>u2f-host: Yubico Universal 2nd Factor C Library</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Yubico Universal 2nd Factor C Library"> <link rel="up" href="intro.html" title="Yubico Universal 2nd Factor C Library"> <link rel="prev" href="intro.html" title="Yubico Universal 2nd Factor C Library"> <link rel="next" href="u2f-host-u2f-host-types.html" title="u2f-host-types"> -<meta name="generator" content="GTK-Doc V1.24 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.25 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -32,573 +32,19 @@ <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="u2f-host-u2f-host.functions"></a><h2>Functions</h2> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="functions_return"> -<col class="functions_name"> -</colgroup> -<tbody> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-global-init" title="u2fh_global_init ()">u2fh_global_init</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-global-done" title="u2fh_global_done ()">u2fh_global_done</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type">const <span class="returnvalue">char</span> * -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-strerror" title="u2fh_strerror ()">u2fh_strerror</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type">const <span class="returnvalue">char</span> * -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-strerror-name" title="u2fh_strerror_name ()">u2fh_strerror_name</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()">u2fh_devs_init</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-devs-discover" title="u2fh_devs_discover ()">u2fh_devs_discover</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-devs-done" title="u2fh_devs_done ()">u2fh_devs_done</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-register" title="u2fh_register ()">u2fh_register</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-authenticate" title="u2fh_authenticate ()">u2fh_authenticate</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-sendrecv" title="u2fh_sendrecv ()">u2fh_sendrecv</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-get-device-description" title="u2fh_get_device_description ()">u2fh_get_device_description</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">int</span> -</td> -<td class="function_name"> -<a class="link" href="u2f-host-u2f-host.html#u2fh-is-alive" title="u2fh_is_alive ()">u2fh_is_alive</a> <span class="c_punctuation">()</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> <a name="u2f-host-u2f-host.description"></a><h2>Description</h2> <p> </p> </div> <div class="refsect1"> <a name="u2f-host-u2f-host.functions_details"></a><h2>Functions</h2> -<div class="refsect2"> -<a name="u2fh-global-init"></a><h3>u2fh_global_init ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_global_init (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-initflags" title="enum u2fh_initflags"><span class="type">u2fh_initflags</span></a> flags</code></em>);</pre> -<p>Initialize the library. This function is not guaranteed to be -thread safe and must be invoked on application startup.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.2.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>initialization flags, ORed <a class="link" href="u2f-host-u2f-host-types.html#u2fh-initflags" title="enum u2fh_initflags"><span class="type">u2fh_initflags</span></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.2.6"></a><h4>Returns</h4> -<p> On success <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> (integer 0) is returned, and on errors -an <a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="type">u2fh_rc</span></a> error code.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-global-done"></a><h3>u2fh_global_done ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -u2fh_global_done (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p>Release all resources from the library. Call this function when no -further use of the library is needed.</p> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-strerror"></a><h3>u2fh_strerror ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -u2fh_strerror (<em class="parameter"><code><span class="type">int</span> err</code></em>);</pre> -<p>Convert return code to human readable string explanation of the -reason for the particular error code.</p> -<p>This string can be used to output a diagnostic message to the user.</p> -<p>This function is one of few in the library that can be used without -a successful call to <a class="link" href="u2f-host-u2f-host.html#u2fh-global-init" title="u2fh_global_init ()"><code class="function">u2fh_global_init()</code></a>.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.4.7"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>err</p></td> -<td class="parameter_description"><p>error code</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.4.8"></a><h4>Returns</h4> -<p> Returns a pointer to a statically allocated string -containing an explanation of the error code <em class="parameter"><code>err</code></em> -.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-strerror-name"></a><h3>u2fh_strerror_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -u2fh_strerror_name (<em class="parameter"><code><span class="type">int</span> err</code></em>);</pre> -<p>Convert return code to human readable string representing the error -code symbol itself. For example, u2fh_strerror_name(<a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a>) -returns the string "U2FH_OK".</p> -<p>This string can be used to output a diagnostic message to the user.</p> -<p>This function is one of few in the library that can be used without -a successful call to <a class="link" href="u2f-host-u2f-host.html#u2fh-global-init" title="u2fh_global_init ()"><code class="function">u2fh_global_init()</code></a>.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.5.7"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>err</p></td> -<td class="parameter_description"><p>error code</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.5.8"></a><h4>Returns</h4> -<p> Returns a pointer to a statically allocated string -containing a string version of the error code <em class="parameter"><code>err</code></em> -, or NULL if -the error code is not known.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-devs-init"></a><h3>u2fh_devs_init ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_devs_init (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> **devs</code></em>);</pre> -<p>Initialize device handle.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.6.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>pointer to <a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> type to initialize.</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.6.6"></a><h4>Returns</h4> -<p> On success <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> (integer 0) is returned, on memory -allocation errors <a class="link" href="u2f-host-u2f-host-types.html#U2FH-MEMORY-ERROR:CAPS"><code class="literal">U2FH_MEMORY_ERROR</code></a> is returned, or another -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="type">u2fh_rc</span></a> error code is returned.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-devs-discover"></a><h3>u2fh_devs_discover ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_devs_discover (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>, - <em class="parameter"><code><span class="type">unsigned</span> *max_index</code></em>);</pre> -<p>Discover and open new devices. This function can safely be called -several times and will free resources associated with unplugged -devices and open new.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.7.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>device handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>max_index</p></td> -<td class="parameter_description"><p>will on return be set to the maximum index, may be NULL; if -there is 1 device this will be 0, if there are 2 devices this -will be 1, and so on.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.7.6"></a><h4>Returns</h4> -<p> On success, <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> (integer 0) is returned, when no U2F -device could be found <a class="link" href="u2f-host-u2f-host-types.html#U2FH-NO-U2F-DEVICE:CAPS"><code class="literal">U2FH_NO_U2F_DEVICE</code></a> is returned, or another -<a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="type">u2fh_rc</span></a> error code.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-devs-done"></a><h3>u2fh_devs_done ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -u2fh_devs_done (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>);</pre> -<p>Release all resources associated with <em class="parameter"><code>devs</code></em> -. This function must be -called when you are finished with a device handle.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.8.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>device handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-register"></a><h3>u2fh_register ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_register (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *challenge</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *origin</code></em>, - <em class="parameter"><code><span class="type">char</span> **response</code></em>, - <em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-cmdflags" title="enum u2fh_cmdflags"><span class="type">u2fh_cmdflags</span></a> flags</code></em>);</pre> -<p>Perform the U2F Register operation.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.9.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>a device set handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a> and <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-discover" title="u2fh_devs_discover ()"><code class="function">u2fh_devs_discover()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>challenge</p></td> -<td class="parameter_description"><p>string with JSON data containing the challenge.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>origin</p></td> -<td class="parameter_description"><p>U2F origin URL.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>response</p></td> -<td class="parameter_description"><p>pointer to pointer for output data</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>set of ORed <a class="link" href="u2f-host-u2f-host-types.html#u2fh-cmdflags" title="enum u2fh_cmdflags"><span class="type">u2fh_cmdflags</span></a> values.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.9.6"></a><h4>Returns</h4> -<p> On success <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> (integer 0) is returned, and on errors -an <a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="type">u2fh_rc</span></a> error code.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-authenticate"></a><h3>u2fh_authenticate ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_authenticate (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *challenge</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *origin</code></em>, - <em class="parameter"><code><span class="type">char</span> **response</code></em>, - <em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-cmdflags" title="enum u2fh_cmdflags"><span class="type">u2fh_cmdflags</span></a> flags</code></em>);</pre> -<p>Perform the U2F Authenticate operation.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.10.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>a device handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a> and <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-discover" title="u2fh_devs_discover ()"><code class="function">u2fh_devs_discover()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>challenge</p></td> -<td class="parameter_description"><p>string with JSON data containing the challenge.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>origin</p></td> -<td class="parameter_description"><p>U2F origin URL.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>response</p></td> -<td class="parameter_description"><p>pointer to pointer for output data</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>set of ORed <a class="link" href="u2f-host-u2f-host-types.html#u2fh-cmdflags" title="enum u2fh_cmdflags"><span class="type">u2fh_cmdflags</span></a> values.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.10.6"></a><h4>Returns</h4> -<p> On success <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> (integer 0) is returned, and on errors -an <a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="type">u2fh_rc</span></a> error code.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-sendrecv"></a><h3>u2fh_sendrecv ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_sendrecv (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> index</code></em>, - <em class="parameter"><code><span class="type">uint8_t</span> cmd</code></em>, - <em class="parameter"><code>const unsigned <span class="type">char</span> *send</code></em>, - <em class="parameter"><code><span class="type">uint16_t</span> sendlen</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</span> *recv</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *recvlen</code></em>);</pre> -<p>Send a command with data to the device at <em class="parameter"><code>index</code></em> -.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.11.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>device handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>index</p></td> -<td class="parameter_description"><p>index of device</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>cmd</p></td> -<td class="parameter_description"><p>command to run</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>send</p></td> -<td class="parameter_description"><p>buffer of data to send</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>sendlen</p></td> -<td class="parameter_description"><p>length of data to send</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>recv</p></td> -<td class="parameter_description"><p>buffer of data to receive</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>recvlen</p></td> -<td class="parameter_description"><p>length of data to receive</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.11.6"></a><h4>Returns</h4> -<p> <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> on success, another <a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="type">u2fh_rc</span></a> error code -otherwise.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-get-device-description"></a><h3>u2fh_get_device_description ()</h3> -<pre class="programlisting"><a class="link" href="u2f-host-u2f-host-types.html#u2fh-rc" title="enum u2fh_rc"><span class="returnvalue">u2fh_rc</span></a> -u2fh_get_device_description (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> index</code></em>, - <em class="parameter"><code><span class="type">char</span> *out</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *len</code></em>);</pre> -<p>Get the device description of the device at <em class="parameter"><code>index</code></em> -. Stores the -string in <em class="parameter"><code>out</code></em> -.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.12.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>device_handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>index</p></td> -<td class="parameter_description"><p>index of device</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>out</p></td> -<td class="parameter_description"><p>buffer for storing device description</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>len</p></td> -<td class="parameter_description"><p>maximum amount of data to store in <em class="parameter"><code>out</code></em> -. Will be updated.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.12.6"></a><h4>Returns</h4> -<p> <a class="link" href="u2f-host-u2f-host-types.html#U2FH-OK:CAPS"><code class="literal">U2FH_OK</code></a> on success.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="u2fh-is-alive"></a><h3>u2fh_is_alive ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -u2fh_is_alive (<em class="parameter"><code><a class="link" href="u2f-host-u2f-host-types.html#u2fh-devs" title="u2fh_devs"><span class="type">u2fh_devs</span></a> *devs</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> index</code></em>);</pre> -<p>Get the liveliness of the device <em class="parameter"><code>index</code></em> -.</p> -<div class="refsect3"> -<a name="id-1.2.3.5.13.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>devs</p></td> -<td class="parameter_description"><p>device_handle, from <a class="link" href="u2f-host-u2f-host.html#u2fh-devs-init" title="u2fh_devs_init ()"><code class="function">u2fh_devs_init()</code></a>.</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>index</p></td> -<td class="parameter_description"><p>index of device</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.2.3.5.13.6"></a><h4>Returns</h4> -<p> 1 if the device is considered alive, 0 otherwise.</p> -</div> -</div> +<p></p> </div> <div class="refsect1"> <a name="u2f-host-u2f-host.other_details"></a><h2>Types and Values</h2> </div> </div> <div class="footer"> -<hr>Generated by GTK-Doc V1.24</div> +<hr>Generated by GTK-Doc V1.25</div> </body> </html> \ No newline at end of file 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/gtk-doc/html/u2f-host.devhelp2 new/libu2f-host-1.1.6/gtk-doc/html/u2f-host.devhelp2 --- old/libu2f-host-1.1.4/gtk-doc/html/u2f-host.devhelp2 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/html/u2f-host.devhelp2 2018-05-15 13:21:04.000000000 +0200 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8" standalone="no"?> -<book xmlns="http://www.devhelp.net/book" title="Yubico Universal 2nd Factor C Library" link="index.html" author="" name="u2f-host" version="2" language="c"> +<book xmlns="http://www.devhelp.net/book" title="Yubico Universal 2nd Factor C Library" link="index.html" author="" name="u2f-host" version="2" language="c" online="https://github.com/Yubico/libu2f-host"> <chapters> <sub name="Yubico Universal 2nd Factor C Library" link="intro.html"> <sub name="u2f-host" link="u2f-host-u2f-host.html"/> @@ -8,18 +8,6 @@ </sub> </chapters> <functions> - <keyword type="function" name="u2fh_global_init ()" link="u2f-host-u2f-host.html#u2fh-global-init"/> - <keyword type="function" name="u2fh_global_done ()" link="u2f-host-u2f-host.html#u2fh-global-done"/> - <keyword type="function" name="u2fh_strerror ()" link="u2f-host-u2f-host.html#u2fh-strerror"/> - <keyword type="function" name="u2fh_strerror_name ()" link="u2f-host-u2f-host.html#u2fh-strerror-name"/> - <keyword type="function" name="u2fh_devs_init ()" link="u2f-host-u2f-host.html#u2fh-devs-init"/> - <keyword type="function" name="u2fh_devs_discover ()" link="u2f-host-u2f-host.html#u2fh-devs-discover"/> - <keyword type="function" name="u2fh_devs_done ()" link="u2f-host-u2f-host.html#u2fh-devs-done"/> - <keyword type="function" name="u2fh_register ()" link="u2f-host-u2f-host.html#u2fh-register"/> - <keyword type="function" name="u2fh_authenticate ()" link="u2f-host-u2f-host.html#u2fh-authenticate"/> - <keyword type="function" name="u2fh_sendrecv ()" link="u2f-host-u2f-host.html#u2fh-sendrecv"/> - <keyword type="function" name="u2fh_get_device_description ()" link="u2f-host-u2f-host.html#u2fh-get-device-description"/> - <keyword type="function" name="u2fh_is_alive ()" link="u2f-host-u2f-host.html#u2fh-is-alive"/> <keyword type="enum" name="enum u2fh_rc" link="u2f-host-u2f-host-types.html#u2fh-rc"/> <keyword type="enum" name="enum u2fh_initflags" link="u2f-host-u2f-host-types.html#u2fh-initflags"/> <keyword type="enum" name="enum u2fh_cmdflags" link="u2f-host-u2f-host-types.html#u2fh-cmdflags"/> Binary files old/libu2f-host-1.1.4/gtk-doc/html/up-insensitive.png and new/libu2f-host-1.1.6/gtk-doc/html/up-insensitive.png differ 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/gtk-doc/tmpl/u2f-host-unused.sgml new/libu2f-host-1.1.6/gtk-doc/tmpl/u2f-host-unused.sgml --- old/libu2f-host-1.1.4/gtk-doc/tmpl/u2f-host-unused.sgml 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/tmpl/u2f-host-unused.sgml 2018-05-15 13:21:04.000000000 +0200 @@ -0,0 +1,113 @@ +<!-- ##### FUNCTION u2fh_authenticate ##### --> +<para> + +</para> + +@devs: +@challenge: +@origin: +@response: +@flags: +@Returns: + +<!-- ##### FUNCTION u2fh_devs_discover ##### --> +<para> + +</para> + +@devs: +@max_index: +@Returns: + +<!-- ##### FUNCTION u2fh_devs_done ##### --> +<para> + +</para> + +@devs: + +<!-- ##### FUNCTION u2fh_devs_init ##### --> +<para> + +</para> + +@devs: +@Returns: + +<!-- ##### FUNCTION u2fh_get_device_description ##### --> +<para> + +</para> + +@devs: +@index: +@out: +@len: +@Returns: + +<!-- ##### FUNCTION u2fh_global_done ##### --> +<para> + +</para> + +@void: + +<!-- ##### FUNCTION u2fh_global_init ##### --> +<para> + +</para> + +@flags: +@Returns: + +<!-- ##### FUNCTION u2fh_is_alive ##### --> +<para> + +</para> + +@devs: +@index: +@Returns: + +<!-- ##### FUNCTION u2fh_register ##### --> +<para> + +</para> + +@devs: +@challenge: +@origin: +@response: +@flags: +@Returns: + +<!-- ##### FUNCTION u2fh_sendrecv ##### --> +<para> + +</para> + +@devs: +@index: +@cmd: +@send: +@sendlen: +@recv: +@recvlen: +@Returns: + +<!-- ##### FUNCTION u2fh_strerror ##### --> +<para> + +</para> + +@err: +@Returns: + +<!-- ##### FUNCTION u2fh_strerror_name ##### --> +<para> + +</para> + +@err: +@Returns: + 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/gtk-doc/tmpl/u2f-host.sgml new/libu2f-host-1.1.6/gtk-doc/tmpl/u2f-host.sgml --- old/libu2f-host-1.1.4/gtk-doc/tmpl/u2f-host.sgml 2017-09-01 08:51:20.000000000 +0200 +++ new/libu2f-host-1.1.6/gtk-doc/tmpl/u2f-host.sgml 2018-05-15 13:21:04.000000000 +0200 @@ -20,128 +20,3 @@ <!-- ##### SECTION Image ##### --> -<!-- ##### FUNCTION u2fh_global_init ##### --> -<para> - -</para> - -@flags: -@Returns: - - -<!-- ##### FUNCTION u2fh_global_done ##### --> -<para> - -</para> - -@void: - - -<!-- ##### FUNCTION u2fh_strerror ##### --> -<para> - -</para> - -@err: -@Returns: - - -<!-- ##### FUNCTION u2fh_strerror_name ##### --> -<para> - -</para> - -@err: -@Returns: - - -<!-- ##### FUNCTION u2fh_devs_init ##### --> -<para> - -</para> - -@devs: -@Returns: - - -<!-- ##### FUNCTION u2fh_devs_discover ##### --> -<para> - -</para> - -@devs: -@max_index: -@Returns: - - -<!-- ##### FUNCTION u2fh_devs_done ##### --> -<para> - -</para> - -@devs: - - -<!-- ##### FUNCTION u2fh_register ##### --> -<para> - -</para> - -@devs: -@challenge: -@origin: -@response: -@flags: -@Returns: - - -<!-- ##### FUNCTION u2fh_authenticate ##### --> -<para> - -</para> - -@devs: -@challenge: -@origin: -@response: -@flags: -@Returns: - - -<!-- ##### FUNCTION u2fh_sendrecv ##### --> -<para> - -</para> - -@devs: -@index: -@cmd: -@send: -@sendlen: -@recv: -@recvlen: -@Returns: - - -<!-- ##### FUNCTION u2fh_get_device_description ##### --> -<para> - -</para> - -@devs: -@index: -@out: -@len: -@Returns: - - -<!-- ##### FUNCTION u2fh_is_alive ##### --> -<para> - -</para> - -@devs: -@index: -@Returns: - - 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/src/u2f-host.1 new/libu2f-host-1.1.6/src/u2f-host.1 --- old/libu2f-host-1.1.4/src/u2f-host.1 2017-06-30 15:38:10.000000000 +0200 +++ new/libu2f-host-1.1.6/src/u2f-host.1 2018-04-24 14:08:55.000000000 +0200 @@ -1,12 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. -.TH U2F-HOST "1" "June 2017" "u2f-host 1.1.4" "User Commands" +.TH U2F-HOST "1" "April 2018" "u2f-host 1.1.6" "User Commands" .SH NAME u2f-host \- Yubico Universal 2nd Factor (U2F) Host Tool .SH SYNOPSIS .B u2f-host [\fI\,OPTIONS\/\fR]... .SH DESCRIPTION -u2f\-host 1.1.4 +u2f\-host 1.1.6 .PP Perform U2F host\-side operations on the command line. Reads challenge from standard input and writes a response to standard output. 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/u2f-host/authenticate.c new/libu2f-host-1.1.6/u2f-host/authenticate.c --- old/libu2f-host-1.1.4/u2f-host/authenticate.c 2016-05-02 09:09:17.000000000 +0200 +++ new/libu2f-host-1.1.6/u2f-host/authenticate.c 2018-04-26 11:00:37.000000000 +0200 @@ -55,9 +55,9 @@ if (jo == NULL) goto done; - json_object_object_add (jo, "signatureData", enc); - json_object_object_add (jo, "clientData", bd); - json_object_object_add (jo, "keyHandle", key); + json_object_object_add (jo, "signatureData", json_object_get (enc)); + json_object_object_add (jo, "clientData", json_object_get (bd)); + json_object_object_add (jo, "keyHandle", json_object_get (key)); reply = json_object_to_json_string (jo); if (*response == NULL) @@ -82,12 +82,9 @@ done: json_object_put (jo); - if (!jo) - { - json_object_put (enc); - json_object_put (bd); - json_object_put (key); - } + json_object_put (enc); + json_object_put (bd); + json_object_put (key); return rc; } @@ -170,6 +167,11 @@ do { struct u2fdevice *dev; + + if (iterations > 0 && len == 2 && memcmp (buf, NOTSATISFIED, 2) == 0) + { + Sleep (1000); + } for (dev = devs->first; dev != NULL; dev = dev->next) { unsigned char tmp_buf[MAXDATASIZE]; @@ -208,10 +210,6 @@ { return U2FH_TIMEOUT_ERROR; } - if (len == 2 && memcmp (buf, NOTSATISFIED, 2) == 0) - { - Sleep (1000); - } } while ((flags & U2FH_REQUEST_USER_PRESENCE) && len == 2 && memcmp (buf, NOTSATISFIED, 2) == 0); 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/u2f-host/internal.h new/libu2f-host-1.1.6/u2f-host/internal.h --- old/libu2f-host-1.1.4/u2f-host/internal.h 2017-06-30 15:28:01.000000000 +0200 +++ new/libu2f-host-1.1.6/u2f-host/internal.h 2018-03-07 08:42:37.000000000 +0100 @@ -63,6 +63,8 @@ #define REGISTER_TYP "navigator.id.finishEnrollment" #define AUTHENTICATE_TYP "navigator.id.getAssertion" +#define CTAPHID_KEEPALIVE (TYPE_INIT | 0x3b) // Keepalive response + int prepare_browserdata (const char *challenge, const char *origin, const char *typstr, char *out, size_t * outlen); int prepare_origin (const char *origin, unsigned char *p); 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/u2f-host/register.c new/libu2f-host-1.1.6/u2f-host/register.c --- old/libu2f-host-1.1.4/u2f-host/register.c 2016-05-02 09:09:17.000000000 +0200 +++ new/libu2f-host-1.1.6/u2f-host/register.c 2017-12-18 12:40:48.000000000 +0100 @@ -41,8 +41,8 @@ if (jo == NULL) goto done; - json_object_object_add (jo, "registrationData", resp); - json_object_object_add (jo, "clientData", bd); + json_object_object_add (jo, "registrationData", json_object_get (resp)); + json_object_object_add (jo, "clientData", json_object_get (bd)); reply = json_object_to_json_string (jo); if (*response == NULL) @@ -67,11 +67,8 @@ done: json_object_put (jo); - if (!jo) - { - json_object_put (resp); - json_object_put (bd); - } + json_object_put (resp); + json_object_put (bd); return rc; } 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/u2f-host/u2f-host-version.h new/libu2f-host-1.1.6/u2f-host/u2f-host-version.h --- old/libu2f-host-1.1.4/u2f-host/u2f-host-version.h 2017-09-01 08:48:54.000000000 +0200 +++ new/libu2f-host-1.1.6/u2f-host/u2f-host-version.h 2018-04-24 14:08:48.000000000 +0200 @@ -30,7 +30,7 @@ * version number. Used together with u2fh_check_version() to verify * header file and run-time library consistency. */ -#define U2FH_VERSION_STRING "1.1.4" +#define U2FH_VERSION_STRING "1.1.6" /** * U2FH_VERSION_NUMBER @@ -40,7 +40,7 @@ * this symbol will have the value 0x01020300. The last two digits * are only used between public releases, and will otherwise be 00. */ -#define U2FH_VERSION_NUMBER 0x010104 +#define U2FH_VERSION_NUMBER 0x010106 /** * U2FH_VERSION_MAJOR @@ -67,7 +67,7 @@ * level of the header file version number. For example, when the * header version is 1.2.3 this symbol will be 3. */ -#define U2FH_VERSION_PATCH 4 +#define U2FH_VERSION_PATCH 6 const char *u2fh_check_version (const char *req_version); 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/u2f-host/u2fmisc.c new/libu2f-host-1.1.6/u2f-host/u2fmisc.c --- old/libu2f-host-1.1.4/u2f-host/u2fmisc.c 2017-06-30 15:43:46.000000000 +0200 +++ new/libu2f-host-1.1.6/u2f-host/u2fmisc.c 2018-03-07 08:42:37.000000000 +0100 @@ -70,9 +70,9 @@ if (jo == NULL) goto done; - json_object_object_add (jo, "challenge", chal); - json_object_object_add (jo, "origin", orig); - json_object_object_add (jo, "typ", typ); + json_object_object_add (jo, "challenge", json_object_get (chal)); + json_object_object_add (jo, "origin", json_object_get (orig)); + json_object_object_add (jo, "typ", json_object_get (typ)); if (debug) { @@ -93,12 +93,10 @@ done: json_object_put (jo); - if (!jo) - { - json_object_put (chal); - json_object_put (orig); - json_object_put (typ); - } + json_object_put (chal); + json_object_put (orig); + json_object_put (typ); + return rc; } @@ -224,37 +222,44 @@ int timeout = HID_TIMEOUT; int rc = 0; - while (rc == 0) + do { - if (debug) + timeout = HID_TIMEOUT; + rc = 0; + + while (rc == 0) { - fprintf (stderr, "now trying with timeout %d\n", timeout); + if (debug) + { + fprintf (stderr, "now trying with timeout %d\n", timeout); + } + rc = hid_read_timeout (dev->devh, data, len, timeout); + timeout *= 2; + if (timeout > HID_MAX_TIMEOUT) + { + rc = -2; + break; + } } - rc = hid_read_timeout (dev->devh, data, len, timeout); - timeout *= 2; - if (timeout > HID_MAX_TIMEOUT) + + if (debug) { - rc = -2; - break; + fprintf (stderr, "USB read rc read %d\n", len); + if (rc > 0) + { + fprintf (stderr, "USB recv: "); + dumpHex (data, 0, rc); + } } - } - sequence = 0; - - if (debug) - { - fprintf (stderr, "USB read rc read %d\n", len); - if (rc > 0) + if (rc < 0) { - fprintf (stderr, "USB recv: "); - dumpHex (data, 0, rc); + return U2FH_TRANSPORT_ERROR; } + + memcpy (&frame, data, HID_RPT_SIZE); } - if (rc < 0) - { - return U2FH_TRANSPORT_ERROR; - } + while (frame.cid == dev->cid && frame.init.cmd == CTAPHID_KEEPALIVE); - memcpy (&frame, data, HID_RPT_SIZE); if (frame.cid != dev->cid || frame.init.cmd != cmd) { return U2FH_TRANSPORT_ERROR; @@ -267,6 +272,7 @@ memcpy (recv, frame.init.data, sizeof (frame.init.data)); recvddata = sizeof (frame.init.data); + sequence = 0; while (datalen > recvddata) { timeout = HID_TIMEOUT;