Commit Graph

796 Commits

Author SHA1 Message Date
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
Dag Heyman
ee5f21647c Less general variable name for showing hidden credentials 2016-06-09 10:48:42 +02:00
Dag Heyman
e2e87581cf Better language in no space left-message. 2016-06-09 10:07:22 +02:00
Dain Nilsson
98b26459e8 Fix indentation issue. 2016-06-09 10:05:12 +02:00
Dain Nilsson
c8102a72b2 Update yubicommon and refactor ctypes code. 2016-06-09 10:00:28 +02:00
Dain Nilsson
1742d46d5c Update yubicommon, switch to use_library. 2016-06-08 22:41:10 +02:00
Dain Nilsson
548c5c7e30 Update yubicommon. 2016-06-08 14:32:23 +02:00
Dain Nilsson
c01242b0c5 Don't require PySide without gui. 2016-06-08 14:07:21 +02:00
Dag Heyman
ca5609274f Focus the window when activating from systray 2016-06-08 13:26:53 +02:00
Dain Nilsson
5e1dcb2e80 Hide _hidden credentials. 2016-06-08 12:07:44 +02:00
Dain Nilsson
69f26c37a8 Revert "Hide credentials with the issuer "_hidden:"."
This reverts commit cdfc77e0f3.
2016-06-08 12:06:34 +02:00
Dain Nilsson
87c6a071e2 Formatting. 2016-06-08 11:54:46 +02:00
Dain Nilsson
cdfc77e0f3 Hide credentials with the issuer "_hidden:". 2016-06-08 11:51:53 +02:00
Dain Nilsson
dd2953b192 Launch GUI using "yubioath gui". 2016-06-08 11:27:30 +02:00
Dain Nilsson
a686181efb Merge pull request #84 from Yubico/no-space
Handle case when no space left on YubiKey
2016-06-08 10:43:24 +02:00
Dag Heyman
617927f1b6 Handle case when no space left on YubiKey
When a Yubikey has no space left for OATH credentials,
it will return the response code 0x6a84.
Inform the user of this in the gui and client.
2016-06-08 10:42:01 +02:00
Dain Nilsson
d8de3c07f5 Default to "show" when no subcommand is given. 2016-06-08 10:37:33 +02:00
Dain Nilsson
9d601b4fe3 Use click instead of argparse. 2016-06-08 10:37:33 +02:00
Dag Heyman
c638f4fc29 Different order in the Swig installation. 2016-06-07 11:53:08 +02:00
Dag Heyman
2ea9ad1cb1 Add docs for building compatible binaries on OS X
To build backwards compatible binaries on OS X,
everything needs to be compiled with a CFLAGS variable set.
Add documentation for this and a .patch file needed
for building Qt 4.
2016-06-07 10:05:59 +02:00
Dag Heyman
33419682ab Language adjustments in the release notes 2016-06-03 21:06:54 +02:00
Dag Heyman
effdc24dcb Merge pull request #83 from Yubico/steam-yubikey4-calculation
Recalculate codes for Steam credentials
2016-06-03 15:40:00 +02:00
Dag Heyman
5313660a8b Recalculate codes for Steam credentials
Recalculate the codes for Steam credentials to avoid
the full truncation done by the Yubikey 4.
2016-06-03 15:39:10 +02:00
Dag Heyman
27160317a1 Update NEWS for upcoming release 2016-06-03 13:58:50 +02:00
Dag Heyman
f63d014997 Add lib folder to .gitignore 2016-06-03 13:55:35 +02:00
Dag Heyman
a3b13e3d49 Update Yubicommon 2016-06-02 13:26:26 +02:00
Dag Heyman
b261dde4b0 Merge pull request #82 from Yubico/scrolling-as-needed
Vertical scrolling when needed
2016-05-31 09:55:38 +02:00
Dag Heyman
c5b95399a4 Vertical scrolling when needed
Only show the vertical scrollbar when it's needed.
2016-05-31 09:44:18 +02:00
Dain Nilsson
1edf92d975 Merge pull request #81 from Yubico/split-issuer
UX enhancements
2016-05-31 09:39:59 +02:00