Commit Graph

374 Commits

Author SHA1 Message Date
Dag Heyman
eff10672b9
Update .gitignore 2017-01-27 14:14:13 +01:00
Dag Heyman
a1e99c99ed
Initial project structure, copied from yubikey-manager-qt 2017-01-27 13:55:38 +01:00
Dag Heyman
f081fbe339
Remove all PySide based code. 2017-01-26 12:57:36 +01:00
Dag Heyman
88bd4a3e70
Fix hmac shorten function 2016-12-22 12:23:46 +01:00
Dag Heyman
a20065a8e7
Fix division error in QR decode
Should resolve #112
2016-12-20 12:57:50 +01:00
Dag Heyman
998bc602d5
Update NEWS 2016-12-19 08:28:05 +01:00
Dag Heyman
43afded57a
Update version 2016-12-13 13:32:23 +01:00
Dag Heyman
34bc28dc78
Update NEWS 2016-11-22 13:13:21 +01:00
Dag Heyman
5ea0f3dc82
Update NEWS and version number 2016-11-22 10:28:35 +01:00
Dag Heyman
b72665c7f1
Update yubicommon 2016-11-22 09:57:58 +01:00
Dag Heyman
12ea26a2ad
Add new row in README 2016-09-29 13:45:21 +02:00
Dag Heyman
803c40fbe0
Add travis badge 2016-09-29 13:44:32 +02:00
Dag Heyman
faeb32aa0f
No tests in travis for now 2016-09-29 13:40:44 +02:00
Dag Heyman
d50dfd5633
Update yubicommon 2016-09-29 13:37:49 +02:00
Dag Heyman
6922139d53
Travis: only flake8 for now 2016-09-29 13:04:29 +02:00
Dag Heyman
9038778c43
Add a travis file 2016-09-29 12:59:35 +02:00
Dag Heyman
d2e9c239b5
Cleanup to pass flake8 2016-09-29 11:49:52 +02:00
Dag Heyman
b241babbe8
Update yubicommon 2016-09-28 16:02:55 +02:00
Dag Heyman
f8f954556e
Merge pull request #102 2016-09-28 15:36:51 +02:00
Dain Nilsson
26f6b30f7d Disconnect from the smart card when the app is hidden. 2016-09-28 14:39:38 +02:00
Dain Nilsson
a9b4d937b2 Minor cleanups. 2016-09-27 13:53:39 +02:00
Dain Nilsson
4e25a257ec Merge pull request #99 from tycho/add-search-box. 2016-09-23 17:06:53 +02:00
Dain Nilsson
db19508e77 Merge pull request #98 from tycho/add-hmac-sha256-gui. 2016-09-23 16:51:46 +02:00
Dain Nilsson
ac5350abf4 Merge pull request #103 from tycho/fix-ui-hitches. 2016-09-23 15:44:34 +02:00
Steven Noonan
385ea3480e yubioath-gui: select the contents of the search box when focused
When we hit the find shortcut, select the entire contents of the search
box. This matches the behavior of e.g. Google Chrome's search box.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-13 12:29:33 -07:00
Steven Noonan
d3eaf877cd yubioath-gui: set completion mode to "inline"
The popup was eating hotkey events and I couldn't figure out a sensible
way around that.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-13 12:28:40 -07:00
Steven Noonan
36448cee4f yubioath-gui: do expensive refresh_codes() logic in background worker
This prevents the user interface from hitching when refreshing the codes list.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-12 20:26:57 -07:00
Steven Noonan
ac70f61228 yubioath-gui: add auto-completion to search box
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-12 19:11:09 -07:00
Steven Noonan
2d0e876613 yubioath-gui: add search box for codes list
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-12 19:11:09 -07:00
Steven Noonan
396f9433fd yubioath-gui: add shortcut Command+W to close the window
The typical OS X shortcuts mostly work: Command+Q, Command+H... But Command+W,
the shortcut for closing the current window, does not currently do anything.
This hooks the Command+W key sequence up to the window.close function.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-12 01:37:25 -07:00
Steven Noonan
62ba218ec9 yubioath cli: allow funny Steam otpauth URIs
otpauth URIs exported by WinAuth add 'digits=5' for SteamGuard tokens,
which is invalid in all cases except for Steam. Since the YubiKey will
reject a value of '5', just patch it to '6' like we do in the GUI.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-09 17:09:32 -07:00
Steven Noonan
f981358b96 yubioath cli: add support for HMAC-SHA256
This also adds value correctness checking for the OATH type and number of digits.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-09 17:09:32 -07:00
Steven Noonan
a36290fd1f yubioath cli: use better description for oath-type
Since the "algorithm" is the HMAC variant.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-09 17:09:29 -07:00
Steven Noonan
058ddbfc01 yubioath cli: fix handling of otpauth URIs
If we use the 'or's here we incorrectly pull a bunch of values from the
command-line arguments instead of from the parsed URL. Even if the user
doesn't specify these values (e.g. digits) on the command line, they
already have Click-defined default values. So regardless of the 'digits'
value in the otpauth:// URI, '6' would always be used.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-09 16:01:58 -07:00
Steven Noonan
17e26f592f yubioath-gui: add more error checking for parsed QR codes
We now verify that the type, number of digits, and algorithm are valid
choices.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-09 16:01:04 -07:00
Steven Noonan
dd883780b7 yubioath-gui: implement HMAC-SHA256 support in UI
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-09-09 16:00:59 -07:00
Dain Nilsson
042171cc7c Merge pull request #94 from tycho/fix-for-qr-decode
qrdecode: fix error where float was used as a string index
2016-09-08 14:59:53 +02:00
Steven Noonan
fc0554d711 qrdecode: fix error where float was used as a string index
We needed to do an integer division not a float division.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-08-26 03:57:21 -07:00
Dag Heyman
4f33c9fd63 Update desktop icon command 2016-06-15 16:26:01 +02:00
Dain Nilsson
2d8786df2e Bump version. 2016-06-13 13:24:54 +02:00
Dain Nilsson
2c749567c3 Update NEWS and version for release. 2016-06-13 13:17:26 +02:00
Dain Nilsson
c959bbdbce Update yubicommon. 2016-06-13 13:14:25 +02:00
Dain Nilsson
6e7ebed8e6 Fix "yubioath gui" command when run fron PyInstaller. 2016-06-13 13:13:54 +02:00
Dain Nilsson
9e22fed700 Fix command names in Windows installer. 2016-06-13 13:13:33 +02:00
Dain Nilsson
0de3d4e7c6 Fix headers for man pages. 2016-06-09 13:37:21 +02:00
Dain Nilsson
17e408296b Minor CLI fixes. 2016-06-09 13:19:49 +02:00
Dain Nilsson
2f9f5f51f3 Update man pages. 2016-06-09 13:19:49 +02:00
Dag Heyman
c992679d00 Prepare for release 3.0.0 2016-06-09 13:03:22 +02:00
Dain Nilsson
6ab5298cd1 Updated README, moved binary build instructions. 2016-06-09 11:48:22 +02:00
Dag Heyman
9c85fa6578 Try systemd syntax if pcscd restart fails
Closes #75
2016-06-09 11:44:49 +02:00