mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-27 14:23:18 +03:00
Fix bug with non-CCId devices (fixes #32).
This commit is contained in:
parent
323fc4ae98
commit
c017b73751
1
NEWS
1
NEWS
@ -1,5 +1,6 @@
|
||||
* Version 2.1.1 (unreleased)
|
||||
** Added man pages.
|
||||
** Fixed bug with non-CCID YubiKeys not displaying slot-bsed credentials.
|
||||
|
||||
* Version 2.1.0 (released 2015-06-26)
|
||||
** Added setting to kill scdaemon on show, to release the device (GUI only).
|
||||
|
@ -117,7 +117,8 @@ class Controller(object):
|
||||
|
||||
if self.otp_supported and ((slot1 and not legacy_creds[0])
|
||||
or (slot2 and not legacy_creds[1])):
|
||||
ccid_dev.close()
|
||||
if ccid_dev:
|
||||
ccid_dev.close()
|
||||
legacy = self.open_otp()
|
||||
if legacy:
|
||||
key_found = True
|
||||
|
Loading…
Reference in New Issue
Block a user