/
ChangeLog
703 lines (437 loc) · 23.7 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
2016-02-23 Dain Nilsson <dain@yubico.com>
* NEWS, release.py, yubico/yubico_version.py: Bumped version and
updated NEWS for release.
2015-11-03 Klas Lindfors <klas@yubico.com>
* yubico/yubikey_usb_hid.py: change logic for pgm seq if no config is valid, seq 0 is ok
2015-11-03 Klas Lindfors <klas@yubico.com>
* yubico/yubikey_usb_hid.py: that the new sequence is 0 is also ok
2015-10-07 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_frame.py: Added comments explaining debug data.
2015-10-07 Dain Nilsson <dainzor@gmail.com>
* : Merge pull request #31 from axhoffmann/master Solved: Unlock code couldn't be set
2015-10-01 Dain Nilsson <dain@yubico.com>
* MANIFEST.in: Include tests.
2015-10-01 Dain Nilsson <dain@yubico.com>
* NEWS, yubico/yubico_version.py: Bumped version post release.
2015-10-01 Dain Nilsson <dain@yubico.com>
* NEWS, yubico/yubico_version.py: Update version and NEWS for
release.
2015-10-01 Dain Nilsson <dain@yubico.com>
* NEWS, yubico/yubico_version.py: Bump version.
2015-10-01 Dain Nilsson <dain@yubico.com>
* setup.py: Fix setup.py.
2015-10-01 Dain Nilsson <dain@yubico.com>
* MANIFEST.in: Revert "Remove release.py from MANIFEST." This reverts commit 1fbef1fae87d97a8f61a2e5a042200e82f5db764.
2015-10-01 Dain Nilsson <dain@yubico.com>
* .gitmodules, README, release.py, setup.py, vendor/yubicommon,
yubico/yubicommon: Revert "Use python-yubicommon" This reverts commit 920d43d3c1ad3ee72e094c214801cbb44691e9ac.
2015-10-01 Dain Nilsson <dain@yubico.com>
* NEWS, yubico/yubico_version.py: Updated NEWS and version for
release.
2015-10-01 Dain Nilsson <dain@yubico.com>
* .travis.yml: Use Travis container based infrastructure.
2015-10-01 Dain Nilsson <dain@yubico.com>
* MANIFEST.in: Remove release.py from MANIFEST.
2015-10-01 Dain Nilsson <dain@yubico.com>
* .gitmodules, README, release.py, setup.py, vendor/yubicommon,
yubico/yubicommon: Use python-yubicommon
2015-09-30 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: Correctly handle cases where
programming counter shouldn't increase.
2015-09-14 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_neo_usb_hid.py: Add missing import.
2015-09-10 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_neo_usb_hid.py: Fix write commands for YubiKey NEO.
2015-09-09 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_defs.py: Don't use set literals (not available in
python <2.7)
2015-09-09 Dain Nilsson <dain@yubico.com>
* 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 <dain@yubico.com>
* yubico/yubikey_config_util.py: Made flags work with YK4.
2015-09-09 Dain Nilsson <dain@yubico.com>
* 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 <dain@yubico.com>
* yubico/yubikey.py, yubico/yubikey_4_usb_hid.py: Added support for
YK4-based devices.
2015-09-09 Dain Nilsson <dain@yubico.com>
* 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 <dain@yubico.com>
* README: Updated README.
2015-09-08 Dain Nilsson <dain@yubico.com>
* NEWS: Updated NEWS.
2015-09-08 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_neo_usb_hid.py: Added scancode programming for NEO.
2015-09-08 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_config.py: Added zapping of slots.
2015-09-08 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py: Added
have_scanmap and have_usb_mode.
2015-09-08 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_base.py, yubico/yubikey_neo_usb_hid.py: Added
support for programming NDEF slot 2 (fixes #23)
2015-09-08 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: Sleep before read (closes #18)
2015-09-08 Dain Nilsson <dain@yubico.com>
* 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 <dain@yubico.com>
* 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 <dain@yubico.com>
* .travis.yml: Fixed test command in travis.
2015-08-26 Dain Nilsson <dain@yubico.com>
* .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 <minisu@users.noreply.github.com>
* : Merge pull request #25 from Yubico/travis Added Travis CI support
2015-07-20 Henrik Stråth <minisu@users.noreply.github.com>
* : Merge pull request #24 from encukou/py3 Add Python3 compatibility to util and examples
2015-07-03 Dain Nilsson <dainzor@gmail.com>
* : Merge pull request #20 from encukou/py3 Add support for Python 3
2015-07-01 Petr Viktorin <pviktori@redhat.com>
* 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 <pviktori@redhat.com>
* 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 <pviktori@redhat.com>
* 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 <pviktori@redhat.com>
* 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 <pviktori@redhat.com>
* 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 <dain@yubico.com>
* NEWS, yubico/__init__.py: Updated version.
2015-03-23 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: Added PIDs and ignore failure to
setConfiguration.
2015-02-24 Henrik Stråth <minisu@users.noreply.github.com>
* README: Update README
2015-02-24 Henrik Stråth <minisu@users.noreply.github.com>
* README: Updated link to PyUSB. Closes #16
2015-02-24 Henrik Stråth <minisu@users.noreply.github.com>
* : Merge pull request #15 from vladimir-v-diaz/patch-2 Update README
2015-02-23 Vladimir Diaz <vladimir.v.diaz@gmail.com>
* README: Update README Provide pip installation instructions for `pyusb`
2015-02-19 Vladimir Diaz <vladimir.v.diaz@gmail.com>
* README: Update README Specify the correct package in the `pip install` installation
instruction.
2015-02-11 Dain Nilsson <dain@yubico.com>
* NEWS: Updated NEWS for release.
2015-02-10 Dain Nilsson <dain@yubico.com>
* setup.py, yubico/__init__.py: Read version from yubico/__init__.py
2015-02-10 Dain Nilsson <dain@yubico.com>
* NEWS: Updated NEWS.
2015-02-10 Dain Nilsson <dain@yubico.com>
* setup.py: Bumped version number.
2015-02-10 Dain Nilsson <dain@yubico.com>
* .gitignore: Updated .gitignore.
2015-02-10 Dain Nilsson <dain@yubico.com>
* test/test_yubikey_usb_hid.py: Release YK in tearDown.
2015-02-10 Dain Nilsson <dain@yubico.com>
* README, README.adoc: Reformatted README to Asciidoc and added
README.adoc symlink for Github (fixed #11).
2015-02-10 Dain Nilsson <dain@yubico.com>
* test/run.sh: Remove test/run.sh, test with "python setup.py test"
instead.
2015-02-09 Dain Nilsson <dain@yubico.com>
* .gitignore: Updated .gitignore.
2014-06-24 Dain Nilsson <dain@yubico.com>
* setup.py: Only require nose for tests (fixes #12).
2014-01-23 Dain Nilsson <dain@yubico.com>
* util/yubikey-totp: Corrected timestamp used by yubikey-totp (fixes
#6).
2013-09-05 Dain Nilsson <dain@yubico.com>
* NEWS, setup.py: Prepare for 1.2.1 release.
2013-08-20 Dain Nilsson <dain@yubico.com>
* README: Updated README.
2013-08-20 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: Fix _close method.
2013-08-20 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: Fix: Used PID instead of VID for PyUSB
1.0.
2013-08-20 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: Try to re-attach kernel driver if
possible on close.
2013-08-19 Dain Nilsson <dain@yubico.com>
* yubico/yubikey_usb_hid.py: libusb fixes for Windows.
2013-08-07 Dain Nilsson <dain@yubico.com>
* README: Updated README to point to the yubico/stable PPA.
2013-08-07 Dain Nilsson <dain@yubico.com>
* NEWS: Updated NEWS for release.
2013-08-07 Dain Nilsson <dain@yubico.com>
* 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 <dain@yubico.com>
* .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 <klas@yubico.com>
* : commit bd90abb268733d322586a0de2c2eed1376600ab9 Author: Klas
Lindfors <klas@yubico.com> Date: Mon Mar 11 15:10:38 2013 +0100
2013-03-01 Klas Lindfors <klas@yubico.com>
* Lib/yubico/yubikey_usb_hid.py: add support for yubikey NEO pids
2012-12-04 Myroslav Opyr <myroslav@quintagroup.com>
* 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 <fredrik@yubico.com>
* : commit f76b63265755cfd69720e332912cf433adabb379 Merge: ddddefc
e324860 Author: Fredrik Thulin <f-github@spam.thulin.net> Date:
Thu Aug 30 00:09:16 2012 -0700
2012-08-28 Paul McMillan <Paul@McMillan.ws>
* examples/rolling_challenge_response: fix spelling in comment
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* util/yubikey-totp.1: Hyphen fixes.
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* .gitattributes: init
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/__init__.py, setup.py: Prepare version 1.1.0.
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* maintainer-scripts/make-release.sh: init, copy from python-pyhsm
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* COPYING, README: Add 2012 to Copyright years.
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey.py: Remove no-op destructor.
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_neo_usb_hid.py: Add have_nfc_ndef.
2012-06-08 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* : commit 697199fa8da433a381f34fa9b0cc74e6c709375e Author: Fredrik
Thulin <fredrik@yubico.com> Date: Fri Jun 8 10:16:10 2012 +0200
2012-03-27 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* Lib/yubico/yubikey_config_util.py: Fix __repr__ bug.
2012-03-22 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_usb_hid.py: Fix destructor to not produce
warnings.
2012-03-21 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey.py: Detect YubiKey NEO BETA units.
2012-03-21 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_usb_hid.py: Write classname as prefix in
_debug.
2012-03-21 Fredrik Thulin <fredrik@yubico.com>
* examples/yubikey-inventory: Enable debug on -v.
2012-03-21 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_usb_hid.py: write_config: check slot number
2012-03-20 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_neo_usb_hid.py: Implement proper encoding of
NDEF text messages.
2012-03-19 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* Lib/yubico/__init__.py, setup.py: Prepare version 1.0.0
2011-12-14 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* util/yubikey-totp: init, small util to do OATH TOTP using a
YubiKey.
2011-12-14 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubico_util.py: Add hotp_truncate().
2011-12-07 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_config.py: Add mode_yubikey_otp().
2011-06-07 Fredrik Thulin <fredrik@yubico.com>
* README: Update PPA name.
2011-04-20 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey.py, Lib/yubico/yubikey_usb_hid.py: small
corrections
2011-04-20 Fredrik Thulin <fredrik@yubico.com>
* Tests/test_yubikey_config.py: Fix test case after change in
a24fd7b83.
2011-04-20 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey.py, Lib/yubico/yubikey_usb_hid.py: Add
may_block to serial() and challenge_response().
2011-04-20 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* Lib/yubico/yubikey_defs.py, Lib/yubico/yubikey_usb_hid.py: Bugfix
Yubico OTP challenge-response.
2011-04-20 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* Lib/yubico/__init__.py: Update version to 0.0.5.
2011-04-18 Fredrik Thulin <fredrik@yubico.com>
* examples/yubikey-inventory: Add another example enumerating
YubiKeys.
2011-04-18 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/yubikey_config.py, Tests/test_yubikey_config.py: Rename
mode_oath_hotp keyword 'bytes' to 'digits'.
2011-04-18 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* doc/ykdef.h: init, from yubikey-personalization 1.5.1
2011-04-13 Fredrik Thulin <fredrik@yubico.com>
* examples/rolling_challenge_response: Update comment.
2011-04-13 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* Lib/yubico/yubico_exception.py: documentation
2011-04-10 Fredrik Thulin <fredrik@yubico.com>
* README: Updates after feedback from Serge Hallyn.
2011-02-21 Fredrik Thulin <fredrik@yubico.com>
* Lib/yubico/__init__.py: Version 0.0.4.
2011-02-21 Fredrik Thulin <fredrik@yubico.com>
* examples/nist_challenge_response: Include C/R operation in
try-catch block.
2011-02-19 Stuart Longland <redhatter@gentoo.org>
* 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 <redhatter@gentoo.org>
* 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 <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* Lib/yubico/__init__.py: Version 0.0.3.
2011-01-18 Fredrik Thulin <fredrik@yubico.com>
* : commit f2ef95e6f9082a06becef7ebba8d671e722c22d9 Merge: db7762f
d7b90e9 Author: Fredrik Thulin <fredrik@yubico.com> Date: Tue Jan
18 21:03:58 2011 +0100
2011-01-18 Fredrik Thulin <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* 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 <fredrik@yubico.com>
* README: Add installation instructions.
2011-01-02 Fredrik Thulin <fredrik@yubico.com>
* .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 <fredrik@yubico.com>
* .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 <fredrik@yubico.com>
* README: init
2010-12-06 Fredrik Thulin <ft@it.su.se>
* init