YubiKey: Retry to recover hotplugging

* Attempt one retry in the event the event the device was removed and
  re-inserted.

Signed-off-by: Kyle Manna <kyle@kylemanna.com>
This commit is contained in:
Kyle Manna
2014-09-06 22:09:06 -07:00
parent faa055010f
commit f7ee528d41
3 changed files with 29 additions and 1 deletions

View File

@@ -31,7 +31,8 @@ public:
QByteArray rawKey() const;
YkChallengeResponseKey* clone() const;
bool challenge(const QByteArray& challenge);
bool challenge(const QByteArray& chal);
bool challenge(const QByteArray& chal, int retries);
QString getName() const;
bool isBlocking() const;