Codebase list python-yubico / 8460514
New upstream release. Debian Janitor 4 years ago
9 changed file(s) with 24 addition(s) and 715 deletion(s). Raw diff Collapse all Expand all
0 2016-02-23 Dain Nilsson <dain@yubico.com>
1
2 * NEWS, release.py, yubico/yubico_version.py: Bumped version and
3 updated NEWS for release.
4
5 2015-11-03 Klas Lindfors <klas@yubico.com>
6
7 * yubico/yubikey_usb_hid.py: change logic for pgm seq if no config is valid, seq 0 is ok
8
9 2015-11-03 Klas Lindfors <klas@yubico.com>
10
11 * yubico/yubikey_usb_hid.py: that the new sequence is 0 is also ok
12
13 2015-10-07 Dain Nilsson <dain@yubico.com>
14
15 * yubico/yubikey_frame.py: Added comments explaining debug data.
16
17 2015-10-07 Dain Nilsson <dainzor@gmail.com>
18
19 * : Merge pull request #31 from axhoffmann/master Solved: Unlock code couldn't be set
20
21 2015-10-01 Dain Nilsson <dain@yubico.com>
22
23 * MANIFEST.in: Include tests.
24
25 2015-10-01 Dain Nilsson <dain@yubico.com>
26
27 * NEWS, yubico/yubico_version.py: Bumped version post release.
28
29 2015-10-01 Dain Nilsson <dain@yubico.com>
30
31 * NEWS, yubico/yubico_version.py: Update version and NEWS for
32 release.
33
34 2015-10-01 Dain Nilsson <dain@yubico.com>
35
36 * NEWS, yubico/yubico_version.py: Bump version.
37
38 2015-10-01 Dain Nilsson <dain@yubico.com>
39
40 * setup.py: Fix setup.py.
41
42 2015-10-01 Dain Nilsson <dain@yubico.com>
43
44 * MANIFEST.in: Revert "Remove release.py from MANIFEST." This reverts commit 1fbef1fae87d97a8f61a2e5a042200e82f5db764.
45
46 2015-10-01 Dain Nilsson <dain@yubico.com>
47
48 * .gitmodules, README, release.py, setup.py, vendor/yubicommon,
49 yubico/yubicommon: Revert "Use python-yubicommon" This reverts commit 920d43d3c1ad3ee72e094c214801cbb44691e9ac.
50
51 2015-10-01 Dain Nilsson <dain@yubico.com>
52
53 * NEWS, yubico/yubico_version.py: Updated NEWS and version for
54 release.
55
56 2015-10-01 Dain Nilsson <dain@yubico.com>
57
58 * .travis.yml: Use Travis container based infrastructure.
59
60 2015-10-01 Dain Nilsson <dain@yubico.com>
61
62 * MANIFEST.in: Remove release.py from MANIFEST.
63
64 2015-10-01 Dain Nilsson <dain@yubico.com>
65
66 * .gitmodules, README, release.py, setup.py, vendor/yubicommon,
67 yubico/yubicommon: Use python-yubicommon
68
69 2015-09-30 Dain Nilsson <dain@yubico.com>
70
71 * yubico/yubikey_usb_hid.py: Correctly handle cases where
72 programming counter shouldn't increase.
73
74 2015-09-14 Dain Nilsson <dain@yubico.com>
75
76 * yubico/yubikey_neo_usb_hid.py: Add missing import.
77
78 2015-09-10 Dain Nilsson <dain@yubico.com>
79
80 * yubico/yubikey_neo_usb_hid.py: Fix write commands for YubiKey NEO.
81
82 2015-09-09 Dain Nilsson <dain@yubico.com>
83
84 * yubico/yubikey_defs.py: Don't use set literals (not available in
85 python <2.7)
86
87 2015-09-09 Dain Nilsson <dain@yubico.com>
88
89 * yubico/yubikey_4_usb_hid.py, yubico/yubikey_config.py,
90 yubico/yubikey_defs.py, yubico/yubikey_usb_hid.py: Moved some stuff
91 around.
92
93 2015-09-09 Dain Nilsson <dain@yubico.com>
94
95 * yubico/yubikey_config_util.py: Made flags work with YK4.
96
97 2015-09-09 Dain Nilsson <dain@yubico.com>
98
99 * yubico/ykdef.py, yubico/yubikey_4_usb_hid.py,
100 yubico/yubikey_config.py, yubico/yubikey_defs.py,
101 yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py,
102 yubico/yubikey_usb_hid.py: Combined ykdef with yubikey_defs.
103
104 2015-09-09 Dain Nilsson <dain@yubico.com>
105
106 * yubico/yubikey.py, yubico/yubikey_4_usb_hid.py: Added support for
107 YK4-based devices.
108
109 2015-09-09 Dain Nilsson <dain@yubico.com>
110
111 * yubico/ykdef.py, yubico/yubico_util.py, yubico/yubikey_base.py,
112 yubico/yubikey_neo_usb_hid.py, yubico/yubikey_usb_hid.py: Moved
113 constants to yubico/ykdef.py
114
115 2015-09-08 Dain Nilsson <dain@yubico.com>
116
117 * README: Updated README.
118
119 2015-09-08 Dain Nilsson <dain@yubico.com>
120
121 * NEWS: Updated NEWS.
122
123 2015-09-08 Dain Nilsson <dain@yubico.com>
124
125 * yubico/yubikey_neo_usb_hid.py: Added scancode programming for NEO.
126
127 2015-09-08 Dain Nilsson <dain@yubico.com>
128
129 * yubico/yubikey_config.py: Added zapping of slots.
130
131 2015-09-08 Dain Nilsson <dain@yubico.com>
132
133 * yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py: Added
134 have_scanmap and have_usb_mode.
135
136 2015-09-08 Dain Nilsson <dain@yubico.com>
137
138 * yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py: Added
139 support for programming NDEF slot 2 (fixes #23)
140
141 2015-09-08 Dain Nilsson <dain@yubico.com>
142
143 * yubico/yubikey_usb_hid.py: Sleep before read (closes #18)
144
145 2015-09-08 Dain Nilsson <dain@yubico.com>
146
147 * yubico/yubico_exception.py, yubico/yubikey_base.py,
148 yubico/yubikey_config.py, yubico/yubikey_config_util.py,
149 yubico/yubikey_neo_usb_hid.py, yubico/yubikey_usb_hid.py: Switch to
150 new-style classes.
151
152 2015-09-08 Dain Nilsson <dain@yubico.com>
153
154 * yubico/yubico_version.py, yubico/yubikey.py,
155 yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py,
156 yubico/yubikey_usb_hid.py: Improved support for YubiKey NEO.
157
158 2015-08-26 Dain Nilsson <dain@yubico.com>
159
160 * .travis.yml: Fixed test command in travis.
161
162 2015-08-26 Dain Nilsson <dain@yubico.com>
163
164 * .travis.yml, setup.py, test/__init__.py, test/soft/__init__.py,
165 test/soft/test_yubico.py, test/soft/test_yubikey_config.py,
166 test/soft/test_yubikey_frame.py, test/test_yubico.py,
167 test/test_yubikey_config.py, test/test_yubikey_frame.py,
168 test/test_yubikey_usb_hid.py, test/usb/__init__.py,
169 test/usb/test_yubikey_usb_hid.py: Separated tests that require a
170 YubiKey from those that do not.
171
172 2015-07-20 Henrik Stråth <minisu@users.noreply.github.com>
173
174 * : Merge pull request #25 from Yubico/travis Added Travis CI support
175
176 2015-07-20 Henrik Stråth <minisu@users.noreply.github.com>
177
178 * : Merge pull request #24 from encukou/py3 Add Python3 compatibility to util and examples
179
180 2015-07-03 Dain Nilsson <dainzor@gmail.com>
181
182 * : Merge pull request #20 from encukou/py3 Add support for Python 3
183
184 2015-07-01 Petr Viktorin <pviktori@redhat.com>
185
186 * test/test_yubico.py, test/test_yubikey_config.py,
187 test/test_yubikey_frame.py, test/test_yubikey_usb_hid.py,
188 yubico/yubico_util.py, yubico/yubikey_config.py,
189 yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py,
190 yubico/yubikey_usb_hid.py: Distinguish text strings and bytestrings
191 for Python 3 compatibility All (potentially binary) data is bytestrings; text (including e.g.
192 hexdumps and exception messages) is text strings. Note that in Python 2, there's no difference between text (str,
193 '...') and bytestrings (bytes, b'...').
194
195 2015-07-01 Petr Viktorin <pviktori@redhat.com>
196
197 * test/test_yubikey_config.py, test/test_yubikey_frame.py,
198 test/test_yubikey_usb_hid.py, yubico/__init__.py,
199 yubico/yubico_exception.py, yubico/yubico_util.py,
200 yubico/yubikey.py, yubico/yubikey_base.py,
201 yubico/yubikey_config.py, yubico/yubikey_defs.py,
202 yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py,
203 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)
204
205 2015-07-01 Petr Viktorin <pviktori@redhat.com>
206
207 * yubico/yubikey.py, yubico/yubikey_base.py,
208 yubico/yubikey_config.py, yubico/yubikey_usb_hid.py: Breaking
209 circular imports: Move base classes to yubico_base.py This breaks the yubikey <-> yubikey_usb_hid circular import
210
211 2015-07-01 Petr Viktorin <pviktori@redhat.com>
212
213 * yubico/yubikey_config.py, yubico/yubikey_defs.py,
214 yubico/yubikey_frame.py, yubico/yubikey_usb_hid.py: Breaking
215 circular imports: Move command definitions to yubikey_defs This breaks the yubikey_config <-> yubikey_frame circular import.
216
217 2015-07-01 Petr Viktorin <pviktori@redhat.com>
218
219 * setup.py, yubico/__init__.py, yubico/yubico_exception.py,
220 yubico/yubico_util.py, yubico/yubico_version.py, yubico/yubikey.py,
221 yubico/yubikey_config.py, yubico/yubikey_defs.py,
222 yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py,
223 yubico/yubikey_usb_hid.py: Breaking circular imports: Move
224 __version__ to a dedicated module
225
226 2015-03-23 Dain Nilsson <dain@yubico.com>
227
228 * NEWS, yubico/__init__.py: Updated version.
229
230 2015-03-23 Dain Nilsson <dain@yubico.com>
231
232 * yubico/yubikey_usb_hid.py: Added PIDs and ignore failure to
233 setConfiguration.
234
235 2015-02-24 Henrik Stråth <minisu@users.noreply.github.com>
236
237 * README: Update README
238
239 2015-02-24 Henrik Stråth <minisu@users.noreply.github.com>
240
241 * README: Updated link to PyUSB. Closes #16
242
243 2015-02-24 Henrik Stråth <minisu@users.noreply.github.com>
244
245 * : Merge pull request #15 from vladimir-v-diaz/patch-2 Update README
246
247 2015-02-23 Vladimir Diaz <vladimir.v.diaz@gmail.com>
248
249 * README: Update README Provide pip installation instructions for `pyusb`
250
251 2015-02-19 Vladimir Diaz <vladimir.v.diaz@gmail.com>
252
253 * README: Update README Specify the correct package in the `pip install` installation
254 instruction.
255
256 2015-02-11 Dain Nilsson <dain@yubico.com>
257
258 * NEWS: Updated NEWS for release.
259
260 2015-02-10 Dain Nilsson <dain@yubico.com>
261
262 * setup.py, yubico/__init__.py: Read version from yubico/__init__.py
263
264 2015-02-10 Dain Nilsson <dain@yubico.com>
265
266 * NEWS: Updated NEWS.
267
268 2015-02-10 Dain Nilsson <dain@yubico.com>
269
270 * setup.py: Bumped version number.
271
272 2015-02-10 Dain Nilsson <dain@yubico.com>
273
274 * .gitignore: Updated .gitignore.
275
276 2015-02-10 Dain Nilsson <dain@yubico.com>
277
278 * test/test_yubikey_usb_hid.py: Release YK in tearDown.
279
280 2015-02-10 Dain Nilsson <dain@yubico.com>
281
282 * README, README.adoc: Reformatted README to Asciidoc and added
283 README.adoc symlink for Github (fixed #11).
284
285 2015-02-10 Dain Nilsson <dain@yubico.com>
286
287 * test/run.sh: Remove test/run.sh, test with "python setup.py test"
288 instead.
289
290 2015-02-09 Dain Nilsson <dain@yubico.com>
291
292 * .gitignore: Updated .gitignore.
293
294 2014-06-24 Dain Nilsson <dain@yubico.com>
295
296 * setup.py: Only require nose for tests (fixes #12).
297
298 2014-01-23 Dain Nilsson <dain@yubico.com>
299
300 * util/yubikey-totp: Corrected timestamp used by yubikey-totp (fixes
301 #6).
302
303 2013-09-05 Dain Nilsson <dain@yubico.com>
304
305 * NEWS, setup.py: Prepare for 1.2.1 release.
306
307 2013-08-20 Dain Nilsson <dain@yubico.com>
308
309 * README: Updated README.
310
311 2013-08-20 Dain Nilsson <dain@yubico.com>
312
313 * yubico/yubikey_usb_hid.py: Fix _close method.
314
315 2013-08-20 Dain Nilsson <dain@yubico.com>
316
317 * yubico/yubikey_usb_hid.py: Fix: Used PID instead of VID for PyUSB
318 1.0.
319
320 2013-08-20 Dain Nilsson <dain@yubico.com>
321
322 * yubico/yubikey_usb_hid.py: Try to re-attach kernel driver if
323 possible on close.
324
325 2013-08-19 Dain Nilsson <dain@yubico.com>
326
327 * yubico/yubikey_usb_hid.py: libusb fixes for Windows.
328
329 2013-08-07 Dain Nilsson <dain@yubico.com>
330
331 * README: Updated README to point to the yubico/stable PPA.
332
333 2013-08-07 Dain Nilsson <dain@yubico.com>
334
335 * NEWS: Updated NEWS for release.
336
337 2013-08-07 Dain Nilsson <dain@yubico.com>
338
339 * Lib/yubico/__init__.py, Lib/yubico/yubico_exception.py,
340 Lib/yubico/yubico_util.py, Lib/yubico/yubikey.py,
341 Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py,
342 Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_frame.py,
343 Lib/yubico/yubikey_neo_usb_hid.py, Lib/yubico/yubikey_usb_hid.py,
344 NEWS, setup.py, util/yubikey-totp, yubico/__init__.py,
345 yubico/yubico_exception.py, yubico/yubico_util.py,
346 yubico/yubikey.py, yubico/yubikey_config.py,
347 yubico/yubikey_config_util.py, yubico/yubikey_defs.py,
348 yubico/yubikey_frame.py, yubico/yubikey_neo_usb_hid.py,
349 yubico/yubikey_usb_hid.py: Moved modules from Lib/ to root.
350
351 2013-08-05 Dain Nilsson <dain@yubico.com>
352
353 * .gitignore, Lib/yubico/__init__.py, MANIFEST.in, NEWS,
354 Tests/run.sh, Tests/test_yubico.py, Tests/test_yubikey_config.py,
355 Tests/test_yubikey_frame.py, Tests/test_yubikey_usb_hid.py,
356 maintainer-scripts/make-release.sh, release.py, setup.cfg,
357 setup.py, test/run.sh, test/test_yubico.py,
358 test/test_yubikey_config.py, test/test_yubikey_frame.py,
359 test/test_yubikey_usb_hid.py: Use python setup.py for testing and
360 releasing.
361
362 2013-03-25 Klas Lindfors <klas@yubico.com>
363
364 * : commit bd90abb268733d322586a0de2c2eed1376600ab9 Author: Klas
365 Lindfors <klas@yubico.com> Date: Mon Mar 11 15:10:38 2013 +0100
366
367 2013-03-01 Klas Lindfors <klas@yubico.com>
368
369 * Lib/yubico/yubikey_usb_hid.py: add support for yubikey NEO pids
370
371 2012-12-04 Myroslav Opyr <myroslav@quintagroup.com>
372
373 * examples/yubikey-inventory: Handling 255 yubikeys Hypothetically you can return None in case all of the 255
374 find_yubikey() invocations return an instance...
375
376 2012-08-30 Fredrik Thulin <fredrik@yubico.com>
377
378 * : commit f76b63265755cfd69720e332912cf433adabb379 Merge: ddddefc
379 e324860 Author: Fredrik Thulin <f-github@spam.thulin.net> Date:
380 Thu Aug 30 00:09:16 2012 -0700
381
382 2012-08-28 Paul McMillan <Paul@McMillan.ws>
383
384 * examples/rolling_challenge_response: fix spelling in comment
385
386 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
387
388 * util/yubikey-totp.1: Hyphen fixes.
389
390 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
391
392 * .gitattributes: init
393
394 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
395
396 * Lib/yubico/__init__.py, setup.py: Prepare version 1.1.0.
397
398 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
399
400 * maintainer-scripts/make-release.sh: init, copy from python-pyhsm
401
402 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
403
404 * COPYING, README: Add 2012 to Copyright years.
405
406 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
407
408 * Lib/yubico/yubikey.py: Remove no-op destructor.
409
410 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
411
412 * Lib/yubico/yubikey_neo_usb_hid.py: Add have_nfc_ndef.
413
414 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
415
416 * Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py,
417 Lib/yubico/yubikey_frame.py, Lib/yubico/yubikey_neo_usb_hid.py,
418 Lib/yubico/yubikey_usb_hid.py, doc/ykdef.h,
419 examples/update_cfg_remove_cr: Implement 2.3 functionality.
420
421 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
422
423 * Lib/yubico/yubikey_usb_hid.py, examples/yubikey-inventory: Store
424 status information in it's own class. This breaks backwards compatibility in that it changes the returned
425 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
426 configured with a valid configuration (requires firmware >= 2.1).
427
428 2012-06-08 Fredrik Thulin <fredrik@yubico.com>
429
430 * : commit 697199fa8da433a381f34fa9b0cc74e6c709375e Author: Fredrik
431 Thulin <fredrik@yubico.com> Date: Fri Jun 8 10:16:10 2012 +0200
432
433 2012-03-27 Fredrik Thulin <fredrik@yubico.com>
434
435 * Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py,
436 Lib/yubico/yubikey_usb_hid.py: Fix some bugs my refactoring caused.
437
438 2012-03-22 Fredrik Thulin <fredrik@yubico.com>
439
440 * Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py,
441 Lib/yubico/yubikey_usb_hid.py: Add checking of YubiKey model to the
442 ticket/config/extended flags.
443
444 2012-03-22 Fredrik Thulin <fredrik@yubico.com>
445
446 * Lib/yubico/yubikey.py, Lib/yubico/yubikey_config.py,
447 Lib/yubico/yubikey_neo_usb_hid.py, Lib/yubico/yubikey_usb_hid.py,
448 Tests/test_yubikey_config.py, examples/yubikey-inventory: Implement
449 concept of capabilities. The introduction of the YubiKey NEO BETA using the same USB product
450 id, but only supporting a subset of the functionality of a YubiKey
451 with the same version meant we needed a more powerful way to
452 determine which YubiKey can do what. With classes deriving from the new YubiKeyCapabilities() this is now
453 possible, and should give us greater flexibility in the future. Change also adds some other things, such as a separate exception
454 class raised when a YubiKey cannot do what is asked, and
455 model/description data on the YubiKey object classes.
456
457 2012-03-22 Fredrik Thulin <fredrik@yubico.com>
458
459 * Lib/yubico/yubikey_config_util.py: Fix __repr__ bug.
460
461 2012-03-22 Fredrik Thulin <fredrik@yubico.com>
462
463 * Lib/yubico/yubikey_usb_hid.py: Fix destructor to not produce
464 warnings.
465
466 2012-03-21 Fredrik Thulin <fredrik@yubico.com>
467
468 * Lib/yubico/yubikey.py: Detect YubiKey NEO BETA units.
469
470 2012-03-21 Fredrik Thulin <fredrik@yubico.com>
471
472 * Lib/yubico/yubikey_usb_hid.py: Write classname as prefix in
473 _debug.
474
475 2012-03-21 Fredrik Thulin <fredrik@yubico.com>
476
477 * examples/yubikey-inventory: Enable debug on -v.
478
479 2012-03-21 Fredrik Thulin <fredrik@yubico.com>
480
481 * Lib/yubico/yubikey_usb_hid.py: write_config: check slot number
482
483 2012-03-20 Fredrik Thulin <fredrik@yubico.com>
484
485 * Lib/yubico/yubikey_neo_usb_hid.py: Implement proper encoding of
486 NDEF text messages.
487
488 2012-03-19 Fredrik Thulin <fredrik@yubico.com>
489
490 * Lib/yubico/__init__.py, Lib/yubico/yubikey_neo_usb_hid.py,
491 examples/configure_neo_ndef: Preliminary YubiKey NEO NDEF writing
492 support.
493
494 2011-12-14 Fredrik Thulin <fredrik@yubico.com>
495
496 * Lib/yubico/__init__.py, setup.py: Prepare version 1.0.0
497
498 2011-12-14 Fredrik Thulin <fredrik@yubico.com>
499
500 * COPYING, Lib/yubico/__init__.py, Lib/yubico/yubico_exception.py,
501 Lib/yubico/yubico_util.py, Lib/yubico/yubikey.py,
502 Lib/yubico/yubikey_config.py, Lib/yubico/yubikey_config_util.py,
503 Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_frame.py,
504 Lib/yubico/yubikey_usb_hid.py, README,
505 examples/rolling_challenge_response, util/yubikey-totp: Clarify
506 copyright by referencing COPYING file.
507
508 2011-12-14 Fredrik Thulin <fredrik@yubico.com>
509
510 * util/yubikey-totp: init, small util to do OATH TOTP using a
511 YubiKey.
512
513 2011-12-14 Fredrik Thulin <fredrik@yubico.com>
514
515 * Lib/yubico/yubico_util.py: Add hotp_truncate().
516
517 2011-12-07 Fredrik Thulin <fredrik@yubico.com>
518
519 * Lib/yubico/yubikey_config.py: Add mode_yubikey_otp().
520
521 2011-06-07 Fredrik Thulin <fredrik@yubico.com>
522
523 * README: Update PPA name.
524
525 2011-04-20 Fredrik Thulin <fredrik@yubico.com>
526
527 * Lib/yubico/yubikey.py, Lib/yubico/yubikey_usb_hid.py: small
528 corrections
529
530 2011-04-20 Fredrik Thulin <fredrik@yubico.com>
531
532 * Tests/test_yubikey_config.py: Fix test case after change in
533 a24fd7b83.
534
535 2011-04-20 Fredrik Thulin <fredrik@yubico.com>
536
537 * Lib/yubico/yubikey.py, Lib/yubico/yubikey_usb_hid.py: Add
538 may_block to serial() and challenge_response().
539
540 2011-04-20 Fredrik Thulin <fredrik@yubico.com>
541
542 * Lib/yubico/yubikey_config.py: Expect 16 byte key for Yubico-OTP
543 challenge response. Also rename 'mode' when configuring from 'yubico' to 'OTP' to match
544 the mode used when issuing challenges.
545
546 2011-04-20 Fredrik Thulin <fredrik@yubico.com>
547
548 * Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_usb_hid.py: Bugfix
549 Yubico OTP challenge-response.
550
551 2011-04-20 Fredrik Thulin <fredrik@yubico.com>
552
553 * Lib/yubico/yubikey.py, Lib/yubico/yubikey_defs.py,
554 Lib/yubico/yubikey_usb_hid.py: _challenge_response: automatic
555 padding. Don't require the user of the function to know the details about how
556 the YubiKey expects challenges to be padded.
557
558 2011-04-18 Fredrik Thulin <fredrik@yubico.com>
559
560 * Lib/yubico/__init__.py: Update version to 0.0.5.
561
562 2011-04-18 Fredrik Thulin <fredrik@yubico.com>
563
564 * examples/yubikey-inventory: Add another example enumerating
565 YubiKeys.
566
567 2011-04-18 Fredrik Thulin <fredrik@yubico.com>
568
569 * Lib/yubico/yubikey_config.py, Tests/test_yubikey_config.py: Rename
570 mode_oath_hotp keyword 'bytes' to 'digits'.
571
572 2011-04-18 Fredrik Thulin <fredrik@yubico.com>
573
574 * Lib/yubico/__init__.py, Lib/yubico/yubikey.py, README,
575 examples/configure_nist_test_key, examples/nist_challenge_response,
576 examples/rolling_challenge_response: Make 'import yubico' the only
577 needed one.
578
579 2011-04-18 Fredrik Thulin <fredrik@yubico.com>
580
581 * doc/ykdef.h: init, from yubikey-personalization 1.5.1
582
583 2011-04-13 Fredrik Thulin <fredrik@yubico.com>
584
585 * examples/rolling_challenge_response: Update comment.
586
587 2011-04-13 Fredrik Thulin <fredrik@yubico.com>
588
589 * examples/rolling_challenge_response: Example/demo of 'rolling
590 challenges'. This is a technique that can be used to protect for example an
591 eCryptfs mount passphrase using ever changing challenges to a
592 YubiKey.
593
594 2011-04-10 Fredrik Thulin <fredrik@yubico.com>
595
596 * Lib/yubico/yubico_exception.py: documentation
597
598 2011-04-10 Fredrik Thulin <fredrik@yubico.com>
599
600 * README: Updates after feedback from Serge Hallyn.
601
602 2011-02-21 Fredrik Thulin <fredrik@yubico.com>
603
604 * Lib/yubico/__init__.py: Version 0.0.4.
605
606 2011-02-21 Fredrik Thulin <fredrik@yubico.com>
607
608 * examples/nist_challenge_response: Include C/R operation in
609 try-catch block.
610
611 2011-02-19 Stuart Longland <redhatter@gentoo.org>
612
613 * Lib/yubico/yubikey.py: yubico.yubikey: Fix typo in YubiKeyTimeout When a yubikey.YubiKeyTimeout exception is created to be thrown,
614 Python throws a NameError instead because the constructor uses an
615 undefined variable.. The bug can be reproduced by altering the configure_nist_test_key;
616 setting require_button to True in the call to
617 Cfg.mode_challenge_response on line 20, running it and the actual
618 test, then letting the YubiKey time out instead of pressing the
619 button. The constructor has a parameter, 'value', which was probably
620 intended to be called 'reason' (or the constructor meant to pass
621 'value' instead). This patch renames the constructor parameter to
622 make it consistent with other modules' usage of the class.
623
624 2011-02-19 Stuart Longland <redhatter@gentoo.org>
625
626 * Lib/yubico/yubikey_usb_hid.py: yubico.yubikey_usb_hid: add missing
627 import When a timeout occurs in the method YubiKeyUSBHID._waitfor, instead
628 of throwing the exception, yubikey.YubiKeyTimeout as expected,
629 Python throws a NameError instead because the yubikey module has not
630 been imported (only the YubiKey class). The bug can be reproduced by altering the configure_nist_test_key;
631 setting require_button to True in the call to
632 Cfg.mode_challenge_response on line 20, running it and the actual
633 test, then letting the YubiKey time out instead of pressing the
634 button. The alternate fix to this would be to import the YubiKeyTimeout
635 exception class in addition to the YubiKey class.
636
637 2011-02-15 Fredrik Thulin <fredrik@yubico.com>
638
639 * README, examples/configure_nist_test_key,
640 examples/nist_challenge_response: Update to match change in
641 yubico_exception.YubicoError. 'value' was changed to 'reason' a while back.
642
643 2011-01-19 Fredrik Thulin <fredrik@yubico.com>
644
645 * Lib/yubico/__init__.py: Version 0.0.3.
646
647 2011-01-18 Fredrik Thulin <fredrik@yubico.com>
648
649 * : commit f2ef95e6f9082a06becef7ebba8d671e722c22d9 Merge: db7762f
650 d7b90e9 Author: Fredrik Thulin <fredrik@yubico.com> Date: Tue Jan
651 18 21:03:58 2011 +0100
652
653 2011-01-18 Fredrik Thulin <fredrik@yubico.com>
654
655 * Lib/yubico/yubikey_usb_hid.py: Fix problem with non-set
656 configuration on Windows. With libusb-win32 1.2.2.0 on Windows 7, python-yubico would fail
657 with an error message about invalid configuration for the interface
658 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
659 that exists on the Yubikey (identified with 'lsusb' or similar). The only available configuration on my YubiKey is 1.
660
661 2011-01-18 Fredrik Thulin <fredrik@yubico.com>
662
663 * Lib/yubico/yubikey_config.py, Tests/test_yubikey_config.py: Fix
664 shadowed test case, and fix bug with OATH-HOTP fixed string being
665 set even if there were no 'omp' or 'tt'.
666
667 2011-01-05 Fredrik Thulin <fredrik@yubico.com>
668
669 * README: Add installation instructions.
670
671 2011-01-02 Fredrik Thulin <fredrik@yubico.com>
672
673 * .gitignore, COPYING, Lib/yubico/__init__.py,
674 Lib/yubico/yubico_exception.py, Lib/yubico/yubico_util.py,
675 Lib/yubico/yubikey.py, Lib/yubico/yubikey_config.py,
676 Lib/yubico/yubikey_config_util.py, Lib/yubico/yubikey_defs.py,
677 Lib/yubico/yubikey_frame.py, Lib/yubico/yubikey_usb_hid.py, README,
678 Tests/run.sh, Tests/test_yubico.py, Tests/test_yubikey_config.py,
679 Tests/test_yubikey_frame.py, Tests/test_yubikey_usb_hid.py,
680 examples/configure_nist_test_key, examples/nist_challenge_response,
681 setup.py: Create first public version of python-yubico.
682
683 2011-01-02 Fredrik Thulin <fredrik@yubico.com>
684
685 * .gitignore, Lib/yubico/__init__.py,
686 Lib/yubico/yubico_exception.py, Lib/yubico/yubico_util.py,
687 Lib/yubico/yubikey.py, Lib/yubico/yubikey_config.py,
688 Lib/yubico/yubikey_config_util.py, Lib/yubico/yubikey_defs.py,
689 Lib/yubico/yubikey_frame.py, Lib/yubico/yubikey_usb_hid.py, README,
690 Tests/run.sh, Tests/test_yubico.py, Tests/test_yubikey_config.py,
691 Tests/test_yubikey_frame.py, Tests/test_yubikey_usb_hid.py,
692 examples/configure_nist_test_key, examples/nist_challenge_response,
693 setup.py: Create first public version of python-yubico.
694
695 2010-12-06 Fredrik Thulin <fredrik@yubico.com>
696
697 * README: init
698
699 2010-12-06 Fredrik Thulin <ft@it.su.se>
700
701 * init
702
0 * Version 1.3.3 (released 2019-02-28)
1 ** Fixes in Python 3 compatibility.
2
03 * Version 1.3.2 (released 2016-02-23)
14 ** Various fixes to sequence number checking.
25 ** Fix issue with using an access code with the debug flag on.
0 Metadata-Version: 1.1
0 Metadata-Version: 1.2
11 Name: python-yubico
2 Version: 1.3.2
2 Version: 1.3.3
33 Summary: Python code for talking to Yubico's YubiKeys
44 Home-page: https://github.com/Yubico/python-yubico
5 Author: Yubico Open Source Maintainers
6 Author-email: ossmaint@yubico.com
5 Author: Dain Nilsson
6 Author-email: dain@yubico.com
7 Maintainer: Yubico Open Source Maintainers
8 Maintainer-email: ossmaint@yubico.com
79 License: BSD 2 clause
810 Description: UNKNOWN
911 Platform: UNKNOWN
0 python-yubico (1.3.3-1) UNRELEASED; urgency=medium
1
2 * New upstream release.
3
4 -- Debian Janitor <janitor@jelmer.uk> Mon, 09 Sep 2019 18:08:18 +0000
5
06 python-yubico (1.3.2-2) unstable; urgency=medium
17
28 * Acknowledge NMU.
0 Metadata-Version: 1.1
0 Metadata-Version: 1.2
11 Name: python-yubico
2 Version: 1.3.2
2 Version: 1.3.3
33 Summary: Python code for talking to Yubico's YubiKeys
44 Home-page: https://github.com/Yubico/python-yubico
5 Author: Yubico Open Source Maintainers
6 Author-email: ossmaint@yubico.com
5 Author: Dain Nilsson
6 Author-email: dain@yubico.com
7 Maintainer: Yubico Open Source Maintainers
8 Maintainer-email: ossmaint@yubico.com
79 License: BSD 2 clause
810 Description: UNKNOWN
911 Platform: UNKNOWN
00 [egg_info]
11 tag_build =
22 tag_date = 0
3 tag_svn_revision = 0
43
0 __version__ = "1.3.2"
0 __version__ = "1.3.3"
103103 frame = yubikey_frame.YubiKeyFrame(command=SLOT.YK4_CAPABILITIES)
104104 self._device._write(frame)
105105 response = self._device._read_response()
106 r_len = ord(response[0])
106 r_len = yubico_util.ord_byte(response[0])
107107
108108 # 1 byte length, 2 byte CRC.
109109 if not yubico_util.validate_crc16(response[:r_len+3]):
135135 try:
136136 if self._usb_handle:
137137 self._close()
138 except IOError:
138 except (IOError, AttributeError):
139139 pass
140140
141141 def _write_config(self, cfg, slot):