Hello community, here is the log from the commit of package python-yubico for openSUSE:Factory checked in at 2019-03-01 20:30:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yubico (Old) and /work/SRC/openSUSE:Factory/.python-yubico.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yubico" Fri Mar 1 20:30:37 2019 rev:6 rq:680142 version:1.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yubico/python-yubico.changes 2018-12-13 19:46:08.500880088 +0100 +++ /work/SRC/openSUSE:Factory/.python-yubico.new.28833/python-yubico.changes 2019-03-01 20:30:53.169990138 +0100 @@ -1,0 +2,6 @@ +Thu Feb 28 13:00:33 UTC 2019 - Karol Babioch <[email protected]> + +- Version 1.3.3 (released 2019-02-28) + - Fixes in Python 3 compatibility. + +------------------------------------------------------------------- Old: ---- python-yubico-1.3.2.tar.gz python-yubico-1.3.2.tar.gz.sig New: ---- python-yubico-1.3.3.tar.gz python-yubico-1.3.3.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yubico.spec ++++++ --- /var/tmp/diff_new_pack.K4Jkeb/_old 2019-03-01 20:30:54.817989733 +0100 +++ /var/tmp/diff_new_pack.K4Jkeb/_new 2019-03-01 20:30:54.837989728 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-yubico # -# 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-yubico -Version: 1.3.2 +Version: 1.3.3 Release: 0 Summary: Python code for talking to Yubico's YubiKeys License: BSD-2-Clause ++++++ python-yubico-1.3.2.tar.gz -> python-yubico-1.3.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/ChangeLog new/python-yubico-1.3.3/ChangeLog --- old/python-yubico-1.3.2/ChangeLog 2016-02-23 12:24:39.000000000 +0100 +++ new/python-yubico-1.3.3/ChangeLog 2019-02-28 12:11:52.000000000 +0100 @@ -1,703 +0,0 @@ -2016-02-23 Dain Nilsson <[email protected]> - - * NEWS, release.py, yubico/yubico_version.py: Bumped version and - updated NEWS for release. - -2015-11-03 Klas Lindfors <[email protected]> - - * yubico/yubikey_usb_hid.py: change logic for pgm seq if no config is valid, seq 0 is ok - -2015-11-03 Klas Lindfors <[email protected]> - - * yubico/yubikey_usb_hid.py: that the new sequence is 0 is also ok - -2015-10-07 Dain Nilsson <[email protected]> - - * yubico/yubikey_frame.py: Added comments explaining debug data. - -2015-10-07 Dain Nilsson <[email protected]> - - * : Merge pull request #31 from axhoffmann/master Solved: Unlock code couldn't be set - -2015-10-01 Dain Nilsson <[email protected]> - - * MANIFEST.in: Include tests. - -2015-10-01 Dain Nilsson <[email protected]> - - * NEWS, yubico/yubico_version.py: Bumped version post release. - -2015-10-01 Dain Nilsson <[email protected]> - - * NEWS, yubico/yubico_version.py: Update version and NEWS for - release. - -2015-10-01 Dain Nilsson <[email protected]> - - * NEWS, yubico/yubico_version.py: Bump version. - -2015-10-01 Dain Nilsson <[email protected]> - - * setup.py: Fix setup.py. - -2015-10-01 Dain Nilsson <[email protected]> - - * MANIFEST.in: Revert "Remove release.py from MANIFEST." This reverts commit 1fbef1fae87d97a8f61a2e5a042200e82f5db764. - -2015-10-01 Dain Nilsson <[email protected]> - - * .gitmodules, README, release.py, setup.py, vendor/yubicommon, - yubico/yubicommon: Revert "Use python-yubicommon" This reverts commit 920d43d3c1ad3ee72e094c214801cbb44691e9ac. - -2015-10-01 Dain Nilsson <[email protected]> - - * NEWS, yubico/yubico_version.py: Updated NEWS and version for - release. - -2015-10-01 Dain Nilsson <[email protected]> - - * .travis.yml: Use Travis container based infrastructure. - -2015-10-01 Dain Nilsson <[email protected]> - - * MANIFEST.in: Remove release.py from MANIFEST. - -2015-10-01 Dain Nilsson <[email protected]> - - * .gitmodules, README, release.py, setup.py, vendor/yubicommon, - yubico/yubicommon: Use python-yubicommon - -2015-09-30 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: Correctly handle cases where - programming counter shouldn't increase. - -2015-09-14 Dain Nilsson <[email protected]> - - * yubico/yubikey_neo_usb_hid.py: Add missing import. - -2015-09-10 Dain Nilsson <[email protected]> - - * yubico/yubikey_neo_usb_hid.py: Fix write commands for YubiKey NEO. - -2015-09-09 Dain Nilsson <[email protected]> - - * yubico/yubikey_defs.py: Don't use set literals (not available in - python <2.7) - -2015-09-09 Dain Nilsson <[email protected]> - - * yubico/yubikey_4_usb_hid.py, yubico/yubikey_config.py, - yubico/yubikey_defs.py, yubico/yubikey_usb_hid.py: Moved some stuff - around. - -2015-09-09 Dain Nilsson <[email protected]> - - * yubico/yubikey_config_util.py: Made flags work with YK4. - -2015-09-09 Dain Nilsson <[email protected]> - - * yubico/ykdef.py, yubico/yubikey_4_usb_hid.py, - yubico/yubikey_config.py, yubico/yubikey_defs.py, - yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py, - yubico/yubikey_usb_hid.py: Combined ykdef with yubikey_defs. - -2015-09-09 Dain Nilsson <[email protected]> - - * yubico/yubikey.py, yubico/yubikey_4_usb_hid.py: Added support for - YK4-based devices. - -2015-09-09 Dain Nilsson <[email protected]> - - * yubico/ykdef.py, yubico/yubico_util.py, yubico/yubikey_base.py, - yubico/yubikey_neo_usb_hid.py, yubico/yubikey_usb_hid.py: Moved - constants to yubico/ykdef.py - -2015-09-08 Dain Nilsson <[email protected]> - - * README: Updated README. - -2015-09-08 Dain Nilsson <[email protected]> - - * NEWS: Updated NEWS. - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubikey_neo_usb_hid.py: Added scancode programming for NEO. - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubikey_config.py: Added zapping of slots. - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py: Added - have_scanmap and have_usb_mode. - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py: Added - support for programming NDEF slot 2 (fixes #23) - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: Sleep before read (closes #18) - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubico_exception.py, yubico/yubikey_base.py, - yubico/yubikey_config.py, yubico/yubikey_config_util.py, - yubico/yubikey_neo_usb_hid.py, yubico/yubikey_usb_hid.py: Switch to - new-style classes. - -2015-09-08 Dain Nilsson <[email protected]> - - * yubico/yubico_version.py, yubico/yubikey.py, - yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py, - yubico/yubikey_usb_hid.py: Improved support for YubiKey NEO. - -2015-08-26 Dain Nilsson <[email protected]> - - * .travis.yml: Fixed test command in travis. - -2015-08-26 Dain Nilsson <[email protected]> - - * .travis.yml, setup.py, test/__init__.py, test/soft/__init__.py, - test/soft/test_yubico.py, test/soft/test_yubikey_config.py, - test/soft/test_yubikey_frame.py, test/test_yubico.py, - test/test_yubikey_config.py, test/test_yubikey_frame.py, - test/test_yubikey_usb_hid.py, test/usb/__init__.py, - test/usb/test_yubikey_usb_hid.py: Separated tests that require a - YubiKey from those that do not. - -2015-07-20 Henrik Stråth <[email protected]> - - * : Merge pull request #25 from Yubico/travis Added Travis CI support - -2015-07-20 Henrik Stråth <[email protected]> - - * : Merge pull request #24 from encukou/py3 Add Python3 compatibility to util and examples - -2015-07-03 Dain Nilsson <[email protected]> - - * : Merge pull request #20 from encukou/py3 Add support for Python 3 - -2015-07-01 Petr Viktorin <[email protected]> - - * test/test_yubico.py, test/test_yubikey_config.py, - test/test_yubikey_frame.py, test/test_yubikey_usb_hid.py, - yubico/yubico_util.py, yubico/yubikey_config.py, - yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py, - yubico/yubikey_usb_hid.py: Distinguish text strings and bytestrings - for Python 3 compatibility All (potentially binary) data is bytestrings; text (including e.g. - hexdumps and exception messages) is text strings. Note that in Python 2, there's no difference between text (str, - '...') and bytestrings (bytes, b'...'). - -2015-07-01 Petr Viktorin <[email protected]> - - * test/test_yubikey_config.py, test/test_yubikey_frame.py, - test/test_yubikey_usb_hid.py, yubico/__init__.py, - yubico/yubico_exception.py, yubico/yubico_util.py, - yubico/yubikey.py, yubico/yubikey_base.py, - yubico/yubikey_config.py, yubico/yubikey_defs.py, - yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py, - yubico/yubikey_usb_hid.py: Use Python 3-compatible syntax - Use parentheses with print (python-yubico only ever gives one argument to print) - Use 'as' syntax when catching expressions (PEP; Python 2.6+) - Use explicit relative imports (PEP 328; Python 2.4+) - Use range instead of xrange (this is in a debugging tool, the memory overhead is negligible, and the entire result is iterated over) - -2015-07-01 Petr Viktorin <[email protected]> - - * yubico/yubikey.py, yubico/yubikey_base.py, - yubico/yubikey_config.py, yubico/yubikey_usb_hid.py: Breaking - circular imports: Move base classes to yubico_base.py This breaks the yubikey <-> yubikey_usb_hid circular import - -2015-07-01 Petr Viktorin <[email protected]> - - * yubico/yubikey_config.py, yubico/yubikey_defs.py, - yubico/yubikey_frame.py, yubico/yubikey_usb_hid.py: Breaking - circular imports: Move command definitions to yubikey_defs This breaks the yubikey_config <-> yubikey_frame circular import. - -2015-07-01 Petr Viktorin <[email protected]> - - * setup.py, yubico/__init__.py, yubico/yubico_exception.py, - yubico/yubico_util.py, yubico/yubico_version.py, yubico/yubikey.py, - yubico/yubikey_config.py, yubico/yubikey_defs.py, - yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py, - yubico/yubikey_usb_hid.py: Breaking circular imports: Move - __version__ to a dedicated module - -2015-03-23 Dain Nilsson <[email protected]> - - * NEWS, yubico/__init__.py: Updated version. - -2015-03-23 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: Added PIDs and ignore failure to - setConfiguration. - -2015-02-24 Henrik Stråth <[email protected]> - - * README: Update README - -2015-02-24 Henrik Stråth <[email protected]> - - * README: Updated link to PyUSB. Closes #16 - -2015-02-24 Henrik Stråth <[email protected]> - - * : Merge pull request #15 from vladimir-v-diaz/patch-2 Update README - -2015-02-23 Vladimir Diaz <[email protected]> - - * README: Update README Provide pip installation instructions for `pyusb` - -2015-02-19 Vladimir Diaz <[email protected]> - - * README: Update README Specify the correct package in the `pip install` installation - instruction. - -2015-02-11 Dain Nilsson <[email protected]> - - * NEWS: Updated NEWS for release. - -2015-02-10 Dain Nilsson <[email protected]> - - * setup.py, yubico/__init__.py: Read version from yubico/__init__.py - -2015-02-10 Dain Nilsson <[email protected]> - - * NEWS: Updated NEWS. - -2015-02-10 Dain Nilsson <[email protected]> - - * setup.py: Bumped version number. - -2015-02-10 Dain Nilsson <[email protected]> - - * .gitignore: Updated .gitignore. - -2015-02-10 Dain Nilsson <[email protected]> - - * test/test_yubikey_usb_hid.py: Release YK in tearDown. - -2015-02-10 Dain Nilsson <[email protected]> - - * README, README.adoc: Reformatted README to Asciidoc and added - README.adoc symlink for Github (fixed #11). - -2015-02-10 Dain Nilsson <[email protected]> - - * test/run.sh: Remove test/run.sh, test with "python setup.py test" - instead. - -2015-02-09 Dain Nilsson <[email protected]> - - * .gitignore: Updated .gitignore. - -2014-06-24 Dain Nilsson <[email protected]> - - * setup.py: Only require nose for tests (fixes #12). - -2014-01-23 Dain Nilsson <[email protected]> - - * util/yubikey-totp: Corrected timestamp used by yubikey-totp (fixes - #6). - -2013-09-05 Dain Nilsson <[email protected]> - - * NEWS, setup.py: Prepare for 1.2.1 release. - -2013-08-20 Dain Nilsson <[email protected]> - - * README: Updated README. - -2013-08-20 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: Fix _close method. - -2013-08-20 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: Fix: Used PID instead of VID for PyUSB - 1.0. - -2013-08-20 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: Try to re-attach kernel driver if - possible on close. - -2013-08-19 Dain Nilsson <[email protected]> - - * yubico/yubikey_usb_hid.py: libusb fixes for Windows. - -2013-08-07 Dain Nilsson <[email protected]> - - * README: Updated README to point to the yubico/stable PPA. - -2013-08-07 Dain Nilsson <[email protected]> - - * NEWS: Updated NEWS for release. - -2013-08-07 Dain Nilsson <[email protected]> - - * Lib/yubico/__init__.py, Lib/yubico/yubico_exception.py, - Lib/yubico/yubico_util.py, Lib/yubico/yubikey.py, - Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py, - Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_frame.py, - Lib/yubico/yubikey_neo_usb_hid.py, Lib/yubico/yubikey_usb_hid.py, - NEWS, setup.py, util/yubikey-totp, yubico/__init__.py, - yubico/yubico_exception.py, yubico/yubico_util.py, - yubico/yubikey.py, yubico/yubikey_config.py, - yubico/yubikey_config_util.py, yubico/yubikey_defs.py, - yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py, - yubico/yubikey_usb_hid.py: Moved modules from Lib/ to root. - -2013-08-05 Dain Nilsson <[email protected]> - - * .gitignore, Lib/yubico/__init__.py, MANIFEST.in, NEWS, - Tests/run.sh, Tests/test_yubico.py, Tests/test_yubikey_config.py, - Tests/test_yubikey_frame.py, Tests/test_yubikey_usb_hid.py, - maintainer-scripts/make-release.sh, release.py, setup.cfg, - setup.py, test/run.sh, test/test_yubico.py, - test/test_yubikey_config.py, test/test_yubikey_frame.py, - test/test_yubikey_usb_hid.py: Use python setup.py for testing and - releasing. - -2013-03-25 Klas Lindfors <[email protected]> - - * : commit bd90abb268733d322586a0de2c2eed1376600ab9 Author: Klas - Lindfors <[email protected]> Date: Mon Mar 11 15:10:38 2013 +0100 - -2013-03-01 Klas Lindfors <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py: add support for yubikey NEO pids - -2012-12-04 Myroslav Opyr <[email protected]> - - * examples/yubikey-inventory: Handling 255 yubikeys Hypothetically you can return None in case all of the 255 - find_yubikey() invocations return an instance... - -2012-08-30 Fredrik Thulin <[email protected]> - - * : commit f76b63265755cfd69720e332912cf433adabb379 Merge: ddddefc - e324860 Author: Fredrik Thulin <[email protected]> Date: - Thu Aug 30 00:09:16 2012 -0700 - -2012-08-28 Paul McMillan <[email protected]> - - * examples/rolling_challenge_response: fix spelling in comment - -2012-06-08 Fredrik Thulin <[email protected]> - - * util/yubikey-totp.1: Hyphen fixes. - -2012-06-08 Fredrik Thulin <[email protected]> - - * .gitattributes: init - -2012-06-08 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py, setup.py: Prepare version 1.1.0. - -2012-06-08 Fredrik Thulin <[email protected]> - - * maintainer-scripts/make-release.sh: init, copy from python-pyhsm - -2012-06-08 Fredrik Thulin <[email protected]> - - * COPYING, README: Add 2012 to Copyright years. - -2012-06-08 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey.py: Remove no-op destructor. - -2012-06-08 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_neo_usb_hid.py: Add have_nfc_ndef. - -2012-06-08 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py, - Lib/yubico/yubikey_frame.py, Lib/yubico/yubikey_neo_usb_hid.py, - Lib/yubico/yubikey_usb_hid.py, doc/ykdef.h, - examples/update_cfg_remove_cr: Implement 2.3 functionality. - -2012-06-08 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py, examples/yubikey-inventory: Store - status information in it's own class. This breaks backwards compatibility in that it changes the returned - result of the 'YK.status()' function. Old : flags = YK.status() New : flags = YK.status().flags Add function YK.status().valid_configs() to see what slots are - configured with a valid configuration (requires firmware >= 2.1). - -2012-06-08 Fredrik Thulin <[email protected]> - - * : commit 697199fa8da433a381f34fa9b0cc74e6c709375e Author: Fredrik - Thulin <[email protected]> Date: Fri Jun 8 10:16:10 2012 +0200 - -2012-03-27 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py, - Lib/yubico/yubikey_usb_hid.py: Fix some bugs my refactoring caused. - -2012-03-22 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py, - Lib/yubico/yubikey_usb_hid.py: Add checking of YubiKey model to the - ticket/config/extended flags. - -2012-03-22 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey.py, Lib/yubico/yubikey_config.py, - Lib/yubico/yubikey_neo_usb_hid.py, Lib/yubico/yubikey_usb_hid.py, - Tests/test_yubikey_config.py, examples/yubikey-inventory: Implement - concept of capabilities. The introduction of the YubiKey NEO BETA using the same USB product - id, but only supporting a subset of the functionality of a YubiKey - with the same version meant we needed a more powerful way to - determine which YubiKey can do what. With classes deriving from the new YubiKeyCapabilities() this is now - possible, and should give us greater flexibility in the future. Change also adds some other things, such as a separate exception - class raised when a YubiKey cannot do what is asked, and - model/description data on the YubiKey object classes. - -2012-03-22 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config_util.py: Fix __repr__ bug. - -2012-03-22 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py: Fix destructor to not produce - warnings. - -2012-03-21 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey.py: Detect YubiKey NEO BETA units. - -2012-03-21 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py: Write classname as prefix in - _debug. - -2012-03-21 Fredrik Thulin <[email protected]> - - * examples/yubikey-inventory: Enable debug on -v. - -2012-03-21 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py: write_config: check slot number - -2012-03-20 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_neo_usb_hid.py: Implement proper encoding of - NDEF text messages. - -2012-03-19 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py, Lib/yubico/yubikey_neo_usb_hid.py, - examples/configure_neo_ndef: Preliminary YubiKey NEO NDEF writing - support. - -2011-12-14 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py, setup.py: Prepare version 1.0.0 - -2011-12-14 Fredrik Thulin <[email protected]> - - * COPYING, Lib/yubico/__init__.py, Lib/yubico/yubico_exception.py, - Lib/yubico/yubico_util.py, Lib/yubico/yubikey.py, - Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py, - Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_frame.py, - Lib/yubico/yubikey_usb_hid.py, README, - examples/rolling_challenge_response, util/yubikey-totp: Clarify - copyright by referencing COPYING file. - -2011-12-14 Fredrik Thulin <[email protected]> - - * util/yubikey-totp: init, small util to do OATH TOTP using a - YubiKey. - -2011-12-14 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubico_util.py: Add hotp_truncate(). - -2011-12-07 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py: Add mode_yubikey_otp(). - -2011-06-07 Fredrik Thulin <[email protected]> - - * README: Update PPA name. - -2011-04-20 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey.py, Lib/yubico/yubikey_usb_hid.py: small - corrections - -2011-04-20 Fredrik Thulin <[email protected]> - - * Tests/test_yubikey_config.py: Fix test case after change in - a24fd7b83. - -2011-04-20 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey.py, Lib/yubico/yubikey_usb_hid.py: Add - may_block to serial() and challenge_response(). - -2011-04-20 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py: Expect 16 byte key for Yubico-OTP - challenge response. Also rename 'mode' when configuring from 'yubico' to 'OTP' to match - the mode used when issuing challenges. - -2011-04-20 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_usb_hid.py: Bugfix - Yubico OTP challenge-response. - -2011-04-20 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey.py, Lib/yubico/yubikey_defs.py, - Lib/yubico/yubikey_usb_hid.py: _challenge_response: automatic - padding. Don't require the user of the function to know the details about how - the YubiKey expects challenges to be padded. - -2011-04-18 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py: Update version to 0.0.5. - -2011-04-18 Fredrik Thulin <[email protected]> - - * examples/yubikey-inventory: Add another example enumerating - YubiKeys. - -2011-04-18 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py, Tests/test_yubikey_config.py: Rename - mode_oath_hotp keyword 'bytes' to 'digits'. - -2011-04-18 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py, Lib/yubico/yubikey.py, README, - examples/configure_nist_test_key, examples/nist_challenge_response, - examples/rolling_challenge_response: Make 'import yubico' the only - needed one. - -2011-04-18 Fredrik Thulin <[email protected]> - - * doc/ykdef.h: init, from yubikey-personalization 1.5.1 - -2011-04-13 Fredrik Thulin <[email protected]> - - * examples/rolling_challenge_response: Update comment. - -2011-04-13 Fredrik Thulin <[email protected]> - - * examples/rolling_challenge_response: Example/demo of 'rolling - challenges'. This is a technique that can be used to protect for example an - eCryptfs mount passphrase using ever changing challenges to a - YubiKey. - -2011-04-10 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubico_exception.py: documentation - -2011-04-10 Fredrik Thulin <[email protected]> - - * README: Updates after feedback from Serge Hallyn. - -2011-02-21 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py: Version 0.0.4. - -2011-02-21 Fredrik Thulin <[email protected]> - - * examples/nist_challenge_response: Include C/R operation in - try-catch block. - -2011-02-19 Stuart Longland <[email protected]> - - * Lib/yubico/yubikey.py: yubico.yubikey: Fix typo in YubiKeyTimeout When a yubikey.YubiKeyTimeout exception is created to be thrown, - Python throws a NameError instead because the constructor uses an - undefined variable.. The bug can be reproduced by altering the configure_nist_test_key; - setting require_button to True in the call to - Cfg.mode_challenge_response on line 20, running it and the actual - test, then letting the YubiKey time out instead of pressing the - button. The constructor has a parameter, 'value', which was probably - intended to be called 'reason' (or the constructor meant to pass - 'value' instead). This patch renames the constructor parameter to - make it consistent with other modules' usage of the class. - -2011-02-19 Stuart Longland <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py: yubico.yubikey_usb_hid: add missing - import When a timeout occurs in the method YubiKeyUSBHID._waitfor, instead - of throwing the exception, yubikey.YubiKeyTimeout as expected, - Python throws a NameError instead because the yubikey module has not - been imported (only the YubiKey class). The bug can be reproduced by altering the configure_nist_test_key; - setting require_button to True in the call to - Cfg.mode_challenge_response on line 20, running it and the actual - test, then letting the YubiKey time out instead of pressing the - button. The alternate fix to this would be to import the YubiKeyTimeout - exception class in addition to the YubiKey class. - -2011-02-15 Fredrik Thulin <[email protected]> - - * README, examples/configure_nist_test_key, - examples/nist_challenge_response: Update to match change in - yubico_exception.YubicoError. 'value' was changed to 'reason' a while back. - -2011-01-19 Fredrik Thulin <[email protected]> - - * Lib/yubico/__init__.py: Version 0.0.3. - -2011-01-18 Fredrik Thulin <[email protected]> - - * : commit f2ef95e6f9082a06becef7ebba8d671e722c22d9 Merge: db7762f - d7b90e9 Author: Fredrik Thulin <[email protected]> Date: Tue Jan - 18 21:03:58 2011 +0100 - -2011-01-18 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_usb_hid.py: Fix problem with non-set - configuration on Windows. With libusb-win32 1.2.2.0 on Windows 7, python-yubico would fail - with an error message about invalid configuration for the interface - being claimed : usb.USBError: libusb0-dll:err [claim_interface] could not claim interface 0, invalid configuration 0 Apparently, the correct thing to do is to set configuration to one - that exists on the Yubikey (identified with 'lsusb' or similar). The only available configuration on my YubiKey is 1. - -2011-01-18 Fredrik Thulin <[email protected]> - - * Lib/yubico/yubikey_config.py, Tests/test_yubikey_config.py: Fix - shadowed test case, and fix bug with OATH-HOTP fixed string being - set even if there were no 'omp' or 'tt'. - -2011-01-05 Fredrik Thulin <[email protected]> - - * README: Add installation instructions. - -2011-01-02 Fredrik Thulin <[email protected]> - - * .gitignore, COPYING, Lib/yubico/__init__.py, - Lib/yubico/yubico_exception.py, Lib/yubico/yubico_util.py, - Lib/yubico/yubikey.py, Lib/yubico/yubikey_config.py, - Lib/yubico/yubikey_config_util.py, Lib/yubico/yubikey_defs.py, - Lib/yubico/yubikey_frame.py, Lib/yubico/yubikey_usb_hid.py, README, - Tests/run.sh, Tests/test_yubico.py, Tests/test_yubikey_config.py, - Tests/test_yubikey_frame.py, Tests/test_yubikey_usb_hid.py, - examples/configure_nist_test_key, examples/nist_challenge_response, - setup.py: Create first public version of python-yubico. - -2011-01-02 Fredrik Thulin <[email protected]> - - * .gitignore, Lib/yubico/__init__.py, - Lib/yubico/yubico_exception.py, Lib/yubico/yubico_util.py, - Lib/yubico/yubikey.py, Lib/yubico/yubikey_config.py, - Lib/yubico/yubikey_config_util.py, Lib/yubico/yubikey_defs.py, - Lib/yubico/yubikey_frame.py, Lib/yubico/yubikey_usb_hid.py, README, - Tests/run.sh, Tests/test_yubico.py, Tests/test_yubikey_config.py, - Tests/test_yubikey_frame.py, Tests/test_yubikey_usb_hid.py, - examples/configure_nist_test_key, examples/nist_challenge_response, - setup.py: Create first public version of python-yubico. - -2010-12-06 Fredrik Thulin <[email protected]> - - * README: init - -2010-12-06 Fredrik Thulin <[email protected]> - - * init - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/NEWS new/python-yubico-1.3.3/NEWS --- old/python-yubico-1.3.2/NEWS 2016-02-23 12:21:35.000000000 +0100 +++ new/python-yubico-1.3.3/NEWS 2019-02-28 12:11:31.000000000 +0100 @@ -1,3 +1,6 @@ +* Version 1.3.3 (released 2019-02-28) + ** Fixes in Python 3 compatibility. + * Version 1.3.2 (released 2016-02-23) ** Various fixes to sequence number checking. ** Fix issue with using an access code with the debug flag on. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/PKG-INFO new/python-yubico-1.3.3/PKG-INFO --- old/python-yubico-1.3.2/PKG-INFO 2016-02-23 12:24:40.000000000 +0100 +++ new/python-yubico-1.3.3/PKG-INFO 2019-02-28 12:11:53.000000000 +0100 @@ -1,10 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: python-yubico -Version: 1.3.2 +Version: 1.3.3 Summary: Python code for talking to Yubico's YubiKeys Home-page: https://github.com/Yubico/python-yubico -Author: Yubico Open Source Maintainers -Author-email: [email protected] +Author: Dain Nilsson +Author-email: [email protected] +Maintainer: Yubico Open Source Maintainers +Maintainer-email: [email protected] License: BSD 2 clause Description: UNKNOWN Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/python_yubico.egg-info/PKG-INFO new/python-yubico-1.3.3/python_yubico.egg-info/PKG-INFO --- old/python-yubico-1.3.2/python_yubico.egg-info/PKG-INFO 2016-02-23 12:24:39.000000000 +0100 +++ new/python-yubico-1.3.3/python_yubico.egg-info/PKG-INFO 2019-02-28 12:11:52.000000000 +0100 @@ -1,10 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: python-yubico -Version: 1.3.2 +Version: 1.3.3 Summary: Python code for talking to Yubico's YubiKeys Home-page: https://github.com/Yubico/python-yubico -Author: Yubico Open Source Maintainers -Author-email: [email protected] +Author: Dain Nilsson +Author-email: [email protected] +Maintainer: Yubico Open Source Maintainers +Maintainer-email: [email protected] License: BSD 2 clause Description: UNKNOWN Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/setup.cfg new/python-yubico-1.3.3/setup.cfg --- old/python-yubico-1.3.2/setup.cfg 2016-02-23 12:24:40.000000000 +0100 +++ new/python-yubico-1.3.3/setup.cfg 2019-02-28 12:11:53.000000000 +0100 @@ -1,5 +1,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/yubico/yubico_version.py new/python-yubico-1.3.3/yubico/yubico_version.py --- old/python-yubico-1.3.2/yubico/yubico_version.py 2016-02-23 12:21:35.000000000 +0100 +++ new/python-yubico-1.3.3/yubico/yubico_version.py 2019-02-27 20:59:07.000000000 +0100 @@ -1 +1 @@ -__version__ = "1.3.2" +__version__ = "1.3.3" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/yubico/yubikey_4_usb_hid.py new/python-yubico-1.3.3/yubico/yubikey_4_usb_hid.py --- old/python-yubico-1.3.2/yubico/yubikey_4_usb_hid.py 2016-02-23 12:21:35.000000000 +0100 +++ new/python-yubico-1.3.3/yubico/yubikey_4_usb_hid.py 2019-02-27 20:56:43.000000000 +0100 @@ -104,7 +104,7 @@ frame = yubikey_frame.YubiKeyFrame(command=SLOT.YK4_CAPABILITIES) self._device._write(frame) response = self._device._read_response() - r_len = ord(response[0]) + r_len = yubico_util.ord_byte(response[0]) # 1 byte length, 2 byte CRC. if not yubico_util.validate_crc16(response[:r_len+3]): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-yubico-1.3.2/yubico/yubikey_usb_hid.py new/python-yubico-1.3.3/yubico/yubikey_usb_hid.py --- old/python-yubico-1.3.2/yubico/yubikey_usb_hid.py 2016-02-23 12:21:35.000000000 +0100 +++ new/python-yubico-1.3.3/yubico/yubikey_usb_hid.py 2019-02-28 08:52:49.000000000 +0100 @@ -136,7 +136,7 @@ try: if self._usb_handle: self._close() - except IOError: + except (IOError, AttributeError): pass def _write_config(self, cfg, slot):
