yubioath-desktop-3.0.1/0000775000175000017500000000000012727513332014665 5ustar daindain00000000000000yubioath-desktop-3.0.1/setup.cfg0000664000175000017500000000007312727513332016506 0ustar daindain00000000000000[egg_info] tag_svn_revision = 0 tag_build = tag_date = 0 yubioath-desktop-3.0.1/README0000664000175000017500000001175012726252010015541 0ustar daindain00000000000000== Yubico Authenticator The Yubico Authenticator is a graphical desktop tool and command line tool for generating Open AuTHentication (OATH) event-based HOTP and time-based TOTP one-time password codes, with the help of a YubiKey that protects the shared secrets. === Graphical interface image::usage.gif[] === Command line interface $ yubioath --help Usage: yubioath [OPTIONS] COMMAND [ARGS]... Commands: delete Deletes a credential from the YubiKey. gui Launches the Yubico Authenticator graphical interface. password Manage the password used to protect access to the YubiKey. put Stores a new OATH credential in the YubiKey. reset Deletes all stored OATH credentials from the YubiKey. show Print one or more codes from a YubiKey. === Installation The recommended way to install this software including dependencies is by using the provided precompiled binaries for your platform. For Windows and OS X (10.7 and above), there are installers available for download https://developers.yubico.com/yubioath-desktop/Releases/[here]. For Ubuntu we have a custom PPA with a package for it https://launchpad.net/~yubico/+archive/ubuntu/stable[here]. ==== Using pip You can also install this project using pip, however the dependencies may require additional tools to build. When installing from pip, you can choose whether or not you wish to install the graphical application, just the command line tool, or just the python library. You do so as follows: $ pip install yubioath-desktop[cli,gui] # This will install everything. $ pip install yubioath-desktop # This installs only the library. If you run into problems during installation it will likely be with one of the dependencies, such as PySide or pyscard. Please see the relevant documentation for installing each project, provided by those projects. You will also need libykpers, which is a C library used to manage credentials using the slot-based approach. Installation instructions for this project is availabe https://developers.yubico.com/yubikey-personalization/[here]. === Supported devices Usage of this software requires a compatible YubiKey device. Yubico Authenticator is capable of provisioning and using both slot-based credentials (compatible with any YubiKey that supports OTP) as well as the more powerful standalone OATH functionality of the YubiKey NEO. To use the standalone OATH functionality your YubiKey must have the CCID mode enabled, which can be done by using the https://developers.yubico.com/yubikey-neo-manager/[YubiKey NEO Manager]. ==== Detecting the device when using CCID Under Linux and OS X this application uses libccid to communicate with the YubiKey. This library requires that each card reader used is listed in its configuration file, else the device will not be detected ("Insert a YubiKey..." will be displayed even though a YubiKey is present). To ensure that your libccid configuration contains all necessary entries you can run one of the two files locates in the resources directory of this repository, linux-patch-ccid or osx-patch-ccid, depending on your OS. You will need to run these scripts as root. If installing the OS X version from the binary installer, this script will be run automatically for you. NOTE: You may have to reboot your computer for the change to the libccid configuration to take effect! === Dependencies Yubico Authenticator requires click, PySide, yubikey-personalization, pyscard, and PyCrypto. === Working with the source code repository To work with the source code repository, if you wish to build your own release or contribute pull requests, follow these steps to set up your environment. If you just wish to install the application use the pre-build binaries or the source release packages. This project is developed on a Debian based system, other OSes may not be supported for development. ==== Installing the dependencies Make sure to install the needed dependencies: sudo apt-get install python-setuptools python-crypto python-pyscard \ python-pyside pyside-tools python-click libykpers-1-1 pcscd ==== Check out the code Run these commands to check out the source code: git clone --recursive https://github.com/Yubico/yubioath-desktop.git ==== Install the project using pip Install the project from the source code repository, in development mode: cd yubioath-desktop # cd into the git repository python setup.py qt_resources # Generate image resources (requires pyside-tools). pip install -e .[cli,gui] # Install the code in developer mode, using pip. You can now run the yubioath and yubioath-gui binaries, and anychanges you make to the code should be reflected in these commands. To remove the installation, run: pip uninstall yubioath-desktop ==== Build a source release To build a source release tar ball, run this command: python setup.py sdist The resulting build will be created in the dist/ subdirectory. === License Yubico Authenticator is licensed under GPLv3+, see COPYING for details. Entypo pictograms by Daniel Bruce - www.entypo.com yubioath-desktop-3.0.1/doc/0000775000175000017500000000000012727513331015431 5ustar daindain00000000000000yubioath-desktop-3.0.1/doc/osx-compiling.adoc0000664000175000017500000000300212726252010021035 0ustar daindain00000000000000== Building backwards compatible binaries on OS X Building yubioath-desktop compatible with OS X 10.7 (Lion) requires the `CFLAGS` variable to be set. All dependencies also needs to be built with this flag. export CFLAGS="-mmacosx-version-min=10.7" === Python Install Python 2.7 from python.org === CMake Install CMake from cmake.org ln -s /Applications/CMake.app/Contents/bin/cmake /usr/local/bin/cmake === Swig Download swig-3.0.8.tar.gz source from swig.org tar -xzcf swig-3.0.8.tar.gz cd swig-3.0.8 curl -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz sh Tools/pcre-build.sh ./configure make make install === Qt 4 A patch is included in this repository to make Qt 4.8.6 compile on OS X. curl -O http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz tar -xzvf qt-everywhere-opensource-src-4.8.6.tar.gz cd qt-everywhere-opensource-src-4.8.6 patch < yubioath-desktop/doc/qt4-8-6-on-osx.patch ./configure make make install ln -s /usr/local/Trolltech/Qt-4.8.6/bin/qmake /usr/local/bin/qmake === Wheel, pyscard, pycrypto pip install wheel pip install pyscard pip install pycrypto === PySide curl -O wget https://pypi.python.org/packages/source/P/PySide/PySide-1.2.4.tar.gz tar -xzcf PySide-1.2.4.tar.gz cd PySide-1.2.4 python2.7 setup.py bdist_wheel pip install dist/PySide-1.2.4-cp27-none-linux-x86_64.whl === Build .app python setup.py executable yubioath-desktop-3.0.1/doc/Building_Binaries.adoc0000664000175000017500000000433112726252010021624 0ustar daindain00000000000000== Building binaries Binaries for Windows and OSX are built using PyInstaller. Get the source release file, yubioath-desktop-.tar.gz, and extract it. It should contain a single directory, henceforth refered to as the release directory. When building binaries for Windows or OS X, you will need to include .dll/.dylib files from the yubikey-personalization project. Create a subdirectory called "lib" in the release directory. Download the correct binary release for your architecture from https://developers.yubico.com/yubikey-personalization/Releases/[here] and extract the contained .dll/.dylib files to the "lib" directory you created previously. === Windows For Windows you will need python, click, PySide, pyscard, PyCrypto, PyInstaller and Pywin32 installed (32 or 64-bit versions depending on the architecture of the binary your are building). To sign the executable you will need signtool.exe (from the Windows SDK) either copied into the root as well or in a location in your PATH, as well as a certificate in the Windows certificate store that you wish to sign with. Run "python setup.py executable" from the main release directory. With NSIS installed, a Windows installer will be built as well. === OSX For OSX you need python, pyside, pyscard, pycrypto, and pyinstaller installed. One way to install these dependencies is by using Homebrew and pip: brew install python brew install pyside pip install PyInstaller pip install pycrypto pip install pyscard pip install click NOTE: Homebrew will build backwards-incompatible binaries, so the resulting build will not run on an older version of OSX. Run "python setup.py executable" from the main release directory. This will create an .app in the dist directory. Sign the code using codesign: codesign -s 'Developer ID Application' dist/Yubico\ Authenticator.app --deep There is also a project file for use with http://s.sudre.free.fr/Packaging.html[Packages] located at `resources/yubioath.pkgproj`. This can be used to create an installer for distribution, which you should sign prior to distribution: packagesbuild resources/osx-installer.pkgproj productsign --sign 'Developer ID Installer' dist/Yubico\ Authenticator.pkg \ dist/yubioath-desktop-mac.pkg yubioath-desktop-3.0.1/resources/0000775000175000017500000000000012727513332016677 5ustar daindain00000000000000yubioath-desktop-3.0.1/resources/yubioath-desktop.icns0000664000175000017500000020002112660613711023041 0ustar daindain00000000000000icnsis32$đ˩]cӬŪZgדι>G̳ҿssǼᱬ~|"೤xzKƣ¶zMʽžI~ֿ<ÊڼXYWzwoj'?Gh)Eőb_^Kg:#đ˩]cӬŪZgד͹>H̳ҿssǼᱬ|"തxzKţ¶zMʽžI~׿<ÊڼXYWzxoj'>Gh)EŐb^^Kg:$đ˩]cӬŪZgד͹>G̳ҿssǼᱬ~|"തwzKţ¶zMʽžI~׿<ÊڼXYXzwnj(?Gh)EŐb_^Kg:s8mk>{24"Y<8 ?&bx`2"%<1%da"il32 ǐr@%^O²ξgK]cۧ̾R`֓¯{Oyőwtntxʾ~NmT̪nqypͤx0›wlúuuŐoǪT¸|nIԅ·w}z/qͺǝhƵ|k|Mտd֡Ʊ[}kűs`x&TDdp󴢥b~@g޽֋bOkֽ슉eWיh+ż~gTi׸wˀºNz~loðSj}ɲ?u|}˯!Жnxdɮx~tHxtfѻƎ.zxp_t|ww}lƾA:|佰n !yݠѮq_\A}ƾЩ\=Fgлo XCתH# T|NݼաV  3!\IhxU_vO! A\ǐr@%^O²ξgK]cڧ̾R`ד¯{Oyőwuntxʿ}NmT̪nqypͤx0›wlúuuŐpǪT¸|nIԄ·x}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;  |͖jA!!?{ʔjA!!=pf?! :j踉a< 4]۬X6  /PʞuP0  (Dp帏iE) !9]ͣ~[;! /LnⰐlK/  $;XzY<$ ,D_ÞbE,   2HbŞfJ2 !4Hb޾~eK4!  "2F[}̭v_H3"  .?QgȰ~iT@.  '5DUjƸ{iWE5&  (4BO]oǼzl_QB5(  #,6@JU_jt|yri_UK@6,#  %+28>CGJKLLLLLJGC>83,%    yubioath-desktop-3.0.1/resources/osx-installer.pkgproj0000664000175000017500000005436412726252010023105 0ustar daindain00000000000000 PACKAGES PACKAGE_FILES DEFAULT_INSTALL_LOCATION / HIERARCHY CHILDREN CHILDREN CHILDREN GID 80 PATH Utilities PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH ../dist/Yubico Authenticator.app PATH_TYPE 1 PERMISSIONS 493 TYPE 3 UID 0 GID 80 PATH Applications PATH_TYPE 0 PERMISSIONS 509 TYPE 1 UID 0 CHILDREN CHILDREN GID 80 PATH Application Support PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Documentation PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Filesystems PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Frameworks PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Input Methods PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Internet Plug-Ins PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH LaunchAgents PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH LaunchDaemons PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH PreferencePanes PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Preferences PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 80 PATH Printers PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH PrivilegedHelperTools PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH QuickLook PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH QuickTime PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Screen Savers PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Scripts PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Services PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Widgets PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 GID 0 PATH Library PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN CHILDREN CHILDREN GID 0 PATH Extensions PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 GID 0 PATH Library PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 GID 0 PATH System PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN CHILDREN GID 0 PATH Shared PATH_TYPE 0 PERMISSIONS 1023 TYPE 1 UID 0 GID 80 PATH Users PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 GID 0 PATH / PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 PAYLOAD_TYPE 0 VERSION 2 PACKAGE_SCRIPTS PREINSTALL_PATH RESOURCES PACKAGE_SETTINGS AUTHENTICATION 1 CONCLUSION_ACTION 0 IDENTIFIER com.yubico.pkg.YubicoAuthenticator NAME Yubico Authenticator OVERWRITE_PERMISSIONS VERSION 0.2.0 UUID 11112783-0BAA-41FF-86B4-F66A411887E9 PROJECT PROJECT_COMMENTS NOTES PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1M IDQuMDEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIvaHRtbDQv c3RyaWN0LmR0ZCI+CjxodG1sPgo8aGVhZD4KPG1ldGEgaHR0cC1l cXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7 IGNoYXJzZXQ9VVRGLTgiPgo8bWV0YSBodHRwLWVxdWl2PSJDb250 ZW50LVN0eWxlLVR5cGUiIGNvbnRlbnQ9InRleHQvY3NzIj4KPHRp dGxlPjwvdGl0bGU+CjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29u dGVudD0iQ29jb2EgSFRNTCBXcml0ZXIiPgo8bWV0YSBuYW1lPSJD b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjExMzguNTEiPgo8c3R5bGUg dHlwZT0idGV4dC9jc3MiPgo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5 Pgo8L2JvZHk+CjwvaHRtbD4K PROJECT_PRESENTATION BACKGROUND ALIGNMENT 0 BACKGROUND_PATH PATH installer_bg.png PATH_TYPE 1 CUSTOM 1 SCALING 0 INSTALLATION TYPE HIERARCHIES INSTALLER LIST DESCRIPTION OPTIONS HIDDEN STATE 1 PACKAGE_UUID 11112783-0BAA-41FF-86B4-F66A411887E9 TITLE TOOLTIP TYPE 0 UUID EDABC34C-552C-4359-ABE7-D9A7CA388207 REMOVED INSTALLATION TYPE 0 INSTALLATION_STEPS ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewIntroductionController INSTALLER_PLUGIN Introduction LIST_TITLE_KEY InstallerSectionTitle ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewReadMeController INSTALLER_PLUGIN ReadMe LIST_TITLE_KEY InstallerSectionTitle ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewLicenseController INSTALLER_PLUGIN License LIST_TITLE_KEY InstallerSectionTitle ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewDestinationSelectController INSTALLER_PLUGIN TargetSelect LIST_TITLE_KEY InstallerSectionTitle ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewInstallationTypeController INSTALLER_PLUGIN PackageSelection LIST_TITLE_KEY InstallerSectionTitle ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewInstallationController INSTALLER_PLUGIN Install LIST_TITLE_KEY InstallerSectionTitle ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS ICPresentationViewSummaryController INSTALLER_PLUGIN Summary LIST_TITLE_KEY InstallerSectionTitle INTRODUCTION LOCALIZATIONS LICENSE KEYWORDS ORGANIZATION organization OWNER Yubico AB YEAR 2014 LOCALIZATIONS MODE 0 TEMPLATE BSD License README LOCALIZATIONS SUMMARY LOCALIZATIONS TITLE LOCALIZATIONS LANGUAGE English VALUE Yubico Authenticator PROJECT_REQUIREMENTS LIST POSTINSTALL_PATH PREINSTALL_PATH RESOURCES ROOT_VOLUME_ONLY PROJECT_SETTINGS ADVANCED_OPTIONS BUILD_FORMAT 0 BUILD_PATH PATH ../dist PATH_TYPE 1 EXCLUDED_FILES PATTERNS_ARRAY REGULAR_EXPRESSION STRING .DS_Store TYPE 0 PROTECTED PROXY_NAME Remove .DS_Store files PROXY_TOOLTIP Remove ".DS_Store" files created by the Finder. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING .pbdevelopment TYPE 0 PROTECTED PROXY_NAME Remove .pbdevelopment files PROXY_TOOLTIP Remove ".pbdevelopment" files created by ProjectBuilder or Xcode. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING CVS TYPE 1 REGULAR_EXPRESSION STRING .cvsignore TYPE 0 REGULAR_EXPRESSION STRING .cvspass TYPE 0 REGULAR_EXPRESSION STRING .svn TYPE 1 REGULAR_EXPRESSION STRING .git TYPE 1 REGULAR_EXPRESSION STRING .gitignore TYPE 0 PROTECTED PROXY_NAME Remove SCM metadata PROXY_TOOLTIP Remove helper files and folders used by the CVS, SVN or Git Source Code Management systems. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING classes.nib TYPE 0 REGULAR_EXPRESSION STRING designable.db TYPE 0 REGULAR_EXPRESSION STRING info.nib TYPE 0 PROTECTED PROXY_NAME Optimize nib files PROXY_TOOLTIP Remove "classes.nib", "info.nib" and "designable.nib" files within .nib bundles. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING Resources Disabled TYPE 1 PROTECTED PROXY_NAME Remove Resources Disabled folders PROXY_TOOLTIP Remove "Resources Disabled" folders. STATE SEPARATOR NAME Yubico Authenticator TYPE 0 VERSION 2 yubioath-desktop-3.0.1/resources/installer_bg.png0000664000175000017500000000041012660613711022043 0ustar daindain00000000000000PNG  IHDRU`bKGD pHYs  tIME  #-.yOIDATx nH@/QIENDB`yubioath-desktop-3.0.1/resources/yubioath.desktop0000664000175000017500000000043312660613711022114 0ustar daindain00000000000000[Desktop Entry] Name=Yubico Authenticator GenericName=Yubico Authenticator Comment=Graphical interface for displaying OATH codes with a Yubikey Exec=yubioath Icon=yubioath StartupNotify=false Terminal=false Type=Application Categories=Utility; Keywords=YubiKey;Yubico;Authenticator; yubioath-desktop-3.0.1/resources/linux-patch-ccid0000775000175000017500000000422312726252010021752 0ustar daindain00000000000000#!/usr/bin/python import re import subprocess import os DEVICES = [ ('0x1050', '0x0111', 'Yubico Yubikey NEO OTP+CCID'), ('0x1050', '0x0112', 'Yubico Yubikey NEO CCID'), ('0x1050', '0x0115', 'Yubico Yubikey NEO U2F+CCID'), ('0x1050', '0x0116', 'Yubico Yubikey NEO OTP+U2F+CCID'), ('0x1050', '0x0404', 'Yubico Yubikey 4 CCID'), ('0x1050', '0x0405', 'Yubico Yubikey 4 OTP+CCID'), ('0x1050', '0x0406', 'Yubico Yubikey 4 U2F+CCID'), ('0x1050', '0x0407', 'Yubico Yubikey 4 OTP+U2F+CCID') ] FNAME = "/etc/libccid_Info.plist" def add_device(dev, content): # Parsing XML with regexes, what a wonderful idea! names = re.search('ifdFriendlyName\s*(.*?)', content, re.DOTALL) if names.group(1).find('%s' % dev[2]) > 0: # Already added return content print "Adding: %s" % dev[2] pos = names.start(1) content = content[:pos] + '\n\t\t%s' % dev[2] + content[pos:] vids = re.search('ifdVendorID\s*(.*?)', content, re.DOTALL) pos = vids.start(1) content = content[:pos] + '\n\t\t%s' % dev[0] + content[pos:] pids = re.search('ifdProductID\s*(.*?)', content, re.DOTALL) pos = pids.start(1) content = content[:pos] + '\n\t\t%s' % dev[1] + content[pos:] return content def main(): # Patch libccid file: if os.path.isfile(FNAME): print "Updating %s..." % FNAME with open(FNAME, 'r') as f: content = f.read() for dev in DEVICES: content = add_device(dev, content) with open(FNAME, 'w') as f: f.write(content) print "Restarting PCSCD..." try: returncode = subprocess.check_call(['service', 'pcscd', 'restart']) except CalledProcessError: try: subprocess.check_call(['systemctl', 'restart', 'pcscd']) except CalledProcessError: print "Failed to restart pcscd." else: print "libccid_Info.plist not found, skipping..." print "Done!" if __name__ == '__main__': main() yubioath-desktop-3.0.1/resources/win-installer.nsi0000664000175000017500000001076712727512271022216 0ustar daindain00000000000000!include "MUI2.nsh" !include "nsProcess.nsh" !define MUI_ICON "yubioath-desktop.ico" ; The name of the installer Name "Yubico Authenticator" ; The file to write OutFile "../dist/yubioath-desktop-${VERSION}-win.exe" ; The default installation directory InstallDir "$PROGRAMFILES\Yubico\Yubico Authenticator" ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) InstallDirRegKey HKLM "Software\Yubico\yubioath-desktop" "Install_Dir" SetCompressor /SOLID lzma ShowInstDetails show Var MUI_TEMP Var STARTMENU_FOLDER ;Interface Settings !define MUI_ABORTWARNING ;-------------------------------- ; Pages !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_DIRECTORY ;Start Menu Folder Page Configuration !define MUI_STARTMENUPAGE_DEFAULTFOLDER "Yubico\Yubico Authenticator" !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU" !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Yubico\Yubico Authenticator" !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_FINISH !insertmacro MUI_UNPAGE_CONFIRM !insertmacro MUI_UNPAGE_INSTFILES ;Languages !insertmacro MUI_LANGUAGE "English" Section "Kill process" KillProcess ${nsProcess::FindProcess} "yubioath.exe" $R0 ${If} $R0 == 0 DetailPrint "Yubico Authenticator (CLI) is running. Closing..." ${nsProcess::CloseProcess} "yubioath.exe" $R0 Sleep 2000 ${EndIf} ${nsProcess::FindProcess} "yubioath-gui.exe" $R0 ${If} $R0 == 0 DetailPrint "Yubico Authenticator (GUI) is running. Closing..." ${nsProcess::CloseProcess} "yubioath-gui.exe" $R0 Sleep 2000 ${EndIf} ${nsProcess::Unload} SectionEnd ;-------------------------------- Section "Yubico Authenticator" SectionIn RO SetOutPath $INSTDIR FILE "..\dist\Yubico Authenticator\*" SectionEnd Var MYTMP # Last section is a hidden one. Section WriteUninstaller "$INSTDIR\uninstall.exe" ; Write the installation path into the registry WriteRegStr HKLM "Software\Yubico\yubioath-desktop" "Install_Dir" "$INSTDIR" # Windows Add/Remove Programs support StrCpy $MYTMP "Software\Microsoft\Windows\CurrentVersion\Uninstall\yubioath-desktop" WriteRegStr HKLM $MYTMP "DisplayName" "Yubico Authenticator" WriteRegExpandStr HKLM $MYTMP "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegExpandStr HKLM $MYTMP "InstallLocation" "$INSTDIR" WriteRegStr HKLM $MYTMP "DisplayVersion" "${VERSION}" WriteRegStr HKLM $MYTMP "Publisher" "Yubico AB" WriteRegStr HKLM $MYTMP "URLInfoAbout" "http://www.yubico.com" WriteRegDWORD HKLM $MYTMP "NoModify" "1" WriteRegDWORD HKLM $MYTMP "NoRepair" "1" !insertmacro MUI_STARTMENU_WRITE_BEGIN Application ;Create shortcuts SetShellVarContext all SetOutPath "$SMPROGRAMS\$STARTMENU_FOLDER" CreateShortCut "Yubico Authenticator.lnk" "$INSTDIR\yubioath-gui.exe" "" "$INSTDIR\yubioath-gui.exe" 0 CreateShortCut "Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 1 !insertmacro MUI_STARTMENU_WRITE_END SectionEnd ; Uninstaller Section "Uninstall" ; Remove registry keys DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\yubioath-desktop" DeleteRegKey HKLM "Software\Yubico\yubioath-desktop" ; Kill processes ${nsProcess::FindProcess} "yubioath.exe" $R0 ${If} $R0 == 0 DetailPrint "Yubico Authenticator (CLI) is running. Closing..." ${nsProcess::CloseProcess} "yubioath.exe" $R0 Sleep 2000 ${EndIf} ${nsProcess::FindProcess} "yubioath-gui.exe" $R0 ${If} $R0 == 0 DetailPrint "Yubico Authenticator (GUI) is running. Closing..." ${nsProcess::CloseProcess} "yubioath-gui.exe" $R0 Sleep 2000 ${EndIf} ${nsProcess::Unload} ; Remove all DELETE "$INSTDIR\*" ; Remove shortcuts, if any !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP SetShellVarContext all Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk" Delete "$SMPROGRAMS\$MUI_TEMP\Yubico Authenticator.lnk" ;Delete empty start menu parent diretories StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP" startMenuDeleteLoop: ClearErrors RMDir $MUI_TEMP GetFullPathName $MUI_TEMP "$MUI_TEMP\.." IfErrors startMenuDeleteLoopDone StrCmp $MUI_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop startMenuDeleteLoopDone: DeleteRegKey /ifempty HKCU "Software\Yubico\yubioath-desktop" ; Remove directories used RMDir "$INSTDIR" SectionEnd yubioath-desktop-3.0.1/resources/yubioath.xpm0000664000175000017500000001777512660613711021270 0ustar daindain00000000000000/* XPM */ static char * C:\Users\Dain\Documents\yubico graphics\yubioath_xpm[] = { "32 32 346 2", " c None", ". c #DCDDDC", "+ c #E9E9E9", "@ c #EEEEEE", "# c #E9E8E9", "$ c #C3C3C3", "% c #B0B0B0", "& c #DFDFDF", "* c #CFD0CF", "= c #BCBCBC", "- c #F6F6F6", "; c #FEFEFE", "> c #FDFDFD", ", c #F7F7F8", "' c #E4E5E5", ") c #D7D7D7", "! c #B7B7B7", "~ c #C9C9C9", "{ c #D9D9D9", "] c #D3D4D4", "^ c #CECECE", "/ c #C4C3C4", "( c #9D9C9D", "_ c #E3E2E2", ": c #EDEDED", "< c #EFEFEF", "[ c #F5F5F5", "} c #FBFBFB", "| c #FFFFFF", "1 c #E8E8E8", "2 c #9B9B9B", "3 c #8C8D8C", "4 c #E6E6E6", "5 c #DBDBDB", "6 c #D1D1D2", "7 c #CCCCCC", "8 c #C6C6C6", "9 c #C1C2C2", "0 c #B4B4B4", "a c #DDDDDD", "b c #E7E7E7", "c c #F9FAFA", "d c #8F8F8F", "e c #676766", "f c #5E5E5F", "g c #686868", "h c #666767", "i c #666666", "j c #797979", "k c #A3A3A4", "l c #C8C8C8", "m c #C5C4C4", "n c #BFBEBE", "o c #B8B8B8", "p c #B6B6B5", "q c #828282", "r c #E1E1E1", "s c #C2C2C2", "t c #A0A1A0", "u c #E7E6E7", "v c #CBCACB", "w c #616161", "x c #6C6C6C", "y c #AAAAAA", "z c #C0C0C0", "A c #B9B9B9", "B c #AFAFAF", "C c #9F9F9F", "D c #7E7E7E", "E c #666667", "F c #949494", "G c #BBBBBB", "H c #BEBEBE", "I c #818182", "J c #DEDEDE", "K c #CACACA", "L c #989899", "M c #878787", "N c #626262", "O c #C6C7C6", "P c #E0E0E0", "Q c #DCDCDC", "R c #D3D3D3", "S c #CBCBCB", "T c #BABABA", "U c #B2B1B1", "V c #A9AAA9", "W c #A2A2A2", "X c #9A9A9A", "Y c #7A7A7A", "Z c #737373", "` c #C5C6C6", " . c #909090", ".. c #A7A7A7", "+. c #DADADA", "@. c #555555", "#. c #8F8E8F", "$. c #EAEAEA", "%. c #EEEEEF", "&. c #D5D5D5", "*. c #CCCBCC", "=. c #9E9E9F", "-. c #979797", ";. c #919191", ">. c #828283", ",. c #6A6A6A", "'. c #898989", "). c #959595", "!. c #A1A1A1", "~. c #C5C5C5", "{. c #828182", "]. c #8E8E8E", "^. c #F9F9F9", "/. c #F7F7F6", "(. c #CDCCCC", "_. c #ACACAC", ":. c #9C9C9C", "<. c #838382", "[. c #7D7D7D", "}. c #767676", "|. c #9C9B9C", "1. c #999999", "2. c #D1D1D1", "3. c #BFC0BF", "4. c #ABABAB", "5. c #656464", "6. c #FAFAFA", "7. c #F2F2F2", "8. c #B5B5B5", "9. c #7F7F80", "0. c #727272", "a. c #868686", "b. c #818080", "c. c #959596", "d. c #949393", "e. c #434343", "f. c #BDBEBE", "g. c #5A595A", "h. c #F3F2F3", "i. c #ECECEC", "j. c #E3E3E3", "k. c #9D9D9D", "l. c #B2B2B3", "m. c #B6B7B7", "n. c #AFAEAE", "o. c #535253", "p. c #848584", "q. c #8D8D8D", "r. c #808080", "s. c #9C9B9B", "t. c #8D8C8C", "u. c #6B6B6B", "v. c #ADADAD", "w. c #B1B1B1", "x. c #6E6E6E", "y. c #EBEAEA", "z. c #F1F2F1", "A. c #D1D0D1", "B. c #DADAD9", "C. c #E5E5E5", "D. c #F5F5F4", "E. c #959494", "F. c #C0BFBF", "G. c #AEAEAE", "H. c #A2A2A1", "I. c #8C8C8C", "J. c #5F605F", "K. c #989898", "L. c #868786", "M. c #878786", "N. c #7F7F7F", "O. c #BFC0C0", "P. c #A8A8A8", "Q. c #6F6E6F", "R. c #A9A9A9", "S. c #DBDADA", "T. c #E1E2E2", "U. c #E8E7E7", "V. c #DBDCDB", "W. c #B2B2B2", "X. c #A1A0A1", "Y. c #A6A6A6", "Z. c #5C5C5B", "`. c #8A8989", " + c #818181", ".+ c #373838", "++ c #A3A4A4", "@+ c #A8A8A9", "#+ c #5C5D5C", "$+ c #C2C2C1", "%+ c #D2D2D3", "&+ c #D5D4D5", "*+ c #D8D8D8", "=+ c #CECECD", "-+ c #E2E2E2", ";+ c #868787", ">+ c #5C5C5C", ",+ c #A4A5A5", "'+ c #858585", ")+ c #888787", "!+ c #494849", "~+ c #5F5E5F", "{+ c #C4C4C4", "]+ c #CACAC9", "^+ c #CDCDCD", "/+ c #D0CFD0", "(+ c #D4D4D4", "_+ c #808081", ":+ c #646364", "<+ c #A9AAAA", "[+ c #AFAFB0", "}+ c #B1B0B1", "|+ c #A9A8A9", "1+ c #929292", "2+ c #565656", "3+ c #C7C7C7", "4+ c #646464", "5+ c #C1C1C1", "6+ c #C2C2C3", "7+ c #BFBFBF", "8+ c #9E9E9E", "9+ c #A2A1A2", "0+ c #878887", "a+ c #606060", "b+ c #B9B9B8", "c+ c #B3B3B3", "d+ c #E4E4E4", "e+ c #4B4C4C", "f+ c #B6B6B6", "g+ c #B7B8B8", "h+ c #B7B7B6", "i+ c #B5B4B5", "j+ c #939292", "k+ c #888888", "l+ c #B8B9B8", "m+ c #939493", "n+ c #C1C1C2", "o+ c #4C4B4C", "p+ c #898889", "q+ c #ACADAC", "r+ c #AAAAAB", "s+ c #A3A3A3", "t+ c #636363", "u+ c #CFCFCF", "v+ c #D0D0D0", "w+ c #969695", "x+ c #4C4C4C", "y+ c #848484", "z+ c #838383", "A+ c #A09F9F", "B+ c #9B9A9B", "C+ c #7F7E7F", "D+ c #F0F0F0", "E+ c #F3F3F3", "F+ c #D8D8D9", "G+ c #D0D1D0", "H+ c #B4B5B5", "I+ c #A3A4A3", "J+ c #A5A6A5", "K+ c #323232", "L+ c #9A9A9B", "M+ c #848384", "N+ c #7C7C7C", "O+ c #7A7A7B", "P+ c #9D9E9E", "Q+ c #969696", "R+ c #EEEFEE", "S+ c #70706F", "T+ c #DFDFE0", "U+ c #F6F7F6", "V+ c #A0A0A0", "W+ c #111111", "X+ c #8A8A8A", "Y+ c #8C8D8D", "Z+ c #696969", "`+ c #919291", " @ c #8D8D8C", ".@ c #868687", "+@ c #898888", "@@ c #6F6E6E", "#@ c #F1F1F1", "$@ c #F7F7F7", "%@ c #EAEAEB", "&@ c #CBCBCC", "*@ c #8F9090", "=@ c #848585", "-@ c #757575", ";@ c #888889", ">@ c #939393", ",@ c #FEFEFD", "'@ c #F8F8F8", ")@ c #DBDBDA", "!@ c #3E3E3E", "~@ c #9D9D9C", "{@ c #747475", "]@ c #7B7B7C", "^@ c #878888", "/@ c #908F8F", "(@ c #E7E8E7", "_@ c #F0F0F1", ":@ c #F8F8F9", "<@ c #9F9E9E", "[@ c #A5A5A5", "}@ c #8E8D8E", "|@ c #949594", "1@ c #707070", "2@ c #6F6F6E", "3@ c #656565", "4@ c #F4F3F4", "5@ c #C4C4C5", "6@ c #363636", "7@ c #A4A3A4", "8@ c #AFB0AF", "9@ c #9C9D9D", "0@ c #9A9A99", "a@ c #A0A1A1", "b@ c #E3E3E2", "c@ c #CCCCCD", "d@ c #E4E5E4", "e@ c #E6E5E6", "f@ c #E2E2E1", "g@ c #A6A7A7", "h@ c #030303", "i@ c #A4A4A4", "j@ c #E4E4E3", "k@ c #CACBCB", "l@ c #5F5E5E", "m@ c #0C0C0C", "n@ c #D9D9DA", "o@ c #E6E7E7", "p@ c #070707", "q@ c #E0E0DF", "r@ c #F4F4F4", "s@ c #F6F6F5", "t@ c #BABBBB", "u@ c #3B3B3A", "v@ c #404040", "w@ c #D5D6D5", "x@ c #EBEBEB", "y@ c #484848", "z@ c #343434", "A@ c #585758", "B@ c #747474", "C@ c #626362", "D@ c #383838", "E@ c #0B0B0B", " ", " . + @ # $ % & * = ", " + - ; > , ' ) ! ~ { ] ^ / ( ", " _ : < [ } | | 1 2 3 4 5 6 7 8 9 0 ", " a & b : c ) d e f g h i j k l m n o p q ", " r s t u v w x y $ 8 z A B C D E F G ^ H C I ", " J K ~ L M N O P Q R S s T U V W X Y Z s ` ...h ", " +.l 7 ..@.#.$.%.4 J &.*.s o B ..=.-.;.>.,.'.).!.X ", " ~ ~.S {.].^./.r ) ^ K (.s ! _.:.].M <.q [.}.!.|.1.[. ", " 2.G 3.4.5.$.6.$.b + 7.A s s 8.!.o = 0 9.0.a.b.].c.d.;.e. ", " f.! H g.` @ h.7.R r i.j.k.s l.2 z m.n.o.p.q.;.r.s.].t.u. ", " ~ v.w.C x.P 4 y.z.A.B.C.D.E.F.G.H.G B I.J.d F -.K.).L.M.N. ", " O.P._.Q.R.S.J T.U.V.~ 5 : W._.X.G.% Y.Z.`.K.:.C W X '. +q .+ ", " m.++@+#+$+%+&+*+Q r T =+J -+;+).w.W .>+k.W ,+..R.:.X '+)+!+ ", " n.y C ~+{+]+S ^+/+(+= o ~ i._+;.k.d :+].<+_.G.[+}+|+!.!.1+2+ ", " +.3+Y.4+H z 5+s 6+{+7+8+..T 9+'.0+a.a+l.! ! o b+A c+H d+7+e+ ", " T % r.i f+g+h+f+i+c+w.j+k+-.& l+R.Y m+~.{+$ s n+5+T 0 o I.o+ ", " C [.p+N _.G.q+r+..s+k.'+1.s 7.r ~ t+u+&+v+^ 7 K ~ H 8.w+K.x+ ", " k.y+z+i 2 Y.s+A+B+).q.q C+R D+E+G.).+ -+. F+&.R G+{+H+I+J+K+ ", " L+r.M+N+O+P+X Q+ .'.q I.[.v+R+| S+T+U+: b -+J +.*+u+4.R.V+W+ ", " k+X+Y+Z+F `+ @.@q X+Q++@P @ d+@@#@> $@D+%@4 -+*+&@% B [. ", " :.*@1+=@-@X+'+ +;@1+>@4.& D+I.G.: $@,@'@7.: + )@H ! l+!@ ", " ;.F K.~@{@]@ +^@/@K.r.5 4 7.@.R (@_@^.; :@E+d+R 7+= K. ", " <@k.!.[@x.z+}@|@k.1@x.2@3@q.{ j.i.4@} ; #@r l {+5@6@ ", " 7@8@T 9@N.k+0@a@W Y.B o S ) P 1 < - D+b@o B ^ 1@ ", " 9.c@R G.c+k.M !._.0 = {+^+&.a C.d@-+e@f@^+g@1.h@ ", " Y >@a.7+$ 8 y C i@W.H m ~ 7 *+b $.j@k@>@l@m@ ", " x W.5+~.S 2.n@+.&.s ~ : } '@#@i.4 o@ +p@ ", " ].~.u+R { q@P G+_.i.; c r@s@t@u@ ", " v@=@A +.u w@! +@$@| x@Y.y@ ", " z@A@B@2+g C@D@E@ ", " "}; yubioath-desktop-3.0.1/resources/yubioath-desktop.ico0000664000175000017500000024534712660613711022703 0ustar daindain00000000000000 hF  00 %V :(  888 jwt}䈐~myJXR&bwn>>蹸GGGyA323h;;;X kkl{{{Ɣ___ AAAnnnz~qqpXA$nnnqqqoooooofff777uuu|||UUUyuuu===}jijnmn}}}Jʁ|||{{{|||oppfff221 KKKzz{bbbcccMML-eeeyyyLLL,ccc```LLL#^^^cccVVW]]][[[JJJᨨooo\\\777țooo``` Q9ZZZRRRjiiAܻddd~rrrAAAL}}}vvv~}~A۾UUUjjj666h%%%A*** bbbzzzsssgggA&aaalll~~~ggg &hhh]]]ddddddeeeyyy!!" pppzAL$AAA9ڛʚ}A}}}#,-766??(0`   AA.4=9kNYTVa\Yb__caV\YXa^R[VISP-52{@&AA * dmuqy{zijj_ebJAA 4R^Y|kmmEMJ[ AAXd_fgf?FCHAA ,52Jt~zY][y!A P^X^__!%#/A ERL[[[5;82AA etnvvvnnn4:8/AA'/,PzYYY""!A!/|||_`_yAAu}y~~~QUSHAZjc{xxx~y|z~|y}|{~||}fnjqqq8>< AAw|qrr{}}YZY[AxŸjii{_ca;B?$*'dojqtsWZYJA\ng]x|z{{{tuuĿgggvɓY][lqpMSP% oppxxxVWV@A`fc{hlkhhh%,){AgvpN\daz{{orpzzz:C@ {{{uvvyzy`heuzxmnn@IEܥjjjuuulqoychgiiiDMJjkjwxwtutsvuBKGnnnxxx~~OUSBKHַtttmqoq|xcedyyyDNJ`gex~LLL|||DNJ AxBY_]jnmzzzrsr>JEA Z_]X\Zjkk*3/kklkT[W}|}fhf.UYWvyw___~~~Zb_AN\^]?A@|||wxx dCPL Za^|~ffgqxvhmk*ûghh^a`~~u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d/ X8[yTvdR఍"M%G @!_+Wl6S:<,hJWI$͝ 0 /OztnQ9װ$t%rqү xD`Xղ UUEaqa7K: X-Z`t9陀N񬭯?.byyٸ{CZY'G=j6rH8Nu]MIHt0c||؅s`٩c+anI&=NBRj EQ,Q.Ŝ]'R͛е2>Hw]?'Dx3Eq_ Z8C,sZG8tɖ8[عGbwn 9\3\xtR,zUR&vxRࠟN0 ZVu5@ Bt;]{⎩yW&Vd=rl"(>r0  s6P=0`R8ylnccjݾm $Cu%\}i-]ץ˗/oۿo60Kz`<д]GuhMAw]khlCD\&#ćPŊn&>j |yljjJϒ$H=J4xp0Q 4sss;wZwnn@$5M2!76(nh Y n`NjCآלu0[T ^]@F>$CΑ-cC&RoT~3g~[8(Eci~zfd~ޱ1+"}* X,8f ESMY/kdv vSBG|%IB6ŷ~7n`ooOWUU.zM ^ M")*Lag4 A?$a HH8>77b؉X,NNLb؄=GO/$ID*ѐ$4eڵk/9@ҕk׃Pב/䱽;w`sssP*Z$Iڕ$.1!9ҕS#-O@8HaQ)ӧO_F"SD">11!&I$ b1B!BA|~yfpy{ղχ?o&D0@KkAT* ""ɘBAURR]v4K䮐=^f sqA1RZ>L&OH$2ǓT2  DFǡD9@4lmmaggǚ!bx}UQ!rEFWVY%MӪV(rB*ߛFۮxVgbA%Q!D"uT,D"S>/ S`0H$DK(k}>Yb*D0֠ tj ej~Ȳ*TUn[S[* un]oFQ VbHZR%>O0yPpvzn2?p~B\{T(n Sty]5מ뿴,rpIENDB`yubioath-desktop-3.0.1/MANIFEST.in0000664000175000017500000000022212677232746016432 0ustar daindain00000000000000include COPYING include NEWS include ChangeLog include screenshot.png include resources/* include qt_resources/* include doc/*.adoc include man/* yubioath-desktop-3.0.1/PKG-INFO0000664000175000017500000000130612727513332015762 0ustar daindain00000000000000Metadata-Version: 1.1 Name: yubioath-desktop Version: 3.0.1 Summary: Graphical interface for displaying OATH codes with a Yubikey Home-page: https://github.com/Yubico/yubioath-desktop Author: Yubico Open Source Maintainers Author-email: ossmaint@yubico.com License: GPLv3+ Description: UNKNOWN Platform: UNKNOWN Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Development Status :: 4 - Beta Classifier: Environment :: X11 Applications :: Qt Classifier: Intended Audience :: End Users/Desktop Classifier: Topic :: Security :: Cryptography Classifier: Topic :: Utilities yubioath-desktop-3.0.1/man/0000775000175000017500000000000012727513331015437 5ustar daindain00000000000000yubioath-desktop-3.0.1/man/yubioath.10000664000175000017500000001433112727513330017346 0ustar daindain00000000000000'\" t .\" Title: yubioath .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 06/13/2016 .\" Manual: Yubico Authenticator Manual .\" Source: yubioath .\" Language: English .\" .TH "YUBIOATH" "1" "06/13/2016" "yubioath" "Yubico Authenticator Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" yubioath \- Yubico Authenticator command line interface .SH "SYNOPSIS" .sp \fByubioath\fR [OPTIONS] COMMAND [ARGS]\&... .SH "DESCRIPTION" .sp The Yubico Authenticator is a graphical desktop tool for generating Open AuTHentication (OATH) event\-based HOTP and time\-based TOTP one\-time password codes, with the help of a YubiKey that protects the shared secrets\&. .SH "OPTIONS" .sp yubioath has the following options: .PP \fB\-v, \-\-version\fR .RS 4 Prints the version of the application and exits\&. .RE .PP \fB\-h, \-\-help\fR .RS 4 Shows a list of available sub commands and arguments\&. .RE .PP \fB\-R, \-\-remember\fR .RS 4 Save any password given for a YubiKey to avoid having to enter it in again\&. .RE .PP \fB\-r, \-\-reader READER\fR .RS 4 Name to match smartcard reader against (case insensitive)\&. .RE .SH "COMMANDS" .sp yubioath supports multiple commands, each with its own options, in addition to the global options: .SS "show [OPTIONS] [QUERY]" .sp .if n \{\ .RS 4 .\} .nf Display one or more one time codes calculated by the YubiKey\&. .fi .if n \{\ .RE .\} .PP \fB\-s1, \-\-slot1 DIGITS\fR .RS 4 Calculate and show a one time code from slot 1, displaying DIGITS number of digits\&. .RE .PP \fB\-s2, \-\-slot2 DIGITS\fR .RS 4 Calculate and show a one time code from slot 2, displaying DIGITS number of digits\&. .RE .PP \fB\-t, \-\-timestamp TIMESTAMP\fR .RS 4 Use the user provided TIMESTAMP instead of the system clock\&. .RE .PP \fB\-h, \-\-help\fR .RS 4 Shows additional help for the sub command\&. .RE .PP \fBQUERY\fR .RS 4 A filter string to match credential names against\&. If given, only credentials containing the QUERY substring will be displayed\&. For HOTP credentials, codes will only be calculated when given a QUERY which uniquely specifices the credential as to avoid unwanted counter incrementation\&. .RE .SS "put [OPTIONS] KEY" .sp .if n \{\ .RS 4 .\} .nf Load and store a credential into the YubiKey\&. .fi .if n \{\ .RE .\} .PP \fB\-S, \-\-destination DEST\fR .RS 4 Where DEST is one of: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB0\fR the main applet (default)\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB1\fR the YubiKey standard slot 1\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB2\fR the YubiKey standard slot 2\&. .RE .RE .PP \fB\-N, \-\-name NAME\fR .RS 4 The name to give the credential\&. When giving a name with an issuer, the issuer and name should be separated by a colon: \fIissuer:name\fR\&. Not applicable to slot\-based credentials\&. .RE .PP \fB\-A, \-\-oath\-type ALGORITHM\fR .RS 4 OATH algorithm to use\&. Should be one of \fBtotp\fR (default) and \fBhotp\fR\&. Not applicable to slot\-based credentials\&. .RE .PP \fB\-D, \-\-digits DIGITS\fR .RS 4 The number of digits to output when generating codes\&. Should be \fB6\fR (default) or \fB8\fR\&. Not applicable to slot\-based credentials\&. .RE .PP \fB\-I IMF, \-\-imf IMF\fR .RS 4 The initial value to store for the counter\&. Only applicable for HOTP credential\&. Not applicable to slot\-based credentials\&. .RE .PP \fB\-T, \-\-touch\fR .RS 4 When set, the slot will require the user to press the button on the YubiKey before calculating a code\&. \fBOnly\fR applicable to slot\-based credentials\&. .RE .PP \fB\-h, \-\-help\fR .RS 4 Shows additional help for the sub command\&. .RE .PP \fBKEY\fR .RS 4 Either a base32 encoded key to use as the secret for the credential, or an otpauth:// URI containing the parameters of the credential\&. When a URI is given the other options are not needed, but can be used to override parameters in the URI, if needed\&. .RE .SS "delete NAME" .sp .if n \{\ .RS 4 .\} .nf Deletes a credential from the main OATH credential storage\&. .fi .if n \{\ .RE .\} .PP \fBNAME\fR .RS 4 A filter string that uniquely identifies the credential to delete\&. .RE .SS "password SUBCOMMAND [OPTIONS]" .sp .if n \{\ .RS 4 .\} .nf Manage the access password of the OATH applet\&. .fi .if n \{\ .RE .\} .PP \fBset\fR .RS 4 Sets a new password for the YubiKey\&. .RE .PP \fBunset\fR .RS 4 Unsets the current password, so that the YubiKey does not require a password to be used\&. .RE .PP \fBforget\fR .RS 4 Remove all access keys stored on disk\&. .RE .PP \fB\-p, \-\-password PASSWORD\fR .RS 4 Provide the new password for use with the \fBset\fR sub command as an argument\&. If not given, the command will prompt the user to enter a new password while masking input\&. .RE .PP \fB\-h, \-\-help\fR .RS 4 Shows additional help for the sub command\&. .RE .SS "reset [OPTIONS]" .sp .if n \{\ .RS 4 .\} .nf Factory\-reset the OATH applet, unsetting any access password and erasing all stored credentials\&. .fi .if n \{\ .RE .\} .PP \fB\-f, \-\-force\fR .RS 4 Do not prompt for confirmation before resetting\&. .RE .PP \fB\-h, \-\-help\fR .RS 4 Shows additional help for the sub command\&. .RE .SH "BUGS" .sp Report bugs in the issue tracker (https://github\&.com/Yubico/yubioath\-desktop/issues) .SH "SEE ALSO" .sp \fByubioath\-gui\fR(1) yubioath-desktop-3.0.1/man/yubioath.1.adoc0000664000175000017500000001034012726252332020250 0ustar daindain00000000000000yubioath(1) =========== :doctype: manpage :man source: yubioath :man manual: Yubico Authenticator Manual == Name yubioath - Yubico Authenticator command line interface == Synopsis *yubioath* [OPTIONS] COMMAND [ARGS]... == Description The Yubico Authenticator is a graphical desktop tool for generating Open AuTHentication (OATH) event-based HOTP and time-based TOTP one-time password codes, with the help of a YubiKey that protects the shared secrets. == Options yubioath has the following options: *-v, --version*:: Prints the version of the application and exits. *-h, --help*:: Shows a list of available sub commands and arguments. *-R, --remember*:: Save any password given for a YubiKey to avoid having to enter it in again. *-r, --reader READER*:: Name to match smartcard reader against (case insensitive). == Commands yubioath supports multiple commands, each with its own options, in addition to the global options: === *show* [OPTIONS] [QUERY] Display one or more one time codes calculated by the YubiKey. *-s1, --slot1 DIGITS*:: Calculate and show a one time code from slot 1, displaying DIGITS number of digits. *-s2, --slot2 DIGITS*:: Calculate and show a one time code from slot 2, displaying DIGITS number of digits. *-t, --timestamp TIMESTAMP*:: Use the user provided TIMESTAMP instead of the system clock. *-h, --help*:: Shows additional help for the sub command. *QUERY*:: A filter string to match credential names against. If given, only credentials containing the QUERY substring will be displayed. For HOTP credentials, codes will only be calculated when given a QUERY which uniquely specifices the credential as to avoid unwanted counter incrementation. === *put* [OPTIONS] KEY Load and store a credential into the YubiKey. *-S, --destination DEST*:: Where DEST is one of: - *0* the main applet (default). - *1* the YubiKey standard slot 1. - *2* the YubiKey standard slot 2. *-N, --name NAME*:: The name to give the credential. When giving a name with an issuer, the issuer and name should be separated by a colon: _issuer:name_. Not applicable to slot-based credentials. *-A, --oath-type ALGORITHM*:: OATH algorithm to use. Should be one of *totp* (default) and *hotp*. Not applicable to slot-based credentials. *-D, --digits DIGITS*:: The number of digits to output when generating codes. Should be *6* (default) or *8*. Not applicable to slot-based credentials. *-I IMF, --imf IMF*:: The initial value to store for the counter. Only applicable for HOTP credential. Not applicable to slot-based credentials. *-T, --touch*:: When set, the slot will require the user to press the button on the YubiKey before calculating a code. *Only* applicable to slot-based credentials. *-h, --help*:: Shows additional help for the sub command. *KEY*:: Either a base32 encoded key to use as the secret for the credential, or an otpauth:// URI containing the parameters of the credential. When a URI is given the other options are not needed, but can be used to override parameters in the URI, if needed. === *delete* NAME Deletes a credential from the main OATH credential storage. *NAME*:: A filter string that uniquely identifies the credential to delete. === *password* SUBCOMMAND [OPTIONS] Manage the access password of the OATH applet. *set*:: Sets a new password for the YubiKey. *unset*:: Unsets the current password, so that the YubiKey does not require a password to be used. *forget*:: Remove all access keys stored on disk. *-p, --password PASSWORD*:: Provide the new password for use with the *set* sub command as an argument. If not given, the command will prompt the user to enter a new password while masking input. *-h, --help*:: Shows additional help for the sub command. === *reset* [OPTIONS] Factory-reset the OATH applet, unsetting any access password and erasing all stored credentials. *-f, --force*:: Do not prompt for confirmation before resetting. *-h, --help*:: Shows additional help for the sub command. == Bugs Report bugs in the issue tracker (https://github.com/Yubico/yubioath-desktop/issues) == See also *yubioath-gui*(1) yubioath-desktop-3.0.1/man/yubioath-gui.1.adoc0000664000175000017500000000106712726252315021041 0ustar daindain00000000000000yubioath\-gui(1) ================ :doctype: manpage :man source: yubioath-gui :man manual: Yubico Authenticator Manual == Name yubioath-gui - Yubico Authenticator graphical interface == Synopsis *yubioath-gui* == Description The Yubico Authenticator is a graphical desktop tool for generating Open AuTHentication (OATH) event-based HOTP and time-based TOTP one-time password codes, with the help of a YubiKey that protects the shared secrets. == Bugs Report bugs in the issue tracker (https://github.com/Yubico/yubioath-desktop/issues) == See also *yubioath*(1) yubioath-desktop-3.0.1/man/yubioath-gui.10000664000175000017500000000335312727513331020133 0ustar daindain00000000000000'\" t .\" Title: yubioath\e-gui .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 06/13/2016 .\" Manual: Yubico Authenticator Manual .\" Source: yubioath-gui .\" Language: English .\" .TH "YUBIOATH\E\-GUI" "1" "06/13/2016" "yubioath\-gui" "Yubico Authenticator Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" yubioath-gui \- Yubico Authenticator graphical interface .SH "SYNOPSIS" .sp \fByubioath\-gui\fR .SH "DESCRIPTION" .sp The Yubico Authenticator is a graphical desktop tool for generating Open AuTHentication (OATH) event\-based HOTP and time\-based TOTP one\-time password codes, with the help of a YubiKey that protects the shared secrets\&. .SH "BUGS" .sp Report bugs in the issue tracker (https://github\&.com/Yubico/yubioath\-desktop/issues) .SH "SEE ALSO" .sp \fByubioath\fR(1) yubioath-desktop-3.0.1/yubioath/0000775000175000017500000000000012727513332016511 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/core/0000775000175000017500000000000012727513332017441 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/core/legacy_ccid.py0000664000175000017500000000447312726252010022241 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from .exc import CardError, InvalidSlotError, NeedsTouchError from .utils import (format_code, parse_full, time_challenge) YKLEGACY_AID = b'\xa0\x00\x00\x05\x27\x20\x01' INS_CHALRESP = 0x01 SLOTS = [ -1, 0x30, 0x38 ] class LegacyOathCcid(object): """ CCID interface to a legacy OATH-enabled YubiKey. """ def __init__(self, device): self._device = device self._select() def _send(self, ins, data='', p1=0, p2=0, expected=0x9000): resp, status = self._device.send_apdu(0, ins, p1, p2, data) if expected != status: raise CardError(status) return resp def _select(self): self._send(0xa4, YKLEGACY_AID, p1=0x04) def calculate(self, slot, digits=6, timestamp=None, mayblock=0): data = time_challenge(timestamp) try: resp = self._send(INS_CHALRESP, data, p1=SLOTS[slot]) except CardError as e: if e.status == 0x6985: raise NeedsTouchError() raise if not resp: raise InvalidSlotError() return format_code(parse_full(resp), digits) yubioath-desktop-3.0.1/yubioath/core/legacy_otp.py0000664000175000017500000001633712726252010022143 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import print_function from .utils import time_challenge, parse_full, format_code from .standard import TYPE_TOTP from .exc import InvalidSlotError, NeedsTouchError from yubioath.yubicommon.ctypes import CLibrary from hashlib import sha1 from ctypes import (Structure, POINTER, c_int, c_uint8, c_uint, c_char_p, c_bool, sizeof, create_string_buffer, cast, addressof) import weakref SLOTS = [ -1, 0x30, 0x38 ] YK_KEY = type('YK_KEY', (Structure,), {}) # Programming SLOT_CONFIG = 1 SLOT_CONFIG2 = 3 CONFIG1_VALID = 1 CONFIG2_VALID = 2 YKP_CONFIG = type('YKP_CONFIG', (Structure,), {}) YK_CONFIG = type('YK_CONFIG', (Structure,), {}) YK_STATUS = type('YK_STATUS', (Structure,), {}) class YkPers(CLibrary): _yk_errno_location = [], POINTER(c_int) yk_init = [], bool yk_release = [], bool ykpers_check_version = [c_char_p], c_char_p yk_open_first_key = [], POINTER(YK_KEY) yk_close_key = [POINTER(YK_KEY)], bool yk_challenge_response = [POINTER(YK_KEY), c_uint8, c_int, c_uint, c_char_p, c_uint, c_char_p], bool ykds_alloc = [], POINTER(YK_STATUS) ykds_free = [POINTER(YK_STATUS)], None ykds_touch_level = [POINTER(YK_STATUS)], c_int yk_get_status = [POINTER(YK_KEY), POINTER(YK_STATUS)], c_int ykp_alloc = [], POINTER(YKP_CONFIG) ykp_free_config = [POINTER(YKP_CONFIG)], bool ykp_configure_version = [POINTER(YKP_CONFIG), POINTER(YK_STATUS)], None ykp_HMAC_key_from_raw = [POINTER(YKP_CONFIG), c_char_p], bool ykp_set_tktflag_CHAL_RESP = [POINTER(YKP_CONFIG), c_bool], bool ykp_set_cfgflag_CHAL_HMAC = [POINTER(YKP_CONFIG), c_bool], bool ykp_set_cfgflag_HMAC_LT64 = [POINTER(YKP_CONFIG), c_bool], bool ykp_set_extflag_SERIAL_API_VISIBLE = [POINTER(YKP_CONFIG), c_bool], bool ykp_set_extflag_ALLOW_UPDATE = [POINTER(YKP_CONFIG), c_bool], bool ykp_set_cfgflag_CHAL_BTN_TRIG = [POINTER(YKP_CONFIG), c_bool], bool ykp_core_config = [POINTER(YKP_CONFIG)], POINTER(YK_CONFIG) yk_write_command = [POINTER(YK_KEY), POINTER(YK_CONFIG), c_uint8, c_char_p ], bool def yk_get_errno(self): return self._yk_errno_location().contents.value ykpers = YkPers('ykpers-1', '1') YK_ETIMEOUT = 0x04 YK_EWOULDBLOCK = 0x0b if not ykpers.yk_init(): raise Exception("Unable to initialize ykpers") ykpers_version = ykpers.ykpers_check_version(None).decode('ascii') class LegacyOathOtp(object): """ OTP interface to a legacy OATH-enabled YubiKey. """ def __init__(self, device): self._device = device def slot_status(self): st = ykpers.ykds_alloc() ykpers.yk_get_status(self._device, st) tl = ykpers.ykds_touch_level(st) ykpers.ykds_free(st) return ( bool(tl & CONFIG1_VALID == CONFIG1_VALID), bool(tl & CONFIG2_VALID == CONFIG2_VALID) ) def calculate(self, slot, digits=6, timestamp=None, mayblock=0): challenge = time_challenge(timestamp) resp = create_string_buffer(64) status = ykpers.yk_challenge_response( self._device, SLOTS[slot], mayblock, len(challenge), challenge, sizeof(resp), resp) if not status: errno = ykpers.yk_get_errno() if errno == YK_EWOULDBLOCK: raise NeedsTouchError() raise InvalidSlotError() return format_code(parse_full(resp.raw[:20]), digits) def put(self, slot, key, require_touch=False): if len(key) > 64: # Keys longer than 64 bytes are hashed, as per HMAC. key = sha1(key).digest() if len(key) > 20: raise ValueError('YubiKey slots cannot handle keys over 20 bytes') slot = SLOT_CONFIG if slot == 1 else SLOT_CONFIG2 key += b'\x00' * (20 - len(key)) # Keys must be padded to 20 bytes. st = ykpers.ykds_alloc() ykpers.yk_get_status(self._device, st) cfg = ykpers.ykp_alloc() ykpers.ykp_configure_version(cfg, st) ykpers.ykds_free(st) ykpers.ykp_set_tktflag_CHAL_RESP(cfg, True) ykpers.ykp_set_cfgflag_CHAL_HMAC(cfg, True) ykpers.ykp_set_cfgflag_HMAC_LT64(cfg, True) ykpers.ykp_set_extflag_SERIAL_API_VISIBLE(cfg, True) ykpers.ykp_set_extflag_ALLOW_UPDATE(cfg, True) if require_touch: ykpers.ykp_set_cfgflag_CHAL_BTN_TRIG(cfg, True) if ykpers.ykp_HMAC_key_from_raw(cfg, key): raise ValueError("Error setting the key") ycfg = ykpers.ykp_core_config(cfg) try: if not ykpers.yk_write_command(self._device, ycfg, slot, None): raise ValueError("Error writing configuration to key") finally: ykpers.ykp_free_config(cfg) def delete(self, slot): slot = SLOT_CONFIG if slot == 1 else SLOT_CONFIG2 if not ykpers.yk_write_command(self._device, None, slot, None): raise ValueError("Error writing configuration to key") class LegacyCredential(object): def __init__(self, legacy, slot, digits=6): self.name = 'YubiKey slot %d' % slot self.oath_type = TYPE_TOTP self.touch = None # Touch is unknown self._legacy = legacy self._slot = slot self._digits = digits def calculate(self, timestamp=None): try: return self._legacy.calculate(self._slot, self._digits, timestamp, 1 if self.touch else 0) except NeedsTouchError: self.touch = True raise else: if self.touch is None: self.touch = False def delete(self): self._legacy.delete(self._slot) def __repr__(self): return self.name # Keep track of YK_KEY references. _refs = [] def open_otp(): key = ykpers.yk_open_first_key() if key: key_p = cast(addressof(key.contents), POINTER(YK_KEY)) def cb(ref): _refs.remove(ref) ykpers.yk_close_key(key_p) _refs.append(weakref.ref(key, cb)) return key return None yubioath-desktop-3.0.1/yubioath/core/controller.py0000664000175000017500000001354212726252010022173 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from .standard import YubiOathCcid from .legacy_ccid import LegacyOathCcid from .exc import CardError, InvalidSlotError, NeedsTouchError import time import sys try: from .legacy_otp import open_otp, LegacyOathOtp, LegacyCredential except ImportError: sys.stderr.write('libykpers not found!\n') open_otp = None class Controller(object): @property def otp_supported(self): return bool(open_otp) def open_otp(self): otp_dev = open_otp() if otp_dev: return LegacyOathOtp(otp_dev) def _prompt_touch(self): pass def _end_prompt_touch(self): pass def unlock(self, std): raise ValueError('Password required') def read_slot_ccid(self, std, slot, digits, timestamp=None): cred = LegacyCredential(std, slot, digits) try: return (cred, cred.calculate(timestamp)) except InvalidSlotError: return (cred, 'INVALID') def read_slot_otp(self, cred, timestamp=None, use_touch=False): if cred.touch: if not use_touch: raise NeedsTouchError() self._prompt_touch() try: return (cred, cred.calculate(timestamp)) except InvalidSlotError: return (cred, 'INVALID') except NeedsTouchError: if use_touch: try: time.sleep(0.1) # Give the key a little time... self._prompt_touch() start = time.time() return (cred, cred.calculate(timestamp)) except InvalidSlotError: error = 'INVALID' if time.time() - start < 1 else 'TIMEOUT' return (cred, error) return (cred, None) finally: if cred.touch: self._end_prompt_touch() def read_creds(self, ccid_dev, slot1, slot2, timestamp, mayblock=True): results = [] key_found = False do_legacy = mayblock and bool(slot1 or slot2) legacy_creds = [None, None] if ccid_dev: try: std = YubiOathCcid(ccid_dev) key_found = True if std.locked: self.unlock(std) results.extend(std.calculate_all(timestamp)) except CardError: pass # No applet? if do_legacy: try: legacy = LegacyOathCcid(ccid_dev) for (slot, digits) in [(0, slot1), (1, slot2)]: if digits: try: legacy_creds[slot] = self.read_slot_ccid( legacy, slot+1, digits, timestamp) except NeedsTouchError: pass # Handled over OTP instead except CardError: pass # No applet? if self.otp_supported and ((slot1 and not legacy_creds[0]) or (slot2 and not legacy_creds[1])): if ccid_dev: ccid_dev.close() legacy = self.open_otp() if legacy: key_found = True if not legacy_creds[0] and slot1: legacy_creds[0] = self.read_slot_otp( LegacyCredential(legacy, 1, slot1), timestamp, True) if not legacy_creds[1] and slot2: legacy_creds[1] = self.read_slot_otp( LegacyCredential(legacy, 2, slot2), timestamp, True) del legacy._device if not key_found: return None # Add legacy slots first. if legacy_creds[1]: results.insert(0, legacy_creds[1]) if legacy_creds[0]: results.insert(0, legacy_creds[0]) return results def set_password(self, dev, password): if dev.locked: self.unlock(dev) key = dev.calculate_key(password) dev.set_key(key) return key def add_cred(self, dev, *args, **kwargs): if dev.locked: self.unlock(dev) dev.put(*args, **kwargs) def add_cred_legacy(self, *args, **kwargs): legacy = self.open_otp() if not legacy: raise Exception('No YubiKey found!') legacy.put(*args, **kwargs) def delete_cred(self, dev, name): if dev.locked: self.unlock(dev) dev.delete(name) def delete_cred_legacy(self, slot): legacy = self.open_otp() if not legacy: raise Exception('No YubiKey found!') legacy.delete(slot) def reset_device(self, dev): dev.reset() yubioath-desktop-3.0.1/yubioath/core/exc.py0000664000175000017500000000402512726252010020563 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. class CardError(Exception): def __init__(self, status, message=''): super(CardError, self).__init__('Card Error (%04x): %s' % (status, message)) self.status = status class DeviceLockedError(Exception): def __init__(self): super(DeviceLockedError, self).__init__('Device is locked!') class NoSpaceError(Exception): def __init__(self): super(NoSpaceError, self).__init__('No space available on device.') class InvalidSlotError(Exception): def __init__(self): super(InvalidSlotError, self).__init__( 'The selected slot does not contain a valid OATH credential.') class NeedsTouchError(Exception): def __init__(self): super(NeedsTouchError, self).__init__( 'The selected slot needs touch to be used.') yubioath-desktop-3.0.1/yubioath/core/standard.py0000664000175000017500000002451112726252010021606 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import print_function, division from .exc import CardError, DeviceLockedError, NoSpaceError from .utils import (der_read, der_pack, hmac_sha1, derive_key, get_random_bytes, time_challenge, parse_truncated, format_code) from yubioath.yubicommon.compat import int2byte, byte2int import hashlib import struct import os YKOATH_AID = b'\xa0\x00\x00\x05\x27\x21\x01\x01' YKOATH_NO_SPACE = 0x6a84 INS_PUT = 0x01 INS_DELETE = 0x02 INS_SET_CODE = 0x03 INS_RESET = 0x04 INS_LIST = 0xa1 INS_CALCULATE = 0xa2 INS_VALIDATE = 0xa3 INS_CALC_ALL = 0xa4 INS_SEND_REMAINING = 0xa5 RESP_MORE_DATA = 0x61 TAG_NAME = 0x71 TAG_NAME_LIST = 0x72 TAG_KEY = 0x73 TAG_CHALLENGE = 0x74 TAG_RESPONSE = 0x75 TAG_T_RESPONSE = 0x76 TAG_NO_RESPONSE = 0x77 TAG_PROPERTY = 0x78 TAG_VERSION = 0x79 TAG_IMF = 0x7a TAG_ALGO = 0x7b TAG_TOUCH_RESPONSE = 0x7c TYPE_MASK = 0xf0 TYPE_HOTP = 0x10 TYPE_TOTP = 0x20 ALG_MASK = 0x0f ALG_SHA1 = 0x01 ALG_SHA256 = 0x02 PROP_ALWAYS_INC = 0x01 PROP_REQUIRE_TOUCH = 0x02 SCHEME_STANDARD = 0x00 SCHEME_STEAM = 0x01 STEAM_CHAR_TABLE = "23456789BCDFGHJKMNPQRTVWXY" def format_code_steam(int_data, digits): chars = [] for i in range(5): chars.append(STEAM_CHAR_TABLE[int_data % len(STEAM_CHAR_TABLE)]) int_data //= len(STEAM_CHAR_TABLE) return ''.join(chars) def ensure_unlocked(ykoath): if ykoath.locked: raise DeviceLockedError() def format_truncated(t_resp, scheme=SCHEME_STANDARD): digits, data = byte2int(t_resp[0]), t_resp[1:] int_data = parse_truncated(data) if scheme == SCHEME_STANDARD: return format_code(int_data, digits) elif scheme == SCHEME_STEAM: return format_code_steam(int_data, digits) def hmac_shorten_key(key, algo): if algo == ALG_SHA1: h = hashlib.sha1() elif algo == ALG_SHA256: h = hashlib.sha256() else: raise ValueError('Unsupported algorithm!') if len(key) > h.block_size: key = h.update(key).digest() return key class Credential(object): """ Reference to a credential. """ def __init__(self, ykoath, oath_type, name, touch=False): self._ykoath = ykoath self.oath_type = oath_type self.name = name self.touch = touch def calculate(self, timestamp=None): return self._ykoath.calculate(self.name, self.oath_type, timestamp) def delete(self): self._ykoath.delete(self.name) def __repr__(self): return self.name class _426Device(object): """ The 4.2.0-4.2.6 firmwares have a known issue with credentials that require touch: If this action is performed within 2 seconds of a command resulting in a long response (over 54 bytes), the command will hang. A workaround is to send an invalid command (resulting in a short reply) prior to the "calculate" command. """ def __init__(self, delegate): self._delegate = delegate self._long_resp = False def __getattr__(self, name): return getattr(self._delegate, name) def send_apdu(self, cl, ins, p1, p2, data): if ins == INS_CALCULATE and self._long_resp: self._delegate.send_apdu(0, 0, 0, 0, '') self._long_resp = False resp, status = self._delegate.send_apdu(cl, ins, p1, p2, data) self._long_resp = len(resp) > 52 # 52 bytes resp, 2 bytes status... return resp, status class YubiOathCcid(object): """ Device interface to a OATH-enabled YubiKey. """ def __init__(self, device): self._device = device self._select() if (4, 2, 0) <= self.version <= (4, 2, 6): self._device = _426Device(device) def _send(self, ins, data='', p1=0, p2=0, expected=0x9000): resp, status = self._device.send_apdu(0, ins, p1, p2, data) while (status >> 8) == RESP_MORE_DATA: more, status = self._device.send_apdu( 0, INS_SEND_REMAINING, 0, 0, '') resp += more if status == YKOATH_NO_SPACE: raise NoSpaceError() if expected != status: raise CardError(status) return resp def _select(self): resp = self._send(0xa4, YKOATH_AID, p1=0x04) self._version, resp = der_read(resp, TAG_VERSION) self._id, resp = der_read(resp, TAG_NAME) if len(resp) != 0: self._challenge, resp = der_read(resp, TAG_CHALLENGE) else: self._challenge = None @property def id(self): return self._id @property def version(self): return tuple(byte2int(d) for d in self._version) @property def locked(self): return self._challenge is not None def delete(self, name): data = der_pack(TAG_NAME, name.encode('utf8')) self._send(INS_DELETE, data) def calculate(self, name, oath_type, timestamp=None): challenge = time_challenge(timestamp) if oath_type == TYPE_TOTP else '' data = der_pack(TAG_NAME, name.encode('utf8'), TAG_CHALLENGE, challenge) resp = self._send(INS_CALCULATE, data) # Manual dynamic truncation required for Steam entries resp = der_read(resp, TAG_RESPONSE)[0] digits, resp = resp[0:1], resp[1:] offset = byte2int(resp[-1]) & 0xF resp = resp[offset:offset + 4] scheme = SCHEME_STEAM if name.startswith('Steam:') else SCHEME_STANDARD return format_truncated(digits + resp, scheme) def calculate_key(self, passphrase): return derive_key(self.id, passphrase) def unlock(self, key): if not self.locked: return response = hmac_sha1(key, self._challenge) challenge = get_random_bytes(8) verification = hmac_sha1(key, challenge) data = der_pack(TAG_RESPONSE, response, TAG_CHALLENGE, challenge) resp = self._send(INS_VALIDATE, data) resp = der_read(resp, TAG_RESPONSE)[0] if resp != verification: raise ValueError('Response did not match verification!') self._challenge = None def set_key(self, key=None): ensure_unlocked(self) if key: keydata = int2byte(TYPE_TOTP | ALG_SHA1) + key challenge = get_random_bytes(8) response = hmac_sha1(key, challenge) data = der_pack(TAG_KEY, keydata, TAG_CHALLENGE, challenge, TAG_RESPONSE, response) else: data = der_pack(TAG_KEY, b'') self._send(INS_SET_CODE, data) def reset(self): self._send(INS_RESET, p1=0xde, p2=0xad) self._challenge = None def list(self): ensure_unlocked(self) resp = self._send(INS_LIST) items = [] while resp: data, resp = der_read(resp, TAG_NAME_LIST) items.append(Credential( self, TYPE_MASK & byte2int(data[0]), data[1:], None )) return items def calculate_all(self, timestamp=None): ensure_unlocked(self) data = der_pack(TAG_CHALLENGE, time_challenge(timestamp)) resp = self._send(INS_CALC_ALL, data, p2=1) results = [] while resp: name, resp = der_read(resp, TAG_NAME) name = name.decode('utf8') tag, value, resp = der_read(resp) if name.startswith('_hidden:') and 'YKOATH_SHOW_HIDDEN' not in os.environ: pass # Ignore hidden credentials. elif tag == TAG_T_RESPONSE: # Steam credentials need to be recalculated # to skip full truncation done by Yubikey 4. code = self.calculate(name, TYPE_TOTP) \ if name.startswith('Steam:') \ else format_truncated(value, SCHEME_STANDARD) results.append(( Credential(self, TYPE_TOTP, name, False), code )) elif tag == TAG_TOUCH_RESPONSE: results.append(( Credential(self, TYPE_TOTP, name, True), None )) elif tag == TAG_NO_RESPONSE: results.append((Credential(self, TYPE_HOTP, name), None)) else: print("Unsupported tag: %02x" % tag) results.sort(key=lambda a: a[0].name.lower()) return results def put(self, name, key, oath_type=TYPE_TOTP, algo=ALG_SHA1, digits=6, imf=0, always_increasing=False, require_touch=False): ensure_unlocked(self) key = hmac_shorten_key(key, algo) keydata = int2byte(oath_type | algo) + int2byte(digits) + key data = der_pack(TAG_NAME, name.encode('utf8'), TAG_KEY, keydata) properties = 0 if always_increasing: properties |= PROP_ALWAYS_INC if require_touch: if self.version < (4, 2, 6): raise Exception("Touch-required not supported on this key") properties |= PROP_REQUIRE_TOUCH if properties: data += int2byte(TAG_PROPERTY) + int2byte(properties) if imf > 0: data += der_pack(TAG_IMF, struct.pack('>I', imf)) self._send(INS_PUT, data) return Credential(self, oath_type, name) yubioath-desktop-3.0.1/yubioath/core/utils.py0000664000175000017500000001461412726252010021151 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import print_function from yubioath.yubicommon.compat import int2byte, byte2int from Crypto.Hash import HMAC, SHA from Crypto.Protocol.KDF import PBKDF2 from Crypto.Random import get_random_bytes try: from urlparse import urlparse, parse_qs from urllib import unquote except ImportError: from urllib.parse import unquote, urlparse, parse_qs import subprocess import struct import time import sys import re __all__ = [ 'hmac_sha1', 'derive_key', 'der_pack', 'der_read', 'get_random_bytes' ] # # OATH related # def hmac_sha1(secret, message): return HMAC.new(secret, message, digestmod=SHA).digest() def time_challenge(t=None): return struct.pack('>q', int((t or time.time())/30)) def parse_full(resp): offs = byte2int(resp[-1]) & 0xf return parse_truncated(resp[offs:offs+4]) def parse_truncated(resp): return struct.unpack('>I', resp)[0] & 0x7fffffff def format_code(code, digits=6): return ('%%0%dd' % digits) % (code % 10 ** digits) def parse_uri(uri): uri = uri.strip() # Remove surrounding whitespace parsed = urlparse(uri) if parsed.scheme != 'otpauth': # Not a uri, assume secret. return {'secret': uri} params = dict((k, v[0]) for k, v in parse_qs(parsed.query).items()) params['name'] = unquote(parsed.path)[1:] # Unquote and strip leading / params['type'] = parsed.hostname if 'issuer' in params and not params['name'].startswith(params['issuer']): params['name'] = params['issuer'] + ':' + params['name'] return params # # General utils # def derive_key(salt, passphrase): if not passphrase: return None return PBKDF2(passphrase, salt, 16, 1000) def der_pack(*values): return b''.join([int2byte(t) + int2byte(len(v)) + v for t, v in zip( values[0::2], values[1::2])]) def der_read(der_data, expected_t=None): t = byte2int(der_data[0]) if expected_t is not None and expected_t != t: raise ValueError('Wrong tag. Expected: %x, got: %x' % (expected_t, t)) l = byte2int(der_data[1]) offs = 2 if l > 0x80: n_bytes = l - 0x80 l = b2len(der_data[offs:offs + n_bytes]) offs = offs + n_bytes v = der_data[offs:offs + l] rest = der_data[offs + l:] if expected_t is None: return t, v, rest return v, rest def b2len(bs): l = 0 for b in bs: l *= 256 l += byte2int(b) return l def kill_scdaemon(): try: # Works for Windows. from win32com.client import GetObject from win32api import OpenProcess, CloseHandle, TerminateProcess WMI = GetObject('winmgmts:') ps = WMI.InstancesOf('Win32_Process') for p in ps: if p.Properties_('Name').Value == 'scdaemon.exe': pid = p.Properties_('ProcessID').Value print("Killing", pid) handle = OpenProcess(1, False, pid) TerminateProcess(handle, -1) CloseHandle(handle) except ImportError: # Works for Linux and OS X. pids = subprocess.check_output( "ps ax | grep scdaemon | grep -v grep | awk '{ print $1 }'", shell=True).strip() if pids: for pid in pids.split(): print("Killing", pid) subprocess.call(['kill', '-9', pid]) NON_CCID_YK_PIDS = set([0x0110, 0x0113, 0x0114, 0x0401, 0x0402, 0x0403]) def ccid_supported_but_disabled(): """ Check whether the first connected YubiKey supports CCID, but has it disabled. """ if sys.platform in ['win32', 'cygwin']: pids = _get_pids_win() elif sys.platform == 'darwin': pids = _get_pids_osx() else: pids = _get_pids_linux() return bool(NON_CCID_YK_PIDS.intersection(pids)) def _get_pids_linux(): pid_pattern = re.compile(r' 1050:([0-9a-f]{4}) ') pids = [] for line in subprocess.check_output('lsusb').splitlines(): match = pid_pattern.search(line.decode('ascii')) if match: pids.append(int(match.group(1), 16)) return pids def _get_pids_osx(): pids = [] vid_ok = False pid = None output = subprocess.check_output(['system_profiler', 'SPUSBDataType']) for line in output.splitlines(): line = line.decode().strip() if line.endswith(':'): # New entry if vid_ok and pid is not None: pids.append(pid) vid_ok = False pid = None if line.startswith('Vendor ID: '): vid_ok = line.endswith(' 0x1050') elif line.startswith('Product ID:'): pid = int(line.rsplit(' ', 1)[1], 16) return pids def _get_pids_win(): pid_pattern = re.compile(r'PID_([0-9A-F]{4})') pids = [] startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW output = subprocess.check_output(['wmic', 'path', 'Win32_USBControllerDevice', 'get', '*'], startupinfo=startupinfo) for line in output.splitlines(): if 'VID_1050' in line: match = pid_pattern.search(line.decode('ascii')) if match: pids.append(int(match.group(1), 16)) return pids yubioath-desktop-3.0.1/yubioath/core/ccid.py0000664000175000017500000000455012726252010020711 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import print_function from smartcard import System from smartcard.Exceptions import SmartcardException from yubioath.yubicommon.compat import byte2int, int2byte class ScardDevice(object): """ Pyscard based backend. """ def __init__(self, connection): self._conn = connection def send_apdu(self, cl, ins, p1, p2, data): header = [cl, ins, p1, p2, len(data)] # from binascii import b2a_hex # print("SEND:", b2a_hex(''.join(map(int2byte, header)) + data)) resp, sw1, sw2 = self._conn.transmit(header + [byte2int(b) for b in data]) # print("RECV:", b2a_hex(b''.join(map(int2byte, resp + [sw1, sw2])))) return b''.join(int2byte(i) for i in resp), sw1 << 8 | sw2 def close(self): self._conn.disconnect() def __del__(self): self.close() def open_scard(name='Yubikey'): name = name.lower() for reader in System.readers(): if name in reader.name.lower(): conn = reader.createConnection() try: conn.connect() return ScardDevice(conn) except SmartcardException: pass yubioath-desktop-3.0.1/yubioath/core/__init__.py0000664000175000017500000000231012660613711021544 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. yubioath-desktop-3.0.1/yubioath/gui/0000775000175000017500000000000012727513332017275 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/gui/keystore.py0000664000175000017500000000346712677232746021541 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from ..cli.keystore import get_keystore as _get_keystore def get_keystore(): return Keystore(_get_keystore()) class Keystore(object): def __init__(self, store): self._store = store self._data = {} def get(self, id): return self._data.get(id) or self._store.get(id) def put(self, id, key, remember=False): if remember: self._store.put(id, key) else: self._data[id] = key def delete(self, id): if id in self._data: del self._data[id] self._store.delete(id) def forget(self): self._data = {} yubioath-desktop-3.0.1/yubioath/gui/ccid_poll.py0000664000175000017500000001360412660613711021601 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from .ccid import CardStatus from smartcard.Exceptions import SmartcardException from smartcard.scard import * from PySide import QtCore import smartcard.util import threading import time class LLScardDevice(object): """ Low level pyscard based backend (Windows chokes on the high level one whenever you remove the key and re-insert it). """ def __init__(self, context, card, protocol): self._context = context self._card = card self._protocol = protocol def send_apdu(self, cl, ins, p1, p2, data): apdu = [cl, ins, p1, p2, len(data)] + map(ord, data) hresult, response = SCardTransmit(self._card, self._protocol, apdu) if hresult != SCARD_S_SUCCESS: raise Exception('Failed to transmit: ' + SCardGetErrorMessage(hresult)) status = response[-2] << 8 | response[-1] return ''.join(map(chr, response[:-2])), status def __del__(self): self.close() def close(self): SCardDisconnect(self._card, SCARD_UNPOWER_CARD) SCardReleaseContext(self._context) class PollerThread(threading.Thread): def __init__(self, watcher): super(PollerThread, self).__init__() self._watcher = watcher self.daemon = True self.running = True def run(self): old_readers = [] while self.running: readers = self._list() added = [r for r in readers if r not in old_readers] removed = [r for r in old_readers if r not in readers] self._watcher._update(added, removed) old_readers = readers time.sleep(2) def _list(self): try: hresult, hcontext = SCardEstablishContext(SCARD_SCOPE_USER) if hresult != SCARD_S_SUCCESS: raise Exception('Failed to establish context : ' + SCardGetErrorMessage(hresult)) try: hresult, readers = SCardListReaders(hcontext, []) if hresult != SCARD_S_SUCCESS: raise Exception('Failed to list readers: ' + SCardGetErrorMessage(hresult)) return readers finally: hresult = SCardReleaseContext(hcontext) if hresult != SCARD_S_SUCCESS: raise Exception('Failed to release context: ' + SCardGetErrorMessage(hresult)) except: return [] class CardWatcher(QtCore.QObject): status_changed = QtCore.Signal(int) def __init__(self, reader_name, callback, parent=None): super(CardWatcher, self).__init__(parent) self._status = CardStatus.NoCard self.reader_name = reader_name self._callback = callback or (lambda _: _) self._reader = None self._thread = PollerThread(self) self._thread.start() def _update(self, added, removed): if self._reader in removed: # Device removed self.reader = None self._set_status(CardStatus.NoCard) if self._reader is None: for reader in added: if self.reader_name in reader: self.reader = reader self._set_status(CardStatus.Present) return @property def status(self): return self._status def _set_status(self, value): if self._status != value: self._status = value self.status_changed.emit(value) @property def reader(self): return self._reader @reader.setter def reader(self, value): self._reader = value self._callback(self, value) def open(self): if self._reader: try: hresult, hcontext = SCardEstablishContext(SCARD_SCOPE_USER) if hresult != SCARD_S_SUCCESS: raise Exception('Failed to establish context : ' + SCardGetErrorMessage(hresult)) hresult, hcard, dwActiveProtocol = SCardConnect( hcontext, self._reader, SCARD_SHARE_SHARED, SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1) if hresult != SCARD_S_SUCCESS: raise Exception('Unable to connect: ' + SCardGetErrorMessage(hresult)) return LLScardDevice(hcontext, hcard, dwActiveProtocol) except Exception: self._set_status(CardStatus.InUse) def __del__(self): self._thread.running = False self._thread.join() def observe_reader(reader_name='Yubikey', callback=None): return CardWatcher(reader_name, callback) yubioath-desktop-3.0.1/yubioath/gui/qrdecode.py0000664000175000017500000003072612726252010021435 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. """ Given a 2D matrix of pixel data from a QR code, this module will decode and return the data contained within. Note that error correction is not implemented, and the input will thus have to be without any errors. Only supports numeric, alphanumeric and byte encodings. """ from __future__ import division __all__ = ['decode_qr_data'] def decode_qr_data(qr_data): """Given a 2D matrix of QR data, returns the encoded string""" size = len(qr_data) version = (size - 17) // 4 level = bits_to_int(qr_data[8][:2]) mask = bits_to_int(qr_data[8][2:5]) ^ 0b101 read_mask = [x[:] for x in [[1]*size]*size] # Verify/Remove alignment patterns remove_locator_patterns(qr_data, read_mask) remove_alignment_patterns(read_mask, version) remove_timing_patterns(read_mask) if version >= 7: # QR Codes version 7 or larger have version info. remove_version_info(read_mask) # Read and deinterleave buf = bits_to_bytes(read_bits(qr_data, read_mask, mask)) buf = deinterleave(buf, INTERLEAVE_PARAMS[version][level]) bits = bytes_to_bits(buf) # Decode data buf = '' while bits: data, bits = parse_bits(bits, version) buf += data return buf LOCATOR_BOX = [ [1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 1], [1, 0, 1, 1, 1, 0, 1], [1, 0, 1, 1, 1, 0, 1], [1, 0, 1, 1, 1, 0, 1], [1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1] ] MASKS = [ lambda x, y: (y+x) % 2 == 0, lambda x, y: y % 2 == 0, lambda x, y: x % 3 == 0, lambda x, y: (y+x) % 3 == 0, lambda x, y: (y/2 + x/3) % 2 == 0, lambda x, y: (y*x) % 2 + (y*x) % 3 == 0, lambda x, y: ((y*x) % 2 + (y*x) % 3) % 2 == 0, lambda x, y: ((y+x) % 2 + (y*x) % 3) % 2 == 0 ] ALPHANUM = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:' EC_LEVELS = ['H', 'Q', 'M', 'L'] INTERLEAVE_PARAMS = [ # From ISO/IEC 18004:2006 [], # H, Q, M, L [1 * (9,), 1 * (13,), 1 * (16,), 1 * (19,)], # Version 1 [1 * (16,), 1 * (22,), 1 * (28,), 1 * (34,)], [2 * (13,), 2 * (17,), 1 * (44,), 1 * (55,)], [4 * (9,), 2 * (24,), 2 * (32,), 1 * (80,)], [2 * (11,) + 2 * (12,), 2 * (15,) + 2 * (16,), 2 * (43,), 1 * (108,)], [4 * (15,), 4 * (19,), 4 * (27,), 2 * (68,)], [4 * (13,) + 1 * (14,), 2 * (14,) + 4 * (15,), 4 * (31,), 2 * (78,)], [4 * (14,) + 2 * (15,), 4 * (18,) + 2 * (19,), 2 * (38,) + 2 * (39,), 2 * (97,)], [4 * (12,) + 4 * (13,), 4 * (16,) + 4 * (17,), 3 * (36,) + 2 * (37,), 2 * (116,)], [6 * (15,) + 2 * (16,), 6 * (19,) + 2 * (20,), 4 * (43,) + 1 * (44,), 2 * (68,) + 2 * (69,)], [3 * (12,) + 8 * (13,), 4 * (22,) + 4 * (23,), 1 * (50,) + 4 * (51,), 4 * (81,)], [7 * (14,) + 4 * (15,), 4 * (20,) + 6 * (21,), 6 * (36,) + 2 * (37,), 2 * (92,) + 2 * (93,)], [12 * (11,) + 4 * (12,), 8 * (20,) + 4 * (21,), 8 * (37,) + 1 * (38,), 4 * (107,)], [11 * (12,) + 5 * (13,), 11 * (16,) + 5 * (17,), 4 * (40,) + 5 * (41,), 3 * (115,) + 1 * (116,)], [11 * (12,) + 7 * (13,), 5 * (24,) + 7 * (25,), 5 * (41,) + 5 * (42,), 5 * (87,) + 1 * (88,)], [3 * (15,) + 13 * (16,), 15 * (19,) + 2 * (20,), 7 * (45,) + 3 * (46,), 5 * (98,) + 1 * (99,)], [2 * (14,) + 17 * (15,), 1 * (22,) + 15 * (23,), 10 * (46,) + 1 * (47,), 1 * (107,) + 5 * (108,)], [2 * (14,) + 19 * (15,), 17 * (22,) + 1 * (23,), 9 * (43,) + 4 * (44,), 5 * (120,) + 1 * (121,)], [9 * (13,) + 16 * (14,), 17 * (21,) + 4 * (22,), 3 * (44,) + 11 * (45,), 3 * (113,) + 4 * (114,)], [15 * (15,) + 10 * (16,), 15 * (24,) + 5 * (25,), 3 * (41,) + 13 * (42,), 3 * (107,) + 5 * (108,)], [19 * (16,) + 6 * (17,), 17 * (22,) + 6 * (23,), 17 * (42,), 4 * (116,) + 4 * (117,)], [34 * (13,), 7 * (24,) + 16 * (25,), 17 * (46,), 2 * (111,) + 7 * (112,)], [16 * (15,) + 14 * (16,), 11 * (24,) + 14 * (25,), 4 * (47,) + 14 * (48,), 4 * (121,) + 5 * (122,)], [30 * (16,) + 2 * (17,), 11 * (24,) + 16 * (25,), 6 * (45,) + 14 * (46,), 6 * (117,) + 4 * (118,)], [22 * (15,) + 13 * (16,), 7 * (24,) + 22 * (25,), 8 * (47,) + 13 * (48,), 8 * (106,) + 4 * (107,)], [33 * (16,) + 4 * (17,), 28 * (22,) + 6 * (23,), 19 * (46,) + 4 * (47,), 10 * (114,) + 2 * (115,)], [12 * (15,) + 28 * (16,), 8 * (23,) + 26 * (24,), 22 * (45,) + 3 * (46,), 8 * (122,) + 4 * (123,)], [11 * (15,) + 31 * (16,), 4 * (24,) + 31 * (25,), 3 * (45,) + 23 * (46,), 3 * (117,) + 10 * (118,)], [19 * (15,) + 26 * (16,), 1 * (23,) + 37 * (24,), 21 * (45,) + 7 * (46,), 7 * (116,) + 7 * (117,)], [23 * (15,) + 25 * (16,), 15 * (24,) + 25 * (25,), 19 * (47,) + 10 * (48,), 5 * (115,) + 10 * (116,)], [23 * (15,) + 28 * (16,), 42 * (24,) + 1 * (25,), 2 * (46,) + 29 * (47,), 13 * (115,) + 3 * (116,)], [19 * (15,) + 35 * (16,), 10 * (24,) + 35 * (25,), 10 * (46,) + 23 * (47,), 17 * (115,)], [11 * (15,) + 46 * (16,), 29 * (24,) + 19 * (25,), 14 * (46,) + 21 * (47,), 17 * (115,) + 1 * (116,)], [59 * (16,) + 1 * (17,), 44 * (24,) + 7 * (25,), 14 * (46,) + 23 * (47,), 13 * (115,) + 6 * (116,)], [22 * (15,) + 41 * (16,), 39 * (24,) + 14 * (25,), 12 * (47,) + 26 * (48,), 12 * (121,) + 7 * (122,)], [2 * (15,) + 64 * (16,), 46 * (24,) + 10 * (25,), 6 * (47,) + 34 * (48,), 6 * (121,) + 14 * (122,)], [24 * (15,) + 46 * (16,), 49 * (24,) + 10 * (25,), 29 * (46,) + 14 * (47,), 17 * (122,) + 4 * (123,)], [42 * (15,) + 32 * (16,), 48 * (24,) + 14 * (25,), 13 * (46,) + 32 * (47,), 4 * (122,) + 18 * (123,)], [10 * (15,) + 67 * (16,), 43 * (24,) + 22 * (25,), 40 * (47,) + 7 * (48,), 20 * (117,) + 4 * (118,)], [20 * (15,) + 61 * (16,), 34 * (24,) + 34 * (25,), 18 * (47,) + 31 * (48,), 19 * (118,) + 6 * (119,)], ] ALIGNMENT_POSITIONS = [ # From ISO/IEC 18004:2006 [], [], [18], # Version 2 [22], [26], [30], [34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], # Version 24 [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170] ] def check_region(data, x, y, match): """Compares a region to the given """ w = len(match[0]) for cy in range(len(match)): if match[cy] != data[y+cy][x:x+w]: return False return True def zero_region(data, x, y, w, h): """Fills a region with zeroes.""" for by in range(y, y+h): line = data[by] data[by] = line[:x] + [0]*w + line[x+w:] def bits_to_int(bits): """Convers a list of bits into an integer""" val = 0 for bit in bits: val = (val << 1) | bit return val def bits_to_bytes(bits): """Converts a list of bits into a string of bytes""" return ''.join([chr(bits_to_int(bits[i:i+8])) for i in range(0, len(bits), 8)]) def bytes_to_bits(buf): """Converts a string of bytes to a list of bits""" return [b >> i & 1 for b in map(ord, buf) for i in range(7, -1, -1)] def deinterleave(data, b_cap): """De-interleaves the bytes from a QR code""" n_bufs = len(b_cap) bufs = [] for _ in range(n_bufs): bufs.append([]) b_i = 0 for i in range(sum(b_cap)): b = data[i] while b_cap[b_i] <= len(bufs[b_i]): b_i = (b_i + 1) % n_bufs bufs[b_i].append(b) b_i = (b_i + 1) % n_bufs buf = '' for b in bufs: buf += ''.join(b) return buf def parse_bits(bits, version): """ Parses and decodes a TLV value from the given list of bits. Returns the parsed data and the remaining bits, if any. """ enc, bits = bits_to_int(bits[:4]), bits[4:] if enc == 0: # End of data. return '', [] elif enc == 1: # Number n_l = 10 if version < 10 else 12 if version < 27 else 14 l, bits = bits_to_int(bits[:n_l]), bits[n_l:] buf = '' while l > 0: if l >= 3: num, bits = bits_to_int(bits[:10]), bits[10:] elif l >= 2: num, bits = bits_to_int(bits[:7]), bits[7:] else: num, bits = bits_to_int(bits[:3]), bits[3:] buf += str(num) elif enc == 2: # Alphanumeric n_l = 9 if version < 10 else 11 if version < 27 else 13 l, bits = bits_to_int(bits[:n_l]), bits[n_l:] buf = '' while l > 0: if l >= 2: num, bits = bits_to_int(bits[:11]), bits[11:] buf += ALPHANUM[num / 45] buf += ALPHANUM[num % 45] l -= 2 else: num, bits = bits_to_int(bits[:6]), bits[6:] buf += ALPHANUM[num] l -= 1 return buf, bits elif enc == 4: # Bytes n_l = 8 if version < 10 else 16 l, bits = bits_to_int(bits[:n_l]), bits[n_l:] return bits_to_bytes(bits[:l*8]), bits[l*8:] else: raise ValueError('Unsupported encoding: %d' % enc) def remove_locator_patterns(data, mask): """ Verifies and blanks out the three large locator patterns and dedicated whitespace surrounding them. """ width = len(data) if not check_region(data, 0, 0, LOCATOR_BOX): raise ValueError('Top-left square missing') zero_region(mask, 0, 0, 9, 9) if not check_region(data, width-7, 0, LOCATOR_BOX): raise ValueError('Top-right square missing') zero_region(mask, width-8, 0, 8, 9) if not check_region(data, 0, width-7, LOCATOR_BOX): raise ValueError('Bottom-left square missing') zero_region(mask, 0, width-8, 9, 8) def remove_alignment_patterns(mask, version): """Blanks out alignment patterns.""" positions = ALIGNMENT_POSITIONS[version] for y in positions: for x in positions: # Do not try to remove patterns in locator pattern positions. if (x, y) not in [(6, 6), (6, positions[-1]), (positions[-1], 6)]: zero_region(mask, x-2, y-2, 5, 5) def remove_timing_patterns(mask): """Blanks out tracking patterns.""" width = len(mask) mask[6] = [0] * width for y in range(width): mask[y][6] = 0 def remove_version_info(mask): """Removes version data. Only for version 7 and greater.""" width = len(mask) zero_region(mask, width-11, 0, 3, 6) zero_region(mask, 0, width-11, 5, 6) def read_bits(qr_data, read_mask, mask): """Reads the data contained in a QR code as bits.""" size = len(qr_data) mask_f = MASKS[mask] bits = [] # Skip over vertical timing pattern for x in reversed(list(range(0, 6, 2)) + list(range(7, size, 2))): y_range = range(0, size) if (size - x)/2 % 2 != 0: y_range = reversed(y_range) for y in y_range: for i in reversed(range(2)): if read_mask[y][x+i]: bits.append(qr_data[y][x+i] ^ mask_f(x+i, y)) return bits yubioath-desktop-3.0.1/yubioath/gui/controller.py0000664000175000017500000003435512726252010022034 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from ..core.standard import (YubiOathCcid, TYPE_TOTP, TYPE_HOTP, Credential as StdCredential) from ..core.legacy_otp import LegacyCredential from ..core.controller import Controller from ..core.exc import CardError, DeviceLockedError from .ccid import CardStatus from yubioath.yubicommon.qt.utils import is_minimized from .view.get_password import GetPasswordDialog from .keystore import get_keystore from . import messages as m from yubioath.core.utils import ccid_supported_but_disabled from yubioath.yubicommon.qt import get_active_window, MutexLocker from PySide import QtCore, QtGui from time import time from collections import namedtuple import sys if sys.platform == 'win32': # Windows has issues with the high level API. from .ccid_poll import observe_reader else: from .ccid import observe_reader Code = namedtuple('Code', 'code timestamp ttl') UNINITIALIZED = Code('', 0, 0) TIME_PERIOD = 30 INF = float('inf') class CredEntry(QtCore.QObject): changed = QtCore.Signal() def __init__(self, cred, controller): super(CredEntry, self).__init__() self.cred = cred self._controller = controller self._code = Code('', 0, 0) @property def code(self): return self._code @code.setter def code(self, value): self._code = value self.changed.emit() @property def manual(self): return self.cred.touch or self.cred.oath_type == TYPE_HOTP def calculate(self): dialog = QtGui.QMessageBox(get_active_window()) dialog.setWindowTitle(m.touch_title) dialog.setStandardButtons(QtGui.QMessageBox.NoButton) dialog.setIcon(QtGui.QMessageBox.Information) dialog.setText(m.touch_desc) timer = None def cb(code): if timer: timer.stop() dialog.accept() if isinstance(code, Exception): QtGui.QMessageBox.warning(get_active_window(), m.error, code.message) else: self.code = code self._controller._app.worker.post_bg((self._controller._calculate_cred, self.cred), cb) if self.cred.touch: dialog.exec_() elif self.cred.oath_type == TYPE_HOTP: # HOTP might require touch, we don't know. Assume yes after 500ms. timer = QtCore.QTimer(self) timer.setSingleShot(True) timer.timeout.connect(dialog.exec_) timer.start(500) def delete(self): if self.cred.name in ['YubiKey slot 1', 'YubiKey slot 2']: self._controller.delete_cred_legacy(int(self.cred.name[-1])) else: self._controller.delete_cred(self.cred.name) Capabilities = namedtuple('Capabilities', 'ccid otp version') def names(creds): return set(c.cred.name for c in creds) class Timer(QtCore.QObject): time_changed = QtCore.Signal(int) def __init__(self, interval): super(Timer, self).__init__() self._interval = interval now = time() rem = now % interval self._time = int(now - rem) QtCore.QTimer.singleShot((self._interval - rem) * 1000, self._tick) def _tick(self): self._time += self._interval self.time_changed.emit(self._time) next_time = self._time + self._interval QtCore.QTimer.singleShot((next_time - time()) * 1000, self._tick) @property def time(self): return self._time class GuiController(QtCore.QObject, Controller): refreshed = QtCore.Signal() ccid_disabled = QtCore.Signal() def __init__(self, app, settings): super(GuiController, self).__init__() self._app = app self._settings = settings self._needs_read = False self._reader = None self._creds = None self._lock = QtCore.QMutex() self._keystore = get_keystore() self._current_device_has_ccid_disabled = False self.timer = Timer(TIME_PERIOD) self.watcher = observe_reader(self.reader_name, self._on_reader) self.startTimer(3000) self.timer.time_changed.connect(self.refresh_codes) def settings_changed(self): self.watcher.reader_name = self.reader_name self.refresh_codes() @property def reader_name(self): return self._settings.get('reader', 'Yubikey') @property def slot1(self): return self._settings.get('slot1', 0) @property def slot2(self): return self._settings.get('slot2', 0) @property def mute_ccid_disabled_warning(self): return self._settings.get('mute_ccid_disabled_warning', 0) @mute_ccid_disabled_warning.setter def mute_ccid_disabled_warning(self, value): self._settings['mute_ccid_disabled_warning'] = value def unlock(self, dev): if dev.locked: key = self._keystore.get(dev.id) if not key: self._app.worker.post_fg((self._init_dev, dev)) return False dev.unlock(key) return True def grab_lock(self, lock=None, try_lock=False): return lock or MutexLocker(self._lock, False).lock(try_lock) @property def otp_enabled(self): return self.otp_supported and bool(self.slot1 or self.slot2) @property def credentials(self): return self._creds def has_expiring(self, timestamp): for c in self._creds or []: if c.code.timestamp >= timestamp and c.code.ttl < INF: return True return False def get_capabilities(self): assert self.grab_lock() ccid_dev = self.watcher.open() if ccid_dev: dev = YubiOathCcid(ccid_dev) return Capabilities(True, None, dev.version) legacy = self.open_otp() if legacy: return Capabilities(None, legacy.slot_status(), (0, 0, 0)) return Capabilities(None, None, (0, 0, 0)) def get_entry_names(self): return names(self._creds) def _on_reader(self, watcher, reader, lock=None): if reader: if self._reader is None: self._reader = reader self._creds = [] if is_minimized(self._app.window): self._needs_read = True else: ccid_dev = watcher.open() if ccid_dev: dev = YubiOathCcid(ccid_dev) self._app.worker.post_fg((self._init_dev, dev)) else: self._needs_read = True elif self._needs_read: self.refresh_codes(self.timer.time) else: self._reader = None self._creds = None self.refreshed.emit() def _init_dev(self, dev): lock = self.grab_lock() while dev.locked: if self._keystore.get(dev.id) is None: dialog = GetPasswordDialog(get_active_window()) if dialog.exec_(): self._keystore.put(dev.id, dev.calculate_key(dialog.password), dialog.remember) else: return try: dev.unlock(self._keystore.get(dev.id)) except CardError: self._keystore.delete(dev.id) self.refresh_codes(self.timer.time, lock) def _await(self): self._creds = None def wrap_credential(self, tup): (cred, code) = tup entry = CredEntry(cred, self) if code and code not in ['INVALID', 'TIMEOUT']: entry.code = Code(code, self.timer.time, TIME_PERIOD) return entry def _set_creds(self, creds): if creds: creds = [self.wrap_credential(c) for c in creds] if self._creds and names(creds) == names(self._creds): entry_map = dict((c.cred.name, c) for c in creds) for entry in self._creds: cred = entry.cred code = entry_map[cred.name].code if code.code: entry.code = code elif cred.oath_type != entry_map[cred.name].cred.oath_type: break else: return elif self._reader and self._needs_read and self._creds: return self._creds = creds self.refreshed.emit() def _calculate_cred(self, cred): assert self.grab_lock() now = time() timestamp = self.timer.time if timestamp + TIME_PERIOD - now < 10: timestamp += TIME_PERIOD ttl = TIME_PERIOD if cred.oath_type == TYPE_HOTP: ttl = INF if cred.name in ['YubiKey slot 1', 'YubiKey slot 2']: legacy = self.open_otp() if not legacy: raise ValueError('YubiKey removed!') try: cred._legacy = legacy cred, code = super(GuiController, self).read_slot_otp( cred, timestamp, True) finally: cred._legacy = None # Release the handle. return Code(code, timestamp, TIME_PERIOD) ccid_dev = self.watcher.open() if not ccid_dev: if self.watcher.status != CardStatus.Present: self._set_creds(None) return dev = YubiOathCcid(ccid_dev) if self.unlock(dev): return Code(dev.calculate(cred.name, cred.oath_type, timestamp), timestamp, ttl) def read_slot_otp(self, cred, timestamp=None, use_touch=False): return super(GuiController, self).read_slot_otp(cred, timestamp, False) def refresh_codes(self, timestamp=None, lock=None): if not self._reader and self.watcher.reader: return self._on_reader(self.watcher, self.watcher.reader, lock) elif is_minimized(self._app.window): self._needs_read = True return lock = self.grab_lock(lock, True) if not lock: return device = self.watcher.open() self._needs_read = bool(self._reader and device is None) timestamp = timestamp or self.timer.time try: creds = self.read_creds(device, self.slot1, self.slot2, timestamp, False) except DeviceLockedError: creds = [] self._set_creds(creds) def timerEvent(self, event): if not is_minimized(self._app.window): timestamp = self.timer.time if self._reader and self._needs_read: self._app.worker.post_bg(self.refresh_codes) elif self._reader is None: if self.otp_enabled: def refresh_otp(): lock = self.grab_lock(try_lock=True) if lock: read = self.read_creds(None, self.slot1, self.slot2, timestamp, False) self._set_creds(read) self._app.worker.post_bg(refresh_otp) else: if ccid_supported_but_disabled(): if not self._current_device_has_ccid_disabled: self.ccid_disabled.emit() self._current_device_has_ccid_disabled = True event.accept() return self._current_device_has_ccid_disabled = False event.accept() def add_cred(self, *args, **kwargs): lock = self.grab_lock() ccid_dev = self.watcher.open() if ccid_dev: dev = YubiOathCcid(ccid_dev) if self.unlock(dev): super(GuiController, self).add_cred(dev, *args, **kwargs) self._creds = None self.refresh_codes(lock=lock) def add_cred_legacy(self, *args, **kwargs): lock = self.grab_lock() super(GuiController, self).add_cred_legacy(*args, **kwargs) self._creds = None self.refresh_codes(lock=lock) def delete_cred(self, name): lock = self.grab_lock() ccid_dev = self.watcher.open() if ccid_dev: dev = YubiOathCcid(ccid_dev) if self.unlock(dev): super(GuiController, self).delete_cred(dev, name) self._creds = None self.refresh_codes(lock=lock) def delete_cred_legacy(self, *args, **kwargs): lock = self.grab_lock() super(GuiController, self).delete_cred_legacy(*args, **kwargs) self._creds = None self.refresh_codes(lock=lock) def set_password(self, password, remember=False): assert self.grab_lock() ccid_dev = self.watcher.open() if ccid_dev: dev = YubiOathCcid(ccid_dev) if self.unlock(dev): key = super(GuiController, self).set_password(dev, password) self._keystore.put(dev.id, key, remember) def forget_passwords(self): self._keystore.forget() yubioath-desktop-3.0.1/yubioath/gui/messages.py0000664000175000017500000001260012726252010021445 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. """ Strings for Yubico Authenticator. Note: String names must not start with underscore (_). """ organization = "Yubico" domain = "yubico.com" app_name = "Yubico Authenticator" win_title_1 = "Yubico Authenticator (%s)" about_1 = "About: %s" copyright = "Copyright © Yubico" libraries = "Library versions" version_1 = "Version: %s" wait = "Please wait..." error = "Error" menu_file = "&File" menu_help = "&Help" action_about = "&About" action_add = "&Add..." action_password = "Set/Change &password" action_settings = "&Settings" action_delete = "&Delete" action_show = "&Show credentials" action_quit = "&Quit" password = "Password" settings = "Settings" advanced = "Advanced" pass_required = "Password required" remember = "Remember password" no_key = "Insert a YubiKey..." key_busy = "YubiKey already in use!" key_present = "YubiKey found. Reading..." key_removed = "YubiKey removed" key_removed_desc = "There was an error communicating with the device!" ykstd_slots = "YubiKey standard slots" enable_slot_1 = "Read from slot %d" n_digits = "Number of digits" enable_systray = "Show in system tray" kill_scdaemon = "Kill scdaemon on show" reader_name = "Card reader name" no_creds = "No credentials available" add_cred = "New credential" cred_name = "Credential name" cred_key = "Secret key (base32)" cred_type = "Credential type" cred_totp = "Time based (TOTP)" cred_hotp = "Counter based (HOTP)" invalid_name = "Invalid name" invalid_name_desc = "Name must be at least 3 characters" invalid_key = "Invalid key" invalid_key_desc = "Key must be base32 encoded" set_pass = "Set password" new_pass = "New password (blank for none)" ver_pass = "Verify new password" pass_mismatch = "Passwords do not match" pass_mismatch_desc = "Please enter the same password twice" touch_title = "Touch required" touch_desc = "Touch your YubiKey now" delete_title = "Confirm credential deletion" delete_desc_1 = """Are you sure you want to delete the credential?
This action cannot be undone.

Delete credential: %s """ slot = "YubiKey slot" slot_2 = "Slot %d (%s)" free = "free" in_use = "in use" require_touch = "Require touch" no_slot = "No slot chosen" no_slot_desc = "Please choose a slot to write the credential to" overwrite_slot = "Overwrite slot?" overwrite_slot_desc_1 = "This will overwrite the credential currently stored " \ "in slot %d. This action cannot be undone." overwrite_entry = "Overwrite entry?" overwrite_entry_desc = "An entry with this username already exists.\n\nDo you wish to overwrite it? This action cannot be undone." qr_scan = "Scan a QR code" qr_scanning = "Scanning for QR code..." qr_not_found = "QR code not found" qr_not_found_desc = "No usable QR code detected. Make sure the QR code is " \ "fully visible on your primary screen and try again." qr_not_supported = "Credential not supported" qr_not_supported_desc = "This credential type is not supported for slot " \ "based usage." tt_slot_enabled_1 = "Check to calculate TOTP codes using the YubiKey " \ "standard slot %d credential." tt_num_digits = "The number of digits to show for the credential." tt_systray = "When checked, display an icon in the systray, and leave the " \ "application running there when closed." tt_kill_scdaemon = "Kills any running scdaemon process when the window is " \ "shown. This is useful when using this application together with GnuPG " \ "to avoid GnuPG locking the device." tt_reader_name = "Changes the default smartcard reader name to look for. " \ "This can be used to target a specific YubiKey when multiple are used, " \ "or to target an NFC reader." ccid_disabled = 'CCID (smart card capabilities) is disabled on the ' \ 'inserted YubiKey.

Without CCID enabled, you will only be ' \ 'able to store 2 credentials.

' \ 'Learn how to enable CCID
' no_space="No space available" no_space_desc="There is not enough space to add another credential on your device.\n\nTo create free space to add a new credential, delete those you no longer need." def _translate(qt): values = globals() for key, value in values.items(): if isinstance(value, basestring) and not key.startswith('_'): values[key] = qt.tr(value) yubioath-desktop-3.0.1/yubioath/gui/qt_resources.py0000664000175000017500000020542712727513331022376 0ustar daindain00000000000000# -*- coding: utf-8 -*- # Resource object code # # Created: mån jun 13 13:19:53 2016 # by: The Resource Compiler for PySide (Qt v4.8.4) # # WARNING! All changes made in this file will be lost! from PySide import QtCore qt_resource_data = b"\x00\x00\x01n\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdf\x06\x03\x09\x16&s\x0dU\xb1\x00\x00\x00\x19tEXtComment\x00Created with GIMPW\x81\x0e\x17\x00\x00\x00\xd6IDAT8\xcb\xbd\x94Q\x11\xc20\x0c\x86\xbf\xdb!\x00\x09\x93P\x09\x95\x80\x84I@\x02(\x98\x84\xe2d\x126\x098(\x0e\xe0\xa5\xbb\x0b!Mw\xdc wyj\xfa%i\xfe\x14\xfelG \xee\x01\xea\x81\x04<\x8bK\xe8\xa4<\x01'\x0f6\x08\x90\x05\xd4gs\xe9\xa4\x09\xcb\xc0\xa5T\x8b\x03<{mf\x01\x0b\x958\x0d\xccFR\x10o\xe6\xc1\x101\xb2\x9bd\x05\xae\xd5\x8d\x8d\x81\xc9\x84\xa3H\xf0fQd\x0b\x1b\x14\xb0Z\xd0\x83\xeb\x8c\x0bK\x03x\xf7b\xbb\xbd7\xc1\x02\x86J{4b\x9bC\x09\xd6c+\xab\x0e\x05\xb5j\x83H\xe0U\xe7\xcaF\x0a[z\x0d\x96[\xc2\xa6\xac\x91\x07\xec\xcb:f\xd5M\xf5\xab\x9a\x1d`4\xce>`\x07ua\x01\x1e\x1b\xd4q\x03\xaeJ\x93_Y\xf4\xbe\xaa\x9f\xd8\x0b\x80^c2\x88\xe5\xdbg\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00U\xc4\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3>a\xcb\x00\x00\x00\x06bKGD\x00\xf6\x00\xf6\x00\xf6\xdb\xa0F\xc9\x00\x00\x00\x09pHYs\x00\x00.#\x00\x00.#\x01x\xa5?v\x00\x00\x00\x07tIME\x07\xdd\x08\x1e\x0a-5\x99\xcc\xd5&\x00\x00 \x00IDATx\xda\xec\xbdy\x90e\xd9Y'\xf6;\xe7\xaeo_2_f\xe5RYU]\x8b\xba\xab\x17-\xadn`\x8c\x84D\x0b\x09f<\xe3@&\xd0D\xb0\xd8a\x06G\xe0\x08\x07D\xcc?6\x86\x88\x81\x19a@\xfe\xc34\x22d\x03\x11\xc2CG\xa8\x99f `\x02\x09\xbb\x85\x10\x18\x09\xab\xe9\xee\xea\xee\xea\xea\xaa\xac\xae=3+\xd7\xb7\xafw;\xc7\x7f\x9c\xe5\x9e\xfb\xde\xab\xae\x96\xd4\x08\x09;+n\xe4\xab\x97o\xb9\xf7\x9e\xef|\xeb\xef\xfb}\x04\xffx\x7f\xc8=\x1e\x7f=?\xfc\x1e\x8f\xffQ\xde\xa4\x7fL\x8b\xad\x0e\x10B(\xe7\x9cL\xfd\xed~\x8b>}`\xce\xe3\x7f\x14BA\xbe\xc3\xcf]\x1f\x94R\xc2\x18\xa3\xc6s\x14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02\x80\x13B\xd8\xb7\xd29\xfc{\x17\x80|>o\x85a\xe80\xc6\x9c_\xff\xf5O=\xfe3?\xf33\xff\xc3\xb9s\xe7\xfe5\xe7\xbc\x10\x04\x01d\x82\xc7Xp\xa2=\x05\x82\xd4\xce\x93i\x81\x90\xd2Bt\x04\x99\xee\xca\xcc\xce\x95\xaa\xbc^\xaf\xc3\xb2,loo\xe3\xf6\xed\xdb\xd8\xb9\xbb\x83\xbb;wq\xeb\xd6-L\x82\x09>\xfc\xfd\x1f\xc6G?\xfaQ\xb8\xae+\x17\x8f\xcf\xe4\x13`\xaa{\x9ej\x98\xac\x7f\x90\x0a\xa1\xe9'\x98\xef\xa1\x96\x0d*\xae\x85\xae\xaf\xaf\xbf\xe7\xcc\x993\xe7\x18c\xc3\x1b7n\xf4\x00$\x84\x10>\xa5\x0d\xbe#\x05\x80\x14\x0a\x05k4\x1a\xd9\x00\xca\x9f\xff\xfc\xe7\xff\xc5\x0f\xfd\xd0?\xfdw\x95J\xf9\xfb\x83I\x80 \x0c\xb4\xf7lz\xf4\x04\x86m'\x04\x84#\xb3\xd3\xcd\xdf\xd4\xf4\x15DE\x08\x84Pqs\x09\x90\xc4\x09\x82`\x82\xfe\xa0\x8f^\xb7\x07\xce9l\xdb\xc6d2\xc1h4\x02\x00,..\xe2\xc9'\x9f\xc4C\xe7\xcf\x03\x00\x82\xb18/\x10\x11f*\xdf\x83O\xd5\x0e\x80tA\xcd\x88\x83\xf3\xec\xe2g\xbc<%\x04\x5c8\xa7*\x89U(\x14\x96O\x9e<\xf9\x9ec\xc7\x8e9W\xae\x5ciFQ\x14M\x15\xa3\xbe\xe3\xf2\x00\xc4u];\x0cC\xfb\xcc\xe9\xd3\x8b\xcf\xfd\xe1\x1f\xfe\xb7\xa7N\x9d\xfa\x19p\xbe0\x9e\x8c\x91D\x09\xa0C9\xaam>!$\xeb\xf5\xab\x05\xa5\xd9\xd7Q*\x16\x87J\x07K\xfd\x0c\x06\x03\x1c\x1d\x1da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\x11\xfd\x82\x8b\x8b\x8b \x84\xa0\xd3\xe9\xea\x9c\x80\xce9\x18\x5c\xc1a\x18\x02D\xb0x\xf8\xbe\xaf\x8bS\x19\xb5?\x95\x03\x88\xe3\x18\xa3\xe1\x08\x07\x07\xfb\x18\x8dF\xa2K\xa9X\x82\xefe;\x94\xder\xd1\x09\x81\xa5\x93ED'\x87\x04\xc28\xa7;\x92\xca\xe5\xb26IY\xf4R\xea\x1b0\x99\x1f \xf2:\xca\x95\xca\xb1z\xbd\xbe&\x1d\xc1\x99\xa4\xd0\xb4\x09 ?\xff?\xfd\x8f\x0f\xf8\xbe\x7f\xba\xdf\xef#2l&3\xec>\xcb\xd4\xe1\x81\xc1p\x88\xbd\xbd=\x8cF#\x94\xcbe,,,\x88\xdd\xefy\xba\x0c\xca\x98\xec\xbf3J\xbai\xfd\xdc\xd8\xf5zq\x13\x1d\xb69\xae\x83b\xb1\x84\xe1` \x920\xaa<\xcc\xc4\x91\xd1\x02\x86Y \x94\xa0P(`ee\x05\x94R\xb4\xdb-\xddW\x98V\xee\xd2~\xff\xc9d\xa2=\x7f\xc7q\xc4u&S\x8b\xcf\xb2l\xa1\xe3\xb1HY_\xba\xf4\x86\xec .\xa1\x90/\xc0\x93\x15Nk\xca\xc9\xa3\x19?@\x98\x05K\x99\x00C(,C\x0b\x14\x0a\x05look\x98\x5c\xc6\x04\x1a\x8bo\xb6\xa7\xab\xa6\xdar\xa9\xb4X\xadVW\xa4#h\x0a\x001k\x01\xea\x09\xeb\xec\xe9\xd3'-\xcb:1\x18\x0e\x11'IZ\x80 \x00\xe5\xf2eD\xe4\xff98,N\xd0j6\xb5\x93\xa6\x1a5\x95\xfdR\xbb\x88\x92\x14!\xa4y\xf5\x04\x85\x12(%`\x84\x00\x84\x81\xcb\xe79\xa7\x12o nX.'\xba|{\xdd\x9e\xc4\xd4'i\xb7\x0f\x01\x12B@bdz\xf6\xa5\x1aD\xb5ZE\xb5Z\xc5\xd1\xd1\x11\xfa\xfd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\x93\xb2\x8b\xcaA\x146T\xda4\xdbB\xce\xf71\x18\x0c0\x09\x02x\x0a.>\x05M\x22H\x1d\xad$I\xe0y\x1e\xaa\xd5*6Nl\xe0\xea\x9bW\xd1\xedvQ.Wt\xebz\x10\x04\x88\xa3\x18\x85BA\x17~\xe2X\xcc\x07H\x0c\x13`\xda\xfe\xc9d\x82(\x8ap\xe7\xce\x1d\xa1\xfe\xab\x15a\xfar\xbeH\xfd\x9a\xea\xdf \xb4\x9c\xb6\xf3\x80\xf2\x07\x90\x99u\xa0\xe8p\x99\xacI\xb8\xae\x8bP\x86\xb0\xf9|\x1e\x9dN\xc7`S3\xfa\x9c5\x89\xa6\xf8\x1c\xdb\xb6Q\xc8\x17*\xae\xe3Vd.\xc01\x1cAn&\x06\xacj\xb5V\xb7,ge2\x91\xfc}\x84\x80\xc8\xd4*\xa6\xed\xb2t\xeeF\xa3!\x82 \x80m\xdb\x92t\xd9\xd7\xe9S\xce8\x18R3\xc2\x15t+\x967@\xae\xac\x96~SCpS\x10\x88\x86A+\xe4\xf0h4\x04\xa5E\xf9\x1a'\x93\xd8\x17\xbb?\xd2P)\x879\xa8\xd7\xeb(\x14\x0a\xa8\xd5j\xe8\xf5\x04\x89\x94-\xeb\xed\xc2\xfe3x\x9e0\x0bI\x92.~\x14E3\x8b\xafL\xc6\xde\xfe\x1e\xa28Bc\xb1\x81J\xb9\x82|!'XI,Gg\x13\xc9\x94\xd93\xb5^\xc6\xe1\x13\xdb+\x15\x0c\xa20{\xb6\xca\xd1\x08_E&\xda,\xdb\x12V\x9c #4\xc4D\x1fKH~.\x9fsl\xdb.\x02\xc8\xcb\x5c\x00\x9d\x8e\x02\x00\xc0r]\xb7\x08\xf0J\x10\x08\xfb\xafT\x928o\xae\xe8\xed\xc4B\x0a\xff\x1e\x93\x89p\x84\x14q\x82\xe3:\xa9\x80p\x06\xca\xa8!\x04)\xf5+\x91&\x84\x00`\x94\xde\x13\xeb\xc7\x19\xd3\xb1\xb2\x08\x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\x86\xa3&\x01\xd3D\x7f0@KkA\x91\x15T*\x15\x1c\x1c\x1c \x9b\xcd\x22\x9b\xcd\x22\x93\xc9\x98\x85BAU\x14\xa5\xd9R\xd5R]\x92\xf6\xda\xedv\x96\x004K\xe4\xae\x90=^f\x0c\xff\xd4\xc3\xfd\xb3\xea\x00\xf7s\x84q\x00A\x00\x11\x001RZ\x9e\x98\x9e\x9e>\x95L&O\x86\xc3\xe1\xe9H$2\x19\x8f\xc7\x93\xc9T2\x10\x0a\x86\x10\x0c\x06\x11\x89D\x10\x89F\xad\xc7\xa1\x10\xfcD\xd89\x10\x08@\xd34lmmagg\xc7\x9a\xc4!b\xcb\xd3\xd3\xd3x\xe7\x9d\xdf\xe1\xd4\xcf\x17\xec\x19}UQ!\x13\xad\xa0r\xa5\x82\xb2E\xbbF\x1d\xa0W\xadV\x15Y\x96%M\xd3\xaa\xadV\xab(\xcbr\x9e\x18\xbdB\xee*\xd9\xdf\x9b\xb0F\xb4\xdb\xae\x04\xcfxV\xde\xf4g\xedb\x1dA\x00\xe0%Q!D\x22\x03u\x88T,\x16\x9b\x8eD\x22S>\x9f/\x15\x0c\x06S\xc1`0\x11\x0e\x87\xa3\xe1H$\x12\x0e\x85DK(\xcak\xe3\xf0}>\x1f\xfa\xfd\x01\x1a\x92\x04Y\x91\xa1\x13\x9cb*\x99D0\x18\x82\xd6\xd6\xa0\xa8\x0at\xbd\x87\x96j\x09e\xd5j\xb5~\xb3\xd9\xec\xc8\xb2\xac*\x8a\xd2TU\xb5\xde\xef\xf7\xe5n\xa7[S[*\x0d\xe9u\xe6n\x10\xa3\xab\xc4\xe8]\xd7\x1eo\x0fFQ\x86\x0c\x0bV\x03bHZ\xbe\xee\x11\xe3R\xc1%\xfa\xb9\x9e\xcb\xe0\x86\xcb\xe0\xe6\xf3\xf2\x86>\xaf\x97\x9b\xff\x85\xbfO\xa4\xf00\xcf\xd9\xefyP\xef\xc2p\x19v\xe0zn\xb82\xf8\xe7\xca\xe8?\x15\x07p\xbf\x06\xee\x01\xce\xc1~\x8d\xff\x9eB\x15\x5c\xe1{T(\x7fn\x0d\xfeSt\x80\x87y]\xff\xeb\xeb5\x7f\xe0\xd7\x9e\xbb\xeb\xbf\xb4,r\xf5\xb3p\x0e\x96\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\x00\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdf\x06\x03\x09\x19\x0b\xb1J\x15\x0b\x00\x00\x00\x19tEXtComment\x00Created with GIMPW\x81\x0e\x17\x00\x00\x00hIDAT8\xcbc` \x0c\xde300\xfc\x87\xe2\xf7\x0c\x14\x82\x00$\xc3`8\x80\x14\x03\xce300\xecg``(\xc0b\x10:.\x80\xaa=\x8f\xcf@\x98b\x034\xaf\xa2\xe3\xf7P50>\x1c\xb0\xe008\x9e\x81\x81A\x90\x80o\xfa\xb1\x092bq!9\x00n\x0e\x13\x03\x95\xc1\xa8\x81\xa3\x06\x8e\x1a8<\x0d\xbc@\x86\x19(z\x00\xb8\xd7$a\xfe\xe8\x88\xf1\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xf4\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\x00\x00\x00\x06bKGD\x00\x00\x00\x00\x00\x00\xf9C\xbb\x7f\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdf\x08\x11\x0e\x126J\xb9\xb7!\x00\x00\x00\x1diTXtComment\x00\x00\x00\x00\x00Created with GIMPd.e\x07\x00\x00\x00XIDAT8\xcbc`\xa02`\x84\xd2\xff\xc9\xd1\xfc\xff?D\x1b###\xdc<&j\xbb\x90\x05\x9b\x8d\x04\xbd\x85p\x11\x86Ki\xebB\x5c. \xe4\x03d\xf5Tw\xe1\xa8\x814\x8aeb\xd3#\xfd\xd3!\xae\xf47\xf0aHj\x98\xd15\xa7\xb0\x10[\x8a\xe0(\xffh\x1f\x86T\x07\x00qy\x1c6\xec\x80\xc0\xa9\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x9e\x0a\x0acopy.png\x0aqr.png\x0ayubioath.png\x0acalc.png\x0aqt_resources.qrc\x0a\x0a\x0a" qt_resource_name = b"\x00\x08\x08&Zg\x00c\x00a\x00l\x00c\x00.\x00p\x00n\x00g\x00\x0c\x08\xbcw\xc7\x00y\x00u\x00b\x00i\x00o\x00a\x00t\x00h\x00.\x00p\x00n\x00g\x00\x08\x06|Z\x07\x00c\x00o\x00p\x00y\x00.\x00p\x00n\x00g\x00\x06\x07\x85WG\x00q\x00r\x00.\x00p\x00n\x00g\x00\x10\x08X\xa8#\x00q\x00t\x00_\x00r\x00e\x00s\x00o\x00u\x00r\x00c\x00e\x00s\x00.\x00q\x00r\x00c" qt_resource_struct = b"\x00\x00\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00\x01\x00\x00\x004\x00\x00\x00\x00\x00\x01\x00\x00W:\x00\x00\x00J\x00\x00\x00\x00\x00\x01\x00\x00X>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x5c\x00\x00\x00\x00\x00\x01\x00\x00Y6\x00\x00\x00\x16\x00\x00\x00\x00\x00\x01\x00\x00\x01r" def qInitResources(): QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources() yubioath-desktop-3.0.1/yubioath/gui/ccid.py0000664000175000017500000001063112677232746020565 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from ..core.ccid import ScardDevice from smartcard import System from smartcard.ReaderMonitoring import ReaderMonitor, ReaderObserver from smartcard.CardMonitoring import CardMonitor, CardObserver from smartcard.Exceptions import SmartcardException from smartcard.pcsc.PCSCExceptions import EstablishContextException from PySide import QtCore import weakref class _CcidReaderObserver(ReaderObserver): def __init__(self, controller): self._controller = weakref.ref(controller) self._monitor = ReaderMonitor() self._monitor.addObserver(self) def update(self, observable, tup): (added, removed) = tup c = self._controller() if c: c._update(added, removed) def delete(self): self._monitor.deleteObservers() class _CcidCardObserver(CardObserver): def __init__(self, controller): self._controller = weakref.ref(controller) self._monitor = CardMonitor() self._monitor.addObserver(self) def update(self, observable, tup): (added, removed) = tup c = self._controller() if c: c._update([card.reader for card in added], [r.reader for r in removed]) def delete(self): self._monitor.deleteObservers() class CardStatus: NoCard, InUse, Present = range(3) class CardWatcher(QtCore.QObject): status_changed = QtCore.Signal(int) def __init__(self, reader_name, callback, parent=None): super(CardWatcher, self).__init__(parent) self._status = CardStatus.NoCard self.reader_name = reader_name self._callback = callback or (lambda _: _) self._reader = None self._reader_observer = _CcidReaderObserver(self) self._card_observer = _CcidCardObserver(self) try: self._update(System.readers(), []) except EstablishContextException: pass # No PC/SC context! def _update(self, added, removed): if self._reader in removed: # Device removed self.reader = None self._set_status(CardStatus.NoCard) if self._reader is None: for reader in added: if self.reader_name in reader.name: self.reader = reader self._set_status(CardStatus.Present) return @property def status(self): return self._status def _set_status(self, value): if self._status != value: self._status = value self.status_changed.emit(value) @property def reader(self): return self._reader @reader.setter def reader(self, value): self._reader = value self._callback(self, value) def open(self): if self._reader: conn = self._reader.createConnection() try: conn.connect() self._set_status(CardStatus.Present) return ScardDevice(conn) except SmartcardException: self._set_status(CardStatus.InUse) def __del__(self): self._reader_observer.delete() self._card_observer.delete() def observe_reader(reader_name='Yubikey', callback=None): return CardWatcher(reader_name, callback) yubioath-desktop-3.0.1/yubioath/gui/qrparse.py0000664000175000017500000001412712726252010021321 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. """ Given an image, locates and parses the pixel data in QR codes. """ from __future__ import division from yubioath.yubicommon.compat import byte2int from collections import namedtuple __all__ = ['parse_qr_codes'] Box = namedtuple('Box', ['x', 'y', 'w', 'h']) def is_dark(color): # If any R, G, or B value is < 200 we consider it dark. return any(byte2int(c) < 200 for c in color) def buffer_matches(matched): return len(matched) == 5 \ and max(matched[:2] + matched[3:]) <= matched[2] // 2 \ and min(matched[:2] + matched[3:]) >= matched[2] // 6 def check_line(pixels): matching_dark = False matched = [0, 0, 0, 0, 0] for (i, pixel) in enumerate(pixels): if is_dark(pixel): # Dark pixel if matching_dark: matched[-1] += 1 else: matched = matched[1:] + [1] matching_dark = True else: # Light pixel if not matching_dark: matched[-1] += 1 else: if buffer_matches(matched): width = sum(matched) yield i - width, width matched = matched[1:] + [1] matching_dark = False # Check final state of buffer if matching_dark and buffer_matches(matched): width = sum(matched) yield i - width, width def check_row(line, bpp, x_offs, x_width): return check_line([line[i*bpp:(i+1)*bpp] for i in range(x_offs, x_offs + x_width)]) def check_col(image, bpp, x, y_offs, y_height): return check_line([image.scanLine(i)[x*bpp:(x+1)*bpp] for i in range(y_offs, y_offs + y_height)]) def read_line(line, bpp, x_offs, x_width): matching_dark = not is_dark(line[x_offs*bpp:(x_offs+1)*bpp]) matched = [] for x in range(x_offs, x_offs + x_width): pixel = line[x*bpp:(x+1)*bpp] if is_dark(pixel): # Dark pixel if matching_dark: matched[-1] += 1 else: matched.append(1) matching_dark = True else: # Light pixel if not matching_dark: matched[-1] += 1 else: matched.append(1) matching_dark = False return matching_dark, matched def read_bits(image, bpp, img_x, img_y, img_w, img_h, size): qr_x_w = img_w / size qr_y_h = img_h / size qr_data = [] for qr_y in range(size): y = img_y + int(qr_y_h / 2 + qr_y * qr_y_h) img_line = image.scanLine(y) qr_line = [] for qr_x in range(size): x = img_x + int(qr_x_w / 2 + qr_x * qr_x_w) qr_line.append(is_dark(img_line[x * bpp:(x+1) * bpp])) qr_data.append(qr_line) return qr_data FINDER = [ [True, True, True, True, True, True, True], [True, False, False, False, False, False, True], [True, False, True, True, True, False, True], [True, False, True, True, True, False, True], [True, False, True, True, True, False, True], [True, False, False, False, False, False, True], [True, True, True, True, True, True, True] ] def parse_qr_codes(image, min_res=2): size = image.size() bpp = image.bytesPerLine() // size.width() finders = locate_finders(image, min_res) # Arrange finders into QR codes and extract data for (tl, tr, bl) in identify_groups(finders): min_x = min(tl.x, bl.x) min_y = min(tl.y, tr.y) width = tr.x + tr.w - min_x height = bl.y + bl.h - min_y # Determine resolution by reading timing pattern line = image.scanLine(min_y + int(6.5 / 7 * max(tl.h, tr.h))) _, line_data = read_line(line, bpp, min_x, width) size = len(line_data) + 12 # Read QR code data yield read_bits(image, bpp, min_x, min_y, width, height, size) def locate_finders(image, min_res): size = image.size() bpp = image.bytesPerLine() // size.width() finders = set() for y in range(0, size.height(), min_res * 3): for (x, w) in check_row(image.scanLine(y), bpp, 0, size.width()): x_offs = x + w // 2 y_offs = max(0, y - w) y_height = min(size.height() - y_offs, 2 * w) match = next(check_col(image, bpp, x_offs, y_offs, y_height), None) if match: (pos, h) = match y2 = y_offs + pos if read_bits(image, bpp, x, y2, w, h, 7) == FINDER: finders.add(Box(x, y2, w, h)) return list(finders) def identify_groups(locators): # Find top left for tl in locators: x_tol = tl.w / 14 y_tol = tl.h / 14 # Find top right for tr in locators: if tr.x > tl.x and abs(tl.y - tr.y) <= y_tol: # Find bottom left for bl in locators: if bl.y > tl.y and abs(tl.x - bl.x) <= x_tol: yield tl, tr, bl yubioath-desktop-3.0.1/yubioath/gui/__main__.py0000664000175000017500000002313112726252010021357 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from PySide import QtGui, QtCore from yubioath import __version__ as version from yubioath.gui.view.ccid_disabled import CcidDisabledDialog from yubioath.yubicommon import qt from ..cli.keystore import CONFIG_HOME try: from ..core.legacy_otp import ykpers_version except ImportError: ykpers_version = 'None' from ..core.utils import kill_scdaemon from ..core.exc import NoSpaceError from . import messages as m from .controller import GuiController from .ccid import CardStatus from .view.systray import Systray from .view.codes import CodesWidget from .view.settings import SettingsDialog from .view.add_cred import AddCredDialog from .view.add_cred_legacy import AddCredDialog as AddCredLegacyDialog from .view.set_password import SetPasswordDialog import sys import os import signal import argparse ABOUT_TEXT = """

%s

%s
%s

%s

%%s

""" % (m.app_name, m.copyright, m.version_1, m.libraries) class MainWidget(QtGui.QStackedWidget): def __init__(self, controller): super(MainWidget, self).__init__() self._controller = controller self._build_ui() controller.refreshed.connect(self._refresh) controller.ccid_disabled.connect(self.ccid_disabled) controller.watcher.status_changed.connect(self._set_status) def ccid_disabled(self): if not self._controller.mute_ccid_disabled_warning: dialog = CcidDisabledDialog() dialog.exec_() if dialog.do_not_ask_again.isChecked(): self._controller.mute_ccid_disabled_warning = 1 def showEvent(self, event): event.accept() def _build_ui(self): self.codes_widget = CodesWidget(self._controller) self.no_key_widget = QtGui.QLabel(m.no_key) self.no_key_widget.setAlignment(QtCore.Qt.AlignCenter) self.addWidget(self.no_key_widget) self.addWidget(self.codes_widget) def _refresh(self): if self._controller.credentials is None: self.setCurrentIndex(0) else: self.setCurrentIndex(1) def _set_status(self, status): if status == CardStatus.NoCard: self.no_key_widget.setText(m.no_key) elif status == CardStatus.InUse: self.no_key_widget.setText(m.key_busy) elif status == CardStatus.Present: self.no_key_widget.setText(m.key_present) class YubiOathApplication(qt.Application): def __init__(self, args): super(YubiOathApplication, self).__init__(m, version) QtCore.QCoreApplication.setOrganizationName(m.organization) QtCore.QCoreApplication.setOrganizationDomain(m.domain) QtCore.QCoreApplication.setApplicationName(m.app_name) self.ensure_singleton() self._widget = None self.settings = qt.Settings.wrap( os.path.join(CONFIG_HOME, 'settings.ini'), QtCore.QSettings.IniFormat) self._settings = self.settings.get_group('settings') self._controller = GuiController(self, self._settings) self._systray = Systray(self) self._init_systray(args.tray or self._settings.get('systray', False)) self._init_window(not args.tray) def _init_systray(self, show=False): self._systray.setIcon(QtGui.QIcon(':/yubioath.png')) self._systray.setVisible(show) def _init_window(self, show=True): self.window.setWindowTitle(m.win_title_1 % self.version) self.window.setWindowIcon(QtGui.QIcon(':/yubioath.png')) self.window.resize(self._settings.get('size', QtCore.QSize(320, 340))) self._build_menu_bar() self.window.showEvent = self._on_shown self.window.closeEvent = self._on_closed self.window.hideEvent = self._on_hide if show: self.window.show() self.window.raise_() def _build_menu_bar(self): file_menu = self.window.menuBar().addMenu(m.menu_file) self._add_action = QtGui.QAction(m.action_add, file_menu) self._add_action.triggered.connect(self._add_credential) file_menu.addAction(self._add_action) self._password_action = QtGui.QAction(m.action_password, file_menu) self._password_action.triggered.connect(self._change_password) self._password_action.setEnabled(False) file_menu.addAction(self._password_action) settings_action = QtGui.QAction(m.action_settings, file_menu) settings_action.triggered.connect(self._show_settings) file_menu.addAction(settings_action) file_menu.addSeparator() quit_action = QtGui.QAction(m.action_quit, file_menu) quit_action.triggered.connect(self._systray.quit) file_menu.addAction(quit_action) help_menu = self.window.menuBar().addMenu(m.menu_help) about_action = QtGui.QAction(m.action_about, help_menu) about_action.triggered.connect(self._about) help_menu.addAction(about_action) self._controller.refreshed.connect(self._refresh_menu) def _refresh_menu(self): enabled = bool(self._controller._reader) self._password_action.setEnabled(enabled) def _on_shown(self, event): if self._settings.get('kill_scdaemon', False): kill_scdaemon() if not self._widget: self._widget = MainWidget(self._controller) self.window.setCentralWidget(self._widget) self._controller.refresh_codes() event.accept() def _on_hide(self, event): self._controller.forget_passwords() event.accept() def _on_closed(self, event): self._settings['size'] = self.window.size() if self._systray.isVisible(): # Unless move is called the position isn't saved! self.window.move(self.window.pos()) self.window.hide() event.ignore() else: event.accept() def _libversions(self): return 'ykpers: %s' % ykpers_version def _about(self): QtGui.QMessageBox.about(self.window, m.about_1 % m.app_name, ABOUT_TEXT % (self.version, self._libversions())) def _add_credential(self): c = self._controller.get_capabilities() if c.ccid: dialog = AddCredDialog(self.worker, c.version, self._controller.get_entry_names(), parent=self.window) if dialog.exec_(): if not self._controller._reader: QtGui.QMessageBox.critical( self.window, m.key_removed, m.key_removed_desc) else: try: self._controller.add_cred( dialog.name, dialog.key, oath_type=dialog.oath_type, digits=dialog.n_digits, require_touch=dialog.require_touch) except NoSpaceError: QtGui.QMessageBox.critical(self.window, m.no_space, m.no_space_desc) elif c.otp: dialog = AddCredLegacyDialog(self.worker, c.otp, parent=self.window) if dialog.exec_(): self._controller.add_cred_legacy(dialog.slot, dialog.key, dialog.touch) key = 'slot%d' % dialog.slot self._settings[key] = dialog.n_digits self._controller.refresh_codes() else: QtGui.QMessageBox.critical(self.window, 'No key', 'No key') def _change_password(self): dialog = SetPasswordDialog(self.window) if dialog.exec_(): if not self._controller._reader: QtGui.QMessageBox.critical( self.window, m.key_removed, m.key_removed_desc) else: self._controller.set_password(dialog.password, dialog.remember) def _show_settings(self): if SettingsDialog(self.window, self._settings).exec_(): self._systray.setVisible(self._settings.get('systray', False)) self._controller.settings_changed() def parse_args(): parser = argparse.ArgumentParser(description='Yubico Authenticator', add_help=True) parser.add_argument('-t', '--tray', action='store_true', help='starts ' 'the application minimized to the systray') return parser.parse_args() def main(): signal.signal(signal.SIGINT, signal.SIG_DFL) app = YubiOathApplication(parse_args()) sys.exit(app.exec_()) if __name__ == '__main__': main() yubioath-desktop-3.0.1/yubioath/gui/__init__.py0000664000175000017500000000234412660613711021407 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from . import qt_resources yubioath-desktop-3.0.1/yubioath/gui/view/0000775000175000017500000000000012727513332020247 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/gui/view/get_password.py0000664000175000017500000000422112660613711023317 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from yubioath.yubicommon import qt from .. import messages as m from PySide import QtGui class GetPasswordDialog(qt.Dialog): def __init__(self, parent=None): super(GetPasswordDialog, self).__init__(parent) self.setWindowTitle(m.pass_required) layout = QtGui.QFormLayout(self) self._pwd_field = QtGui.QLineEdit() self._pwd_field.setEchoMode(QtGui.QLineEdit.Password) layout.addRow(m.password, self._pwd_field) self._remember = QtGui.QCheckBox(m.remember) layout.addRow(self._remember) btns = QtGui.QDialogButtonBox(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel) btns.accepted.connect(self.accept) btns.rejected.connect(self.reject) layout.addWidget(btns) @property def password(self): return self._pwd_field.text() @property def remember(self): return self._remember.isChecked() yubioath-desktop-3.0.1/yubioath/gui/view/add_cred.py0000664000175000017500000001500012726252010022332 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from yubioath.yubicommon import qt from ...core.standard import TYPE_TOTP, TYPE_HOTP from ...core.utils import parse_uri from .. import messages as m from ..qrparse import parse_qr_codes from ..qrdecode import decode_qr_data from PySide import QtGui, QtCore from base64 import b32decode import re NAME_VALIDATOR = QtGui.QRegExpValidator(QtCore.QRegExp(r'.{3,}')) class B32Validator(QtGui.QValidator): def __init__(self, parent=None): super(B32Validator, self).__init__(parent) self.partial = re.compile(r'^[ a-z2-7]+$', re.IGNORECASE) def fixup(self, value): unpadded = value.upper().rstrip('=').replace(' ', '') return b32decode(unpadded + '=' * (-len(unpadded) % 8)) def validate(self, value, pos): try: self.fixup(value) return QtGui.QValidator.Acceptable except: if self.partial.match(value): return QtGui.QValidator.Intermediate return QtGui.QValidator.Invalid class AddCredDialog(qt.Dialog): def __init__(self, worker, version, existing_entry_names, parent=None): super(AddCredDialog, self).__init__(parent) self._worker = worker self._version = version self.setWindowTitle(m.add_cred) self._existing_entry_names = existing_entry_names self._build_ui() def _build_ui(self): layout = QtGui.QFormLayout(self) self._qr_btn = QtGui.QPushButton(QtGui.QIcon(':/qr.png'), m.qr_scan) self._qr_btn.clicked.connect(self._scan_qr) layout.addRow(self._qr_btn) self._cred_name = QtGui.QLineEdit() self._cred_name.setValidator(NAME_VALIDATOR) layout.addRow(m.cred_name, self._cred_name) self._cred_key = QtGui.QLineEdit() self._cred_key.setValidator(B32Validator()) layout.addRow(m.cred_key, self._cred_key) layout.addRow(QtGui.QLabel(m.cred_type)) self._cred_type = QtGui.QButtonGroup(self) self._cred_totp = QtGui.QRadioButton(m.cred_totp) self._cred_totp.setProperty('value', TYPE_TOTP) self._cred_type.addButton(self._cred_totp) layout.addRow(self._cred_totp) self._cred_hotp = QtGui.QRadioButton(m.cred_hotp) self._cred_hotp.setProperty('value', TYPE_HOTP) self._cred_type.addButton(self._cred_hotp) layout.addRow(self._cred_hotp) self._cred_totp.setChecked(True) self._n_digits = QtGui.QComboBox() self._n_digits.addItems(['6', '8']) layout.addRow(m.n_digits, self._n_digits) self._require_touch = QtGui.QCheckBox(m.require_touch) # Touch-required support not available before 4.2.6 if self._version >= (4, 2, 6): layout.addRow(self._require_touch) btns = QtGui.QDialogButtonBox(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel) btns.accepted.connect(self._save) btns.rejected.connect(self.reject) layout.addRow(btns) def _do_scan_qr(self, qimage): for qr in parse_qr_codes(qimage): try: data = decode_qr_data(qr) if data.startswith('otpauth://'): return parse_uri(data) except: pass return None def _scan_qr(self): winId = QtGui.QApplication.desktop().winId() qimage = QtGui.QPixmap.grabWindow(winId).toImage() self._worker.post(m.qr_scanning, (self._do_scan_qr, qimage), self._handle_qr) def _handle_qr(self, parsed): if parsed: self._cred_name.setText(parsed['name']) self._cred_key.setText(parsed['secret']) n_digits = parsed.get('digits', '6') self._n_digits.setCurrentIndex(0 if n_digits == '6' else 1) if parsed['type'] == 'totp': self._cred_totp.setChecked(True) else: self._cred_hotp.setChecked(True) else: QtGui.QMessageBox.warning(self, m.qr_not_found, m.qr_not_found_desc) def _entry_exists(self): return self._cred_name.text() in self._existing_entry_names def _confirm_overwrite(self): return QtGui.QMessageBox.question(self, m.overwrite_entry, m.overwrite_entry_desc, QtGui.QMessageBox.Yes | QtGui.QMessageBox.Yes, QtGui.QMessageBox.No) == QtGui.QMessageBox.Yes def _save(self): if not self._cred_name.hasAcceptableInput(): QtGui.QMessageBox.warning(self, m.invalid_name, m.invalid_name_desc) self._cred_name.selectAll() elif not self._cred_key.hasAcceptableInput(): QtGui.QMessageBox.warning(self, m.invalid_key, m.invalid_key_desc) self._cred_key.selectAll() elif self._entry_exists() and not self._confirm_overwrite(): self._cred_key.selectAll() else: self.accept() @property def name(self): return self._cred_name.text() @property def key(self): return self._cred_key.validator().fixup(self._cred_key.text()) @property def oath_type(self): return self._cred_type.checkedButton().property('value') @property def n_digits(self): return int(self._n_digits.currentText()) @property def require_touch(self): return self._require_touch.isChecked() yubioath-desktop-3.0.1/yubioath/gui/view/set_password.py0000664000175000017500000000527012660613711023340 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from yubioath.yubicommon import qt from .. import messages as m from PySide import QtGui class SetPasswordDialog(qt.Dialog): def __init__(self, parent): super(SetPasswordDialog, self).__init__(parent) self.setWindowTitle(m.set_pass) self._build_ui() def _build_ui(self): layout = QtGui.QFormLayout(self) self._new_pass = QtGui.QLineEdit() self._new_pass.setEchoMode(QtGui.QLineEdit.Password) layout.addRow(m.new_pass, self._new_pass) self._ver_pass = QtGui.QLineEdit() self._ver_pass.setEchoMode(QtGui.QLineEdit.Password) layout.addRow(m.ver_pass, self._ver_pass) self._remember = QtGui.QCheckBox(m.remember) layout.addRow(self._remember) btns = QtGui.QDialogButtonBox(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel) btns.accepted.connect(self._save) btns.rejected.connect(self.reject) layout.addRow(btns) def _save(self): if not self._new_pass.text() == self._ver_pass.text(): self._new_pass.setText('') self._ver_pass.setText('') self._new_pass.setFocus() QtGui.QMessageBox.warning(self, m.pass_mismatch, m.pass_mismatch_desc) else: self.accept() @property def password(self): return self._new_pass.text() @property def remember(self): return self._remember.isChecked() yubioath-desktop-3.0.1/yubioath/gui/view/systray.py0000664000175000017500000000460312726252010022332 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from PySide import QtGui from .. import messages as m import sys class Systray(QtGui.QSystemTrayIcon): def __init__(self, parent): super(Systray, self).__init__(parent) self._reason = QtGui.QSystemTrayIcon.ActivationReason.Trigger # Require double-click on OSX since single click opens menu. if sys.platform == 'darwin': self._reason = QtGui.QSystemTrayIcon.ActivationReason.DoubleClick self.activated.connect(self._activated) self._build_menu() def _build_menu(self): menu = QtGui.QMenu() show_action = QtGui.QAction(m.action_show, menu) show_action.triggered.connect(self._show) menu.addAction(show_action) quit_action = QtGui.QAction(m.action_quit, menu) quit_action.triggered.connect(self.quit) menu.addAction(quit_action) self.setContextMenu(menu) def _activated(self, reason): if reason == self._reason: self._show() def _show(self): self.parent().window.show() self.parent().window.activateWindow() self.parent().window.raise_() def quit(self): self.hide() self.parent().window.close() yubioath-desktop-3.0.1/yubioath/gui/view/ccid_disabled.py0000664000175000017500000000145312677232746023370 0ustar daindain00000000000000from PySide.QtGui import QCheckBox, QGridLayout, QLabel, \ QDialogButtonBox from yubioath.gui.messages import ccid_disabled from yubioath.yubicommon.qt import Dialog ENABLE_CCID_URL = 'http://yubi.co/modeswitch' class CcidDisabledDialog(Dialog): def __init__(self, parent=None): super(CcidDisabledDialog, self).__init__() self.setWindowTitle("CCID disabled") self.do_not_ask_again = QCheckBox('Do not ask this again') label = QLabel(ccid_disabled % ENABLE_CCID_URL, openExternalLinks=True) layout = QGridLayout(self) layout.addWidget(label, 1, 1) layout.addWidget(self.do_not_ask_again, 2, 1) buttonBox = QDialogButtonBox(QDialogButtonBox.Ok) buttonBox.accepted.connect(self.close) layout.addWidget(buttonBox, 3, 1) yubioath-desktop-3.0.1/yubioath/gui/view/settings.py0000664000175000017500000001204312677232746022474 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from yubioath.yubicommon import qt from .. import messages as m from PySide import QtGui INDENT = 16 class SettingsDialog(qt.Dialog): def __init__(self, parent, settings): super(SettingsDialog, self).__init__(parent) self.settings = settings self.setWindowTitle(m.settings) self.accepted.connect(self._save) self._build_ui() self._reset() def _build_ui(self): layout = QtGui.QFormLayout(self) layout.addRow(self.section(m.ykstd_slots)) # YubiKey slot 1 self._slot1_enabled = QtGui.QCheckBox(m.enable_slot_1 % 1) self._slot1_enabled.setToolTip(m.tt_slot_enabled_1 % 1) layout.addRow(self._slot1_enabled) self._slot1_digits = QtGui.QComboBox() self._slot1_digits.addItems(['6', '8']) self._slot1_enabled.stateChanged.connect(self._slot1_digits.setEnabled) self._slot1_digits.setEnabled(False) self._slot1_digits.setToolTip(m.tt_num_digits) layout.addRow(m.n_digits, self._slot1_digits) layout.labelForField(self._slot1_digits).setIndent(INDENT) # YubiKey slot 2 self._slot2_enabled = QtGui.QCheckBox(m.enable_slot_1 % 2) self._slot2_enabled.setToolTip(m.tt_slot_enabled_1 % 2) layout.addRow(self._slot2_enabled) self._slot2_digits = QtGui.QComboBox() self._slot2_digits.addItems(['6', '8']) self._slot2_enabled.stateChanged.connect(self._slot2_digits.setEnabled) self._slot2_digits.setEnabled(False) self._slot2_digits.setToolTip(m.tt_num_digits) layout.addRow(m.n_digits, self._slot2_digits) layout.labelForField(self._slot2_digits).setIndent(INDENT) layout.addRow(self.section(m.advanced)) # Systray self._systray = QtGui.QCheckBox(m.enable_systray) self._systray.setToolTip(m.tt_systray) layout.addRow(self._systray) # Kill scdaemon self._kill_scdaemon = QtGui.QCheckBox(m.kill_scdaemon) self._kill_scdaemon.setToolTip(m.tt_kill_scdaemon) layout.addRow(self._kill_scdaemon) # Reader name self._reader_name = QtGui.QLineEdit() self._reader_name.setToolTip(m.tt_reader_name) layout.addRow(m.reader_name, self._reader_name) btns = QtGui.QDialogButtonBox(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel) btns.accepted.connect(self.accept) btns.rejected.connect(self.reject) layout.addRow(btns) def _reset(self): slot1 = self.settings.get('slot1', 0) self._slot1_digits.setCurrentIndex(1 if slot1 == 8 else 0) self._slot1_enabled.setChecked(bool(slot1)) slot2 = self.settings.get('slot2', 0) self._slot2_digits.setCurrentIndex(1 if slot2 == 8 else 0) self._slot2_enabled.setChecked(bool(slot2)) self._systray.setChecked(self.settings.get('systray', False)) self._kill_scdaemon.setChecked( self.settings.get('kill_scdaemon', False)) self._reader_name.setText(self.settings.get('reader', 'Yubikey')) @property def slot1(self): return self._slot1_enabled.isChecked() \ and int(self._slot1_digits.currentText()) @property def slot2(self): return self._slot2_enabled.isChecked() \ and int(self._slot2_digits.currentText()) @property def systray(self): return self._systray.isChecked() @property def kill_scdaemon(self): return self._kill_scdaemon.isChecked() @property def reader_name(self): return self._reader_name.text() def _save(self): self.settings['slot1'] = self.slot1 self.settings['slot2'] = self.slot2 self.settings['systray'] = self.systray self.settings['kill_scdaemon'] = self.kill_scdaemon self.settings['reader'] = self.reader_name yubioath-desktop-3.0.1/yubioath/gui/view/add_cred_legacy.py0000664000175000017500000001235712677232746023715 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from yubioath.yubicommon import qt from .add_cred import B32Validator from .. import messages as m from ..qrparse import parse_qr_codes from ..qrdecode import decode_qr_data from ...core.utils import parse_uri from PySide import QtGui from base64 import b32decode class AddCredDialog(qt.Dialog): def __init__(self, worker, otp_slots=(0, 0), url=None, parent=None): super(AddCredDialog, self).__init__(parent) self.setWindowTitle(m.add_cred) self._worker = worker self._slot_status = otp_slots self._build_ui() def _build_ui(self): layout = QtGui.QFormLayout(self) self._qr_btn = QtGui.QPushButton(QtGui.QIcon(':/qr.png'), m.qr_scan) self._qr_btn.clicked.connect(self._scan_qr) layout.addRow(self._qr_btn) self._cred_key = QtGui.QLineEdit() self._cred_key.setValidator(B32Validator()) layout.addRow(m.cred_key, self._cred_key) layout.addRow(QtGui.QLabel(m.slot)) self._slot = QtGui.QButtonGroup(self) slot1_status = m.in_use if self._slot_status[0] else m.free self._slot_1 = QtGui.QRadioButton(m.slot_2 % (1, slot1_status)) self._slot_1.setProperty('value', 1) self._slot.addButton(self._slot_1) layout.addRow(self._slot_1) slot2_status = m.in_use if self._slot_status[1] else m.free self._slot_2 = QtGui.QRadioButton(m.slot_2 % (2, slot2_status)) self._slot_2.setProperty('value', 2) self._slot.addButton(self._slot_2) layout.addRow(self._slot_2) self._touch = QtGui.QCheckBox(m.require_touch) layout.addRow(self._touch) self._n_digits = QtGui.QComboBox() self._n_digits.addItems(['6', '8']) layout.addRow(m.n_digits, self._n_digits) btns = QtGui.QDialogButtonBox(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel) btns.accepted.connect(self._save) btns.rejected.connect(self.reject) layout.addRow(btns) def _save(self): if not self._cred_key.hasAcceptableInput(): QtGui.QMessageBox.warning(self, m.invalid_key, m.invalid_key_desc) self._cred_key.selectAll() elif not self._slot.checkedButton(): QtGui.QMessageBox.warning(self, m.no_slot, m.no_slot_desc) elif self._slot_status[self.slot - 1] \ and QtGui.QMessageBox.Ok != QtGui.QMessageBox.warning( self, m.overwrite_slot, m.overwrite_slot_desc_1 % self.slot, QtGui.QMessageBox.Ok | QtGui.QMessageBox.Cancel): return else: self.accept() def _do_scan_qr(self, qimage): for qr in parse_qr_codes(qimage): try: data = decode_qr_data(qr) if data.startswith('otpauth://'): return parse_uri(data) except: pass return None def _scan_qr(self): winId = QtGui.QApplication.desktop().winId() qimage = QtGui.QPixmap.grabWindow(winId).toImage() self._worker.post(m.qr_scanning, (self._do_scan_qr, qimage), self._handle_qr) def _handle_qr(self, parsed): if parsed: if parsed['type'] != 'totp': QtGui.QMessageBox.warning(self, m.qr_not_supported, m.qr_not_supported_desc) else: self._cred_key.setText(parsed['secret']) n_digits = parsed.get('digits', '6') self._n_digits.setCurrentIndex(0 if n_digits == '6' else 1) else: QtGui.QMessageBox.warning(self, m.qr_not_found, m.qr_not_found_desc) @property def key(self): unpadded = self._cred_key.text().upper() return b32decode(unpadded + '=' * (-len(unpadded) % 8)) @property def slot(self): return self._slot.checkedButton().property('value') @property def touch(self): return self._touch.isChecked() @property def n_digits(self): return int(self._n_digits.currentText()) yubioath-desktop-3.0.1/yubioath/gui/view/codes.py0000664000175000017500000002064012726252010021710 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from PySide import QtGui, QtCore from .. import messages as m from ...core.standard import TYPE_TOTP, TYPE_HOTP from yubioath.yubicommon.qt.utils import connect_once from time import time TIMELEFT_STYLE = """ QProgressBar { padding: 1px; } QProgressBar::chunk { background-color: #2196f3; margin: 0px; width: 1px; } """ class TimeleftBar(QtGui.QProgressBar): expired = QtCore.Signal() def __init__(self): super(TimeleftBar, self).__init__() self.setStyleSheet(TIMELEFT_STYLE) self.setMaximumHeight(8) self.setInvertedAppearance(True) self.setRange(0, 30000) self.setValue(0) self.setTextVisible(False) self._timer = 0 self._timeleft = 0 def set_timeleft(self, millis): self._timeleft = max(0, millis) self.setValue(min(millis, self.maximum())) if self._timer == 0 and millis > 0: self._timer = self.startTimer(250) elif self._timer != 0 and millis <= 0: self.killTimer(self._timer) self._timer = 0 def timerEvent(self, event): self.set_timeleft(max(0, self._timeleft - 250)) if self._timeleft == 0: self.expired.emit() class CodeMenu(QtGui.QMenu): def __init__(self, parent): super(CodeMenu, self).__init__(parent) self.entry = parent.entry self.addAction(m.action_delete).triggered.connect(self._delete) def _delete(self): res = QtGui.QMessageBox.warning(self, m.delete_title, m.delete_desc_1 % self.entry.cred.name, QtGui.QMessageBox.Ok, QtGui.QMessageBox.Cancel) if res == QtGui.QMessageBox.Ok: self.entry.delete() class Code(QtGui.QWidget): def __init__(self, entry, timer, on_change): super(Code, self).__init__() self.entry = entry self.issuer, self.name = self._split_issuer_name() self._on_change = on_change self.entry.changed.connect(self._draw) self.timer = timer self.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) self.customContextMenuRequested.connect(self._menu) self._build_ui() def _build_ui(self): layout = QtGui.QHBoxLayout(self) labels = QtGui.QVBoxLayout() if self.issuer: self._issuer_lbl = QtGui.QLabel(self.issuer) labels.addWidget(self._issuer_lbl) self._code_lbl = QtGui.QLabel() labels.addWidget(self._code_lbl) self._name_lbl = QtGui.QLabel(self.name) labels.addWidget(self._name_lbl) layout.addLayout(labels) layout.addStretch() self._calc_btn = QtGui.QPushButton(QtGui.QIcon(':/calc.png'), None) self._calc_btn.clicked.connect(self._calc) layout.addWidget(self._calc_btn) self._calc_btn.setVisible(self.entry.manual) self._copy_btn = QtGui.QPushButton(QtGui.QIcon(':/copy.png'), None) self._copy_btn.clicked.connect(self._copy) layout.addWidget(self._copy_btn) self.timer.time_changed.connect(self._draw) self._draw() @property def expired(self): code = self.entry.code return code.timestamp + code.ttl <= self.timer.time def _draw(self): if self.expired: name_fmt = '

%s

' else: name_fmt = '

%s

' code = self.entry.code if self.entry.manual and self.entry.cred.oath_type != TYPE_HOTP: self._calc_btn.setEnabled(self.expired) self._code_lbl.setText(name_fmt % (code.code)) self._copy_btn.setEnabled(bool(code.code)) self._on_change() def _copy(self): QtCore.QCoreApplication.instance().clipboard().setText( self.entry.code.code) def _calc(self): if self.entry.manual: self._calc_btn.setDisabled(True) self.entry.calculate() if self.entry.cred.oath_type == TYPE_HOTP: QtCore.QTimer.singleShot( 5000, lambda: self._calc_btn.setEnabled(True)) def _menu(self, pos): CodeMenu(self).popup(self.mapToGlobal(pos)) def _split_issuer_name(self): parts = self.entry.cred.name.split(':', 1) if len(parts) == 2: return parts return None, self.entry.cred.name def mouseDoubleClickEvent(self, event): if event.button() is QtCore.Qt.LeftButton: if (not self.entry.code.code or self.expired) and \ self.entry.manual: def copy_close(): self._copy() self.window().close() connect_once(self.entry.changed, copy_close) self.entry.calculate() else: self._copy() # TODO: Type code out with keyboard? self.window().close() event.accept() class CodesList(QtGui.QWidget): def __init__(self, timer, credentials=[], on_change=None): super(CodesList, self).__init__() layout = QtGui.QVBoxLayout(self) layout.setContentsMargins(0, 0, 0, 0) layout.setSpacing(0) for cred in credentials: layout.addWidget(Code(cred, timer, on_change)) line = QtGui.QFrame() line.setFrameShape(QtGui.QFrame.HLine) line.setFrameShadow(QtGui.QFrame.Sunken) layout.addWidget(line) if not credentials: no_creds = QtGui.QLabel(m.no_creds) no_creds.setAlignment(QtCore.Qt.AlignCenter) layout.addStretch() layout.addWidget(no_creds) layout.addStretch() layout.addStretch() class CodesWidget(QtGui.QWidget): def __init__(self, controller): super(CodesWidget, self).__init__() self._controller = controller controller.refreshed.connect(self.refresh) controller.timer.time_changed.connect(self.refresh_timer) self._build_ui() self.refresh() self.refresh_timer() def _build_ui(self): layout = QtGui.QVBoxLayout(self) self._timeleft = TimeleftBar() layout.addWidget(self._timeleft) self._scroll_area = QtGui.QScrollArea() self._scroll_area.setWidgetResizable(True) self._scroll_area.setHorizontalScrollBarPolicy( QtCore.Qt.ScrollBarAlwaysOff) self._scroll_area.setVerticalScrollBarPolicy( QtCore.Qt.ScrollBarAsNeeded) self._scroll_area.setWidget(QtGui.QWidget()) layout.addWidget(self._scroll_area) def refresh_timer(self, timestamp=None): if timestamp is None: timestamp = self._controller.timer.time if self._controller.has_expiring(timestamp): self._timeleft.set_timeleft(1000 * (timestamp + 30 - time())) else: self._timeleft.set_timeleft(0) def refresh(self): self._scroll_area.takeWidget().deleteLater() creds = self._controller.credentials self._scroll_area.setWidget( CodesList(self._controller.timer, creds or [], self.refresh_timer)) w = self._scroll_area.widget().minimumSizeHint().width() w += self._scroll_area.verticalScrollBar().width() self._scroll_area.setMinimumWidth(w) yubioath-desktop-3.0.1/yubioath/gui/view/__init__.py0000664000175000017500000000231012660613711022352 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. yubioath-desktop-3.0.1/yubioath/yubicommon/0000775000175000017500000000000012727513332020672 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/yubicommon/ctypes/0000775000175000017500000000000012727513332022201 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/yubicommon/ctypes/libloader.py0000664000175000017500000002542012662632273024517 0ustar daindain00000000000000# ---------------------------------------------------------------------------- # Copyright (c) 2008 David James # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in # the documentation and/or other materials provided with the # distribution. # * Neither the name of pyglet nor the names of its # contributors may be used to endorse or promote products # derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # ---------------------------------------------------------------------------- from __future__ import absolute_import import os.path import re import sys import glob import platform import ctypes import ctypes.util def _environ_path(name): if name in os.environ: return os.environ[name].split(":") else: return [] class LibraryLoader(object): def __init__(self): self.other_dirs = [] def load_library(self, libname, version=None): """Given the name of a library, load it.""" paths = self.getpaths(libname) for path in paths: if os.path.exists(path): return self.load(path) raise ImportError("%s not found." % libname) def load(self, path): """Given a path to a library, load it.""" try: # Darwin requires dlopen to be called with mode RTLD_GLOBAL instead # of the default RTLD_LOCAL. Without this, you end up with # libraries not being loadable, resulting in "Symbol not found" # errors if sys.platform == 'darwin': return ctypes.CDLL(path, ctypes.RTLD_GLOBAL) else: return ctypes.cdll.LoadLibrary(path) except OSError as e: raise ImportError(e) def getpaths(self, libname): """Return a list of paths where the library might be found.""" if os.path.isabs(libname): yield libname else: # FIXME / TODO return '.' and os.path.dirname(__file__) for path in self.getplatformpaths(libname): yield path path = ctypes.util.find_library(libname) if path: yield path def getplatformpaths(self, libname): return [] # Darwin (Mac OS X) class DarwinLibraryLoader(LibraryLoader): name_formats = ["lib%s.dylib", "lib%s.so", "lib%s.bundle", "%s.dylib", "%s.so", "%s.bundle", "%s"] def getplatformpaths(self, libname): if os.path.pathsep in libname: names = [libname] else: names = [format % libname for format in self.name_formats] for dir in self.getdirs(libname): for name in names: yield os.path.join(dir, name) def getdirs(self, libname): '''Implements the dylib search as specified in Apple documentation: http://developer.apple.com/documentation/DeveloperTools/Conceptual/ DynamicLibraries/Articles/DynamicLibraryUsageGuidelines.html Before commencing the standard search, the method first checks the bundle's ``Frameworks`` directory if the application is running within a bundle (OS X .app). ''' dyld_fallback_library_path = _environ_path( "DYLD_FALLBACK_LIBRARY_PATH") if not dyld_fallback_library_path: dyld_fallback_library_path = [os.path.expanduser('~/lib'), '/usr/local/lib', '/usr/lib'] dirs = [] if '/' in libname: dirs.extend(_environ_path("DYLD_LIBRARY_PATH")) else: dirs.extend(_environ_path("LD_LIBRARY_PATH")) dirs.extend(_environ_path("DYLD_LIBRARY_PATH")) dirs.extend(self.other_dirs) dirs.append(".") dirs.append(os.path.dirname(__file__)) if hasattr(sys, 'frozen') and sys.frozen == 'macosx_app': dirs.append(os.path.join( os.environ['RESOURCEPATH'], '..', 'Frameworks')) if hasattr(sys, 'frozen'): dirs.append(sys._MEIPASS) dirs.extend(dyld_fallback_library_path) return dirs # Posix class PosixLibraryLoader(LibraryLoader): _ld_so_cache = None def load_library(self, libname, version=None): try: return self.load(ctypes.util.find_library(libname)) except ImportError: return super(PosixLibraryLoader, self).load_library( libname, version) def _create_ld_so_cache(self): # Recreate search path followed by ld.so. This is going to be # slow to build, and incorrect (ld.so uses ld.so.cache, which may # not be up-to-date). Used only as fallback for distros without # /sbin/ldconfig. # # We assume the DT_RPATH and DT_RUNPATH binary sections are omitted. directories = [] for name in ("LD_LIBRARY_PATH", "SHLIB_PATH", # HPUX "LIBPATH", # OS/2, AIX "LIBRARY_PATH", # BE/OS ): if name in os.environ: directories.extend(os.environ[name].split(os.pathsep)) directories.extend(self.other_dirs) directories.append(".") directories.append(os.path.dirname(__file__)) try: directories.extend([dir.strip() for dir in open('/etc/ld.so.conf')]) except IOError: pass unix_lib_dirs_list = ['/lib', '/usr/lib', '/lib64', '/usr/lib64'] if sys.platform.startswith('linux'): # Try and support multiarch work in Ubuntu # https://wiki.ubuntu.com/MultiarchSpec bitage = platform.architecture()[0] if bitage.startswith('32'): # Assume Intel/AMD x86 compat unix_lib_dirs_list += [ '/lib/i386-linux-gnu', '/usr/lib/i386-linux-gnu'] elif bitage.startswith('64'): # Assume Intel/AMD x86 compat unix_lib_dirs_list += [ '/lib/x86_64-linux-gnu', '/usr/lib/x86_64-linux-gnu'] else: # guess... unix_lib_dirs_list += glob.glob('/lib/*linux-gnu') directories.extend(unix_lib_dirs_list) cache = {} lib_re = re.compile(r'lib(.*)\.s[ol]') ext_re = re.compile(r'\.s[ol]$') for dir in directories: try: for path in glob.glob("%s/*.s[ol]*" % dir): file = os.path.basename(path) # Index by filename if file not in cache: cache[file] = path # Index by library name match = lib_re.match(file) if match: library = match.group(1) if library not in cache: cache[library] = path except OSError: pass self._ld_so_cache = cache def getplatformpaths(self, libname): if self._ld_so_cache is None: self._create_ld_so_cache() result = self._ld_so_cache.get(libname) if result: yield result path = ctypes.util.find_library(libname) if path: yield os.path.join("/lib", path) # Windows class _WindowsLibrary(object): def __init__(self, path): self.cdll = ctypes.cdll.LoadLibrary(path) self.windll = ctypes.windll.LoadLibrary(path) def __getattr__(self, name): try: return getattr(self.cdll, name) except AttributeError: try: return getattr(self.windll, name) except AttributeError: raise class WindowsLibraryLoader(LibraryLoader): name_formats = ["%s.dll", "lib%s.dll", "%slib.dll"] def load_library(self, libname, version=None): try: result = LibraryLoader.load_library(self, libname, version) except ImportError: result = None if os.path.sep not in libname: formats = self.name_formats[:] if version: formats.append("lib%%s-%s.dll" % version) for name in formats: try: result = getattr(ctypes.cdll, name % libname) if result: break except WindowsError: result = None if result is None: try: result = getattr(ctypes.cdll, libname) except WindowsError: result = None if result is None: raise ImportError("%s not found." % libname) return result def load(self, path): return _WindowsLibrary(path) def getplatformpaths(self, libname): if os.path.sep not in libname: for name in self.name_formats: dll_in_current_dir = os.path.abspath(name % libname) if os.path.exists(dll_in_current_dir): yield dll_in_current_dir path = ctypes.util.find_library(name % libname) if path: yield path # Platform switching # If your value of sys.platform does not appear in this dict, please contact # the Ctypesgen maintainers. loaderclass = { "darwin": DarwinLibraryLoader, "cygwin": WindowsLibraryLoader, "win32": WindowsLibraryLoader } loader = loaderclass.get(sys.platform, PosixLibraryLoader)() def add_library_search_dirs(other_dirs): loader.other_dirs = other_dirs load_library = loader.load_library del loaderclass yubioath-desktop-3.0.1/yubioath/yubicommon/ctypes/__init__.py0000664000175000017500000000476612726217471024333 0ustar daindain00000000000000# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. from .libloader import load_library __all__ = ['load_library', 'use_library', 'CLibrary'] def use_library(libname, version=None): lib = load_library(libname, version) def define(func_name, argtypes, restype=None): try: f = getattr(lib, func_name) f.argtypes = argtypes f.restype = restype except AttributeError: print("Undefined symbol: %s" % func_name) def error(*args, **kwargs): raise Exception("Undefined symbol: %s" % func_name) f = error return f return define class CLibrary(object): """ Base class for extending to create python wrappers for c libraries. Example: class Foo(CLibrary): foo_func = [c_bool, c_char_p], int foo = Foo('libfoo') assert foo.foo_func(True, 'Hello!') == 7 """ def __init__(self, libname, version=None): self._lib = use_library(libname, version) def __getattribute__(self, name): val = object.__getattribute__(self, name) if isinstance(val, tuple) and len(val) == 2: return self._lib(name, *val) return val yubioath-desktop-3.0.1/yubioath/yubicommon/setup/0000775000175000017500000000000012727513332022032 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/yubicommon/setup/pyinstaller_spec.py0000664000175000017500000001344712723541526025777 0ustar daindain00000000000000# -*- mode: python -*- # -*- encoding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function import os import sys import json import errno import pkg_resources from glob import glob VS_VERSION_INFO = """ VSVersionInfo( ffi=FixedFileInfo( # filevers and prodvers should be always a tuple with four # items: (1, 2, 3, 4) # Set not needed items to zero 0. filevers=%(ver_tup)r, prodvers=%(ver_tup)r, # Contains a bitmask that specifies the valid bits 'flags'r mask=0x0, # Contains a bitmask that specifies the Boolean attributes # of the file. flags=0x0, # The operating system for which this file was designed. # 0x4 - NT and there is no need to change it. OS=0x4, # The general type of file. # 0x1 - the file is an application. fileType=0x1, # The function of the file. # 0x0 - the function is not defined for this fileType subtype=0x0, # Creation date and time stamp. date=(0, 0) ), kids=[ StringFileInfo( [ StringTable( u'040904E4', [StringStruct(u'FileDescription', u'%(name)s'), StringStruct(u'FileVersion', u'%(ver_str)s'), StringStruct(u'InternalName', u'%(internal_name)s'), StringStruct(u'LegalCopyright', u'Copyright © 2015 Yubico'), StringStruct(u'OriginalFilename', u'%(exe_name)s'), StringStruct(u'ProductName', u'%(name)s'), StringStruct(u'ProductVersion', u'%(ver_str)s')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1252])]) ] )""" data = json.loads(os.environ['pyinstaller_data']) try: data = dict((k, v.encode('ascii') if getattr(v, 'encode', None) else v) for k, v in data.items()) except NameError: pass # Python 3, encode not needed. dist = pkg_resources.get_distribution(data['name']) DEBUG = bool(data['debug']) NAME = data['long_name'] WIN = sys.platform in ['win32', 'cygwin'] OSX = sys.platform in ['darwin'] ver_str = dist.version if data['package_version'] > 0: ver_str += '.%d' % data['package_version'] file_ext = '.exe' if WIN else '' if WIN: icon_ext = 'ico' elif OSX: icon_ext = 'icns' else: icon_ext = 'png' ICON = os.path.join('resources', '%s.%s' % (data['name'], icon_ext)) if not os.path.isfile(ICON): ICON = None # Generate scripts from entry_points. merge = [] entry_map = dist.get_entry_map() console_scripts = entry_map.get('console_scripts', {}) gui_scripts = entry_map.get('gui_scripts', {}) for ep in list(gui_scripts.values()) + list(console_scripts.values()): script_path = os.path.join(os.getcwd(), ep.name + '-script.py') with open(script_path, 'w') as fh: fh.write("import %s\n" % ep.module_name) fh.write("%s.%s()\n" % (ep.module_name, '.'.join(ep.attrs))) merge.append( (Analysis([script_path], [dist.location], None, None, None, None), ep.name, ep.name + file_ext) ) MERGE(*merge) # Read version information on Windows. VERSION = None if WIN: VERSION = 'build/file_version_info.txt' global int_or_zero # Needed due to how this script is invoked def int_or_zero(v): try: return int(v) except ValueError: return 0 ver_tup = tuple(int_or_zero(v) for v in ver_str.split('.')) # Windows needs 4-tuple. if len(ver_tup) < 4: ver_tup += (0,) * (4-len(ver_tup)) elif len(ver_tup) > 4: ver_tup = ver_tup[:4] # Write version info. with open(VERSION, 'w') as f: f.write(VS_VERSION_INFO % { 'name': NAME, 'internal_name': data['name'], 'ver_tup': ver_tup, 'ver_str': ver_str, 'exe_name': data['name'] + file_ext }) pyzs = [PYZ(m[0].pure) for m in merge] exes = [] for (a, a_name, a_name_ext), pyz in zip(merge, pyzs): exe = EXE(pyz, a.scripts, exclude_binaries=True, name=a_name_ext, debug=DEBUG, strip=None, upx=True, console=DEBUG or a_name in console_scripts, append_pkg=not OSX, version=VERSION, icon=ICON) exes.append(exe) # Sign the executable if WIN: os.system("signtool.exe sign /fd SHA256 /t http://timestamp.verisign.com/scripts/timstamp.dll \"%s\"" % (exe.name)) collect = [] for (a, _, a_name), exe in zip(merge, exes): collect += [exe, a.binaries, a.zipfiles, a.datas] # Data files collect.append([(os.path.basename(fn), fn, 'DATA') for fn in data['data_files']]) # DLLs, dylibs and executables should go here. collect.append([(fn[4:], fn, 'BINARY') for fn in glob('lib/*')]) coll = COLLECT(*collect, strip=None, upx=True, name=NAME) # Write package version for app to display pversion_fn = os.path.join('dist', NAME, 'package_version.txt') with open(pversion_fn, 'w') as f: f.write(str(data['package_version'])) # Create .app for OSX if OSX: app = BUNDLE(coll, name="%s.app" % NAME, version=ver_str, icon=ICON) qt_conf = 'dist/%s.app/Contents/Resources/qt.conf' % NAME qt_conf_dir = os.path.dirname(qt_conf) try: os.makedirs(qt_conf_dir) except OSError as e: if not (e.errno == errno.EEXIST and os.path.isdir(qt_conf_dir)): raise with open(qt_conf, 'w') as f: f.write('[Path]\nPlugins = plugins') # Create Windows installer if WIN: installer_cfg = 'resources/win-installer.nsi' if os.path.isfile(installer_cfg): os.system('makensis.exe -D"VERSION=%s" %s' % (ver_str, installer_cfg)) installer = "dist/%s-%s-win.exe" % (data['name'], ver_str) os.system("signtool.exe sign /fd SHA256 /t http://timestamp.verisign.com/scripts/timstamp.dll \"%s\"" % (installer)) print("Installer created: %s" % installer) yubioath-desktop-3.0.1/yubioath/yubicommon/setup/qt.py0000664000175000017500000000573612726007767023054 0ustar daindain00000000000000# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. from __future__ import absolute_import from setuptools import Command from distutils.errors import DistutilsSetupError import os __dependencies__ = ['PySide'] __yc_dependencies__ = ['ctypes'] __all__ = ['qt_resources'] class _qt_resources(Command): description = "convert file resources into code" user_options = [] boolean_options = [] _source = 'qt_resources' _target = '' def initialize_options(self): pass def finalize_options(self): self.cwd = os.getcwd() self.source = os.path.join(self.cwd, self._source) self.target = os.path.join(self.cwd, self._target) def _create_qrc(self): qrc = os.path.join(self.source, 'qt_resources.qrc') with open(qrc, 'w') as f: f.write('\n\n') for fname in os.listdir(self.source): f.write('%s\n' % fname) f.write('\n\n') return qrc def run(self): if os.getcwd() != self.cwd: raise DistutilsSetupError("Must be in package root!") qrc = self._create_qrc() self.execute(os.system, ('pyside-rcc -py3 "%s" -o "%s"' % (qrc, self.target),)) os.unlink(qrc) self.announce("QT resources compiled into %s" % self.target) def qt_resources(target, sourcedir='qt_resources'): target = target.replace('.', os.path.sep) if os.path.isdir(target): target = os.path.join(target, 'qt_resources.py') else: target += '.py' return type('qt_resources', (_qt_resources, object), { '_source': sourcedir, '_target': target }) yubioath-desktop-3.0.1/yubioath/yubicommon/setup/exe.py0000664000175000017500000000563312723510620023165 0ustar daindain00000000000000# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. from __future__ import absolute_import from setuptools import Command from distutils.errors import DistutilsSetupError import os import json import tempfile class executable(Command): description = "create an executable" user_options = [ ('debug', None, "build with debug flag"), ('data-files=', None, "data files to include"), ('package-version=', None, "package version") ] boolean_options = ['debug'] def initialize_options(self): self.debug = 0 self.data_files = '' self.package_version = '0' def finalize_options(self): self.cwd = os.getcwd() self.data_files = self.data_files.split() self.package_version = int(self.package_version) def run(self): if os.getcwd() != self.cwd: raise DistutilsSetupError("Must be in package root!") from PyInstaller.__main__ import run as pyinst_run os.environ['pyinstaller_data'] = json.dumps({ 'debug': self.debug, 'name': self.distribution.get_name(), 'long_name': os.environ['setup_long_name'], 'data_files': self.data_files, 'package_version': self.package_version }) spec = tempfile.NamedTemporaryFile(suffix='.spec', delete=False) source = os.path.join(os.path.dirname(__file__), 'pyinstaller_spec.py') with open(source) as f: spec.write(f.read()) spec_name = spec.name spec.close() pyinst_run([spec_name]) os.unlink(spec_name) self.announce("Executable created!") yubioath-desktop-3.0.1/yubioath/yubicommon/setup/__init__.py0000664000175000017500000002161512726007677024161 0ustar daindain00000000000000# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. from __future__ import absolute_import __dependencies__ = [] __all__ = ['get_version', 'setup', 'release'] from setuptools import setup as _setup, find_packages, Command from setuptools.command.sdist import sdist from distutils import log from distutils.errors import DistutilsSetupError from datetime import date from glob import glob import os import re VERSION_PATTERN = re.compile(r"(?m)^__version__\s*=\s*['\"](.+)['\"]$") DEPENDENCY_PATTERN = re.compile( r"(?m)__dependencies__\s*=\s*\[((['\"].+['\"]\s*(,\s*)?)+)\]") YC_DEPENDENCY_PATTERN = re.compile( r"(?m)__yc_dependencies__\s*=\s*\[((['\"].+['\"]\s*(,\s*)?)+)\]") base_module = __name__.rsplit('.', 1)[0] def get_version(module_name_or_file=None): """Return the current version as defined by the given module/file.""" if module_name_or_file is None: parts = base_module.split('.') module_name_or_file = parts[0] if len(parts) > 1 else \ find_packages(exclude=['test', 'test.*'])[0] if os.path.isdir(module_name_or_file): module_name_or_file = os.path.join(module_name_or_file, '__init__.py') with open(module_name_or_file, 'r') as f: match = VERSION_PATTERN.search(f.read()) return match.group(1) def get_dependencies(module): basedir = os.path.dirname(__file__) fn = os.path.join(basedir, module + '.py') if os.path.isfile(fn): with open(fn, 'r') as f: match = DEPENDENCY_PATTERN.search(f.read()) if match: return [s.strip().strip('"\'') for s in match.group(1).split(',')] return [] def get_yc_dependencies(module): basedir = os.path.dirname(__file__) fn = os.path.join(basedir, module + '.py') if os.path.isfile(fn): with open(fn, 'r') as f: match = YC_DEPENDENCY_PATTERN.search(f.read()) if match: return [s.strip().strip('"\'') for s in match.group(1).split(',')] return [] def get_package(module): return base_module + '.' + module def setup(**kwargs): # TODO: Find a better way to pass this to a command. os.environ['setup_long_name'] = kwargs.pop('long_name', kwargs.get('name')) if 'version' not in kwargs: kwargs['version'] = get_version() packages = kwargs.setdefault( 'packages', find_packages(exclude=['test', 'test.*', base_module + '.*'])) packages.append(__name__) install_requires = kwargs.setdefault('install_requires', []) yc_blacklist = kwargs.pop('yc_requires_exclude', []) yc_requires = kwargs.pop('yc_requires', []) yc_requires_stack = yc_requires[:] while yc_requires_stack: yc_module = yc_requires_stack.pop() for yc_dep in get_yc_dependencies(yc_module): if yc_dep not in yc_requires: yc_requires.append(yc_dep) yc_requires_stack.append(yc_dep) for yc_module in yc_requires: packages.append(get_package(yc_module)) for dep in get_dependencies(yc_module): if dep not in install_requires and dep not in yc_blacklist: install_requires.append(dep) cmdclass = kwargs.setdefault('cmdclass', {}) cmdclass.setdefault('release', release) cmdclass.setdefault('build_man', build_man) cmdclass.setdefault('sdist', custom_sdist) return _setup(**kwargs) class custom_sdist(sdist): def run(self): self.run_command('build_man') # Run if available: if 'qt_resources' in self.distribution.cmdclass: self.run_command('qt_resources') sdist.run(self) class build_man(Command): description = "create man pages from asciidoc source" user_options = [] boolean_options = [] def initialize_options(self): pass def finalize_options(self): self.cwd = os.getcwd() self.fullname = self.distribution.get_fullname() self.name = self.distribution.get_name() self.version = self.distribution.get_version() def run(self): if os.getcwd() != self.cwd: raise DistutilsSetupError("Must be in package root!") for fname in glob(os.path.join('man', '*.adoc')): self.announce("Converting: " + fname, log.INFO) self.execute(os.system, ('a2x -d manpage -f manpage "%s"' % fname,)) class release(Command): description = "create and release a new version" user_options = [ ('keyid', None, "GPG key to sign with"), ('skip-tests', None, "skip running the tests"), ('pypi', None, "publish to pypi"), ] boolean_options = ['skip-tests', 'pypi'] def initialize_options(self): self.keyid = None self.skip_tests = 0 self.pypi = 0 def finalize_options(self): self.cwd = os.getcwd() self.fullname = self.distribution.get_fullname() self.name = self.distribution.get_name() self.version = self.distribution.get_version() def _verify_version(self): with open('NEWS', 'r') as news_file: line = news_file.readline() now = date.today().strftime('%Y-%m-%d') if not re.search(r'Version %s \(released %s\)' % (self.version, now), line): raise DistutilsSetupError("Incorrect date/version in NEWS!") def _verify_tag(self): if os.system('git tag | grep -q "^%s\$"' % self.fullname) == 0: raise DistutilsSetupError( "Tag '%s' already exists!" % self.fullname) def _verify_not_dirty(self): if os.system('git diff --shortstat | grep -q "."') == 0: raise DistutilsSetupError("Git has uncommitted changes!") def _sign(self): if os.path.isfile('dist/%s.tar.gz.asc' % self.fullname): # Signature exists from upload, re-use it: sign_opts = ['--output dist/%s.tar.gz.sig' % self.fullname, '--dearmor dist/%s.tar.gz.asc' % self.fullname] else: # No signature, create it: sign_opts = ['--detach-sign', 'dist/%s.tar.gz' % self.fullname] if self.keyid: sign_opts.insert(1, '--default-key ' + self.keyid) self.execute(os.system, ('gpg ' + (' '.join(sign_opts)),)) if os.system('gpg --verify dist/%s.tar.gz.sig' % self.fullname) != 0: raise DistutilsSetupError("Error verifying signature!") def _tag(self): tag_opts = ['-s', '-m ' + self.fullname, self.fullname] if self.keyid: tag_opts[0] = '-u ' + self.keyid self.execute(os.system, ('git tag ' + (' '.join(tag_opts)),)) def run(self): if os.getcwd() != self.cwd: raise DistutilsSetupError("Must be in package root!") self._verify_version() self._verify_tag() self._verify_not_dirty() self.run_command('check') self.execute(os.system, ('git2cl > ChangeLog',)) self.run_command('sdist') if not self.skip_tests: try: self.run_command('test') except SystemExit as e: if e.code != 0: raise DistutilsSetupError("There were test failures!") if self.pypi: cmd_obj = self.distribution.get_command_obj('upload') cmd_obj.sign = True if self.keyid: cmd_obj.identity = self.keyid self.run_command('upload') self._sign() self._tag() self.announce("Release complete! Don't forget to:", log.INFO) self.announce("") self.announce(" git push && git push --tags", log.INFO) self.announce("") yubioath-desktop-3.0.1/yubioath/yubicommon/compat.py0000664000175000017500000000145612676763160022546 0ustar daindain00000000000000"""Compatibility constants and helpers for Python 2.x and 3.x. """ import sys # NB If this module grows to more than a handful of items it is probably # to bite the bullet and depend on the six package. __all__ = [ 'string_types', 'binary_type', 'text_type', 'int2byte', 'byte2int' ] # Needed for isinstance() checks # Same behaviour as six.string_types https://pythonhosted.org/six/#constants if sys.version_info < (3, 0): # Python 2.x _PY2 = True string_types = (basestring,) binary_type = str text_type = unicode else: # Python 3.x _PY2 = False string_types = (str,) binary_type = bytes text_type = str def int2byte(i): if _PY2: return chr(i) return bytes((i,)) def byte2int(i): if _PY2: return ord(i) return i yubioath-desktop-3.0.1/yubioath/yubicommon/qt/0000775000175000017500000000000012727513332021316 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/yubicommon/qt/osx.py0000664000175000017500000000364012726217471022510 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. import ctypes from ..ctypes import CLibrary __all__ = ['app_services'] class ProcessSerialNumber(ctypes.Structure): _fields_ = [('highLongOfPsn', ctypes.c_uint32), ('lowLongOfPSN', ctypes.c_uint32)] class ApplicationServices(CLibrary): ShowHideProcess = [ctypes.POINTER(ProcessSerialNumber), ctypes.c_bool], None GetFrontProcess = [ctypes.POINTER(ProcessSerialNumber)], None def osx_hide(self): """ Hide the window and let the dock icon be able to show the window again. """ psn = ProcessSerialNumber() self.GetFrontProcess(ctypes.byref(psn)) self.ShowHideProcess(ctypes.byref(psn), False) app_services = ApplicationServices('ApplicationServices') yubioath-desktop-3.0.1/yubioath/yubicommon/qt/settings.py0000664000175000017500000001042112662632273023532 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import absolute_import from PySide import QtCore from collections import MutableMapping __all__ = ['Settings', 'PySettings', 'convert_to'] def convert_to(value, target_type): if target_type is list: return [] if value is None else [value] if target_type is int: return 0 if value in ['', 'false', 'False'] else int(value) if target_type is float: return float(value) if target_type is bool: return value not in ['', 'false', 'False'] return value class SettingsGroup(object): def __init__(self, settings, mutex, group): self._settings = settings self._mutex = mutex self._group = group def __getattr__(self, method_name): if hasattr(self._settings, method_name): fn = getattr(self._settings, method_name) def wrapped(*args, **kwargs): try: self._mutex.lock() self._settings.beginGroup(self._group) return fn(*args, **kwargs) finally: self._settings.endGroup() self._mutex.unlock() return wrapped def rename(self, new_name): data = dict((key, self.value(key)) for key in self.childKeys()) self.remove('') self._group = new_name for k, v in data.items(): self.setValue(k, v) def __repr__(self): return 'Group(%s)' % self._group class Settings(QtCore.QObject): def __init__(self, q_settings, wrap=True): super(Settings, self).__init__() self._mutex = QtCore.QMutex(QtCore.QMutex.Recursive) self._wrap = wrap self._q_settings = q_settings def get_group(self, group): g = SettingsGroup(self._q_settings, self._mutex, group) if self._wrap: g = PySettings(g) return g @staticmethod def wrap(*args, **kwargs): return Settings(QtCore.QSettings(*args, **kwargs)) class PySettings(MutableMapping): def __init__(self, settings): self._settings = settings def __getattr__(self, method_name): return getattr(self._settings, method_name) def get(self, key, default=None): val = self._settings.value(key, default) if not isinstance(val, type(default)): val = convert_to(val, type(default)) return val def __getitem__(self, key): return self.get(key) def __setitem__(self, key, value): self._settings.setValue(key, value) def __delitem__(self, key): self._settings.remove(key) def __iter__(self): for key in list(self.keys()): yield key def __len__(self): return len(self._settings.childKeys()) def __contains__(self, key): return self._settings.contains(key) def keys(self): return self._settings.childKeys() def update(self, data): for key, value in list(data.items()): self[key] = value def clear(self): self._settings.remove('') def __repr__(self): return 'PySettings(%s)' % self._settings yubioath-desktop-3.0.1/yubioath/yubicommon/qt/classes.py0000664000175000017500000001341712727512347023340 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import absolute_import from PySide import QtGui, QtCore from .worker import Worker import os import sys import importlib from .. import compat __all__ = ['Application', 'Dialog', 'MutexLocker'] TOP_SECTION = '%s' SECTION = '
%s' class Dialog(QtGui.QDialog): def __init__(self, *args, **kwargs): super(Dialog, self).__init__(*args, **kwargs) self.setWindowFlags(self.windowFlags() ^ QtCore.Qt.WindowContextHelpButtonHint) self._headers = _Headers() @property def headers(self): return self._headers def section(self, title): return self._headers.section(title) class _Headers(object): def __init__(self): self._first = True def section(self, title): if self._first: self._first = False section = TOP_SECTION % title else: section = SECTION % title return QtGui.QLabel(section) class _MainWindow(QtGui.QMainWindow): def __init__(self): super(_MainWindow, self).__init__() self._widget = None def hide(self): if sys.platform == 'darwin': from .osx import app_services app_services.osx_hide() else: super(_MainWindow, self).hide() def customEvent(self, event): event.callback() event.accept() class Application(QtGui.QApplication): _quit = False def __init__(self, m=None, version=None): super(Application, self).__init__(sys.argv) self._determine_basedir() self._read_package_version(version) self.window = _MainWindow() if m: # Run all strings through Qt translation for key in dir(m): if (isinstance(key, compat.string_types) and not key.startswith('_')): setattr(m, key, self.tr(getattr(m, key))) self.worker = Worker(self.window, m) def _determine_basedir(self): if getattr(sys, 'frozen', False): # we are running in a PyInstaller bundle self.basedir = sys._MEIPASS else: # we are running in a normal Python environment top_module_str = __package__.split('.')[0] top_module = importlib.import_module(top_module_str) self.basedir = os.path.dirname(top_module.__file__) def _read_package_version(self, version): if version is None: return pversion_fn = os.path.join(self.basedir, 'package_version.txt') try: with open(pversion_fn, 'r') as f: pversion = int(f.read().strip()) except: pversion = 0 if pversion > 0: version += '.%d' % pversion self.version = version def ensure_singleton(self, name=None): if not name: name = self.applicationName() from PySide import QtNetwork self._l_socket = QtNetwork.QLocalSocket() self._l_socket.connectToServer(name, QtCore.QIODevice.WriteOnly) if self._l_socket.waitForConnected(): self._stop() sys.exit(0) else: self._l_server = QtNetwork.QLocalServer() if not self._l_server.listen(name): QtNetwork.QLocalServer.removeServer(name) self._l_server.listen(name) self._l_server.newConnection.connect(self._show_window) def _show_window(self): self.window.show() self.window.activateWindow() def quit(self): super(Application, self).quit() self._quit = True def _stop(self): worker_thread = self.worker.thread() worker_thread.quit() worker_thread.wait() self.deleteLater() sys.stdout.flush() sys.stderr.flush() def exec_(self): if not self._quit: status = super(Application, self).exec_() else: status = 0 self._stop() return status class MutexLocker(object): """Drop-in replacement for QMutexLocker that can start unlocked.""" def __init__(self, mutex, lock=True): self._mutex = mutex self._locked = False if lock: self.relock() def lock(self, try_lock=False): if try_lock: self._locked = self._mutex.tryLock() else: self._mutex.lock() self._locked = True return self._locked and self or None def relock(self): self.lock() def unlock(self): if self._locked: self._mutex.unlock() def __del__(self): self.unlock() yubioath-desktop-3.0.1/yubioath/yubicommon/qt/utils.py0000664000175000017500000000616112676763154023050 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import absolute_import from PySide import QtCore, QtGui from functools import wraps from inspect import getargspec __all__ = ['get_text', 'get_active_window', 'is_minimized', 'connect_once'] class _DefaultMessages(object): def __init__(self, default_m, m=None): self._defaults = default_m self._m = m def __getattr__(self, method_name): if hasattr(self._m, method_name): return getattr(self._m, method_name) else: return getattr(self._defaults, method_name) def default_messages(_m, name='m'): def inner(fn): @wraps(fn) def wrapper(*args, **kwargs): index = getargspec(fn).args.index(name) if len(args) > index: args = list(args) args[index] = _DefaultMessages(_m, args[index]) else: kwargs[name] = _DefaultMessages(_m, kwargs.get(name)) return fn(*args, **kwargs) return wrapper return inner def get_text(*args, **kwargs): flags = ( QtCore.Qt.WindowTitleHint | QtCore.Qt.WindowSystemMenuHint ) kwargs['flags'] = flags return QtGui.QInputDialog.getText(*args, **kwargs) def get_active_window(): active_win = QtGui.QApplication.activeWindow() if active_win is not None: return active_win wins = [w for w in QtGui.QApplication.topLevelWidgets() if isinstance(w, QtGui.QDialog) and w.isVisible()] if not wins: return QtCore.QCoreApplication.instance().window return wins[0] # TODO: If more than one candidates remain, find best one. def connect_once(signal, slot): def wrapped(*args, **kwargs): signal.disconnect(wrapped) slot(*args, **kwargs) signal.connect(wrapped) def is_minimized(window): """Returns True iff the window is minimized or has been sent to the tray""" return not window.isVisible() or window.isMinimized() yubioath-desktop-3.0.1/yubioath/yubicommon/qt/__init__.py0000664000175000017500000000454512723510530023430 0ustar daindain00000000000000# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. from __future__ import absolute_import from PySide import QtGui from .utils import * from .classes import * from .worker import * from .settings import * import sys import traceback # Font fixes for OSX if sys.platform == 'darwin': from platform import mac_ver mac_version = tuple(int(x) for x in mac_ver()[0].split('.')) if (10, 9) <= mac_version < (10, 10): # Mavericks QtGui.QFont.insertSubstitution('.Lucida Grande UI', 'Lucida Grande') if (10, 10) <= mac_version: # Yosemite QtGui.QFont.insertSubstitution('.Helvetica Neue DeskInterface', 'Helvetica Neue') # Replace excepthook with one that releases the exception to prevent memory # leaks: def excepthook(typ, val, tback): try: traceback.print_exception(typ, val, tback) sys.exc_clear() del sys.last_value del sys.last_traceback del sys.last_type except: pass # Ignore failure here, we're likely shutting down... sys.excepthook = excepthook yubioath-desktop-3.0.1/yubioath/yubicommon/qt/worker.py0000664000175000017500000000732512676763160023221 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import absolute_import from PySide import QtGui, QtCore from functools import partial from os import getenv from .utils import get_active_window, default_messages import traceback class _Messages(object): wait = 'Please wait...' class _Event(QtCore.QEvent): EVENT_TYPE = QtCore.QEvent.Type(QtCore.QEvent.registerEventType()) def __init__(self, callback): super(_Event, self).__init__(_Event.EVENT_TYPE) self._callback = callback def callback(self): self._callback() del self._callback class Worker(QtCore.QObject): _work_signal = QtCore.Signal(tuple) _work_done_0 = QtCore.Signal() @default_messages(_Messages) def __init__(self, window, m): super(Worker, self).__init__() self.window = window self.busy = QtGui.QProgressDialog('', None, 0, 0, window) self.busy.setWindowTitle(m.wait) self.busy.setWindowModality(QtCore.Qt.WindowModal) self.busy.setMinimumDuration(0) self.busy.setWindowFlags(self.busy.windowFlags() ^ QtCore.Qt.WindowContextHelpButtonHint) self.busy.setAutoClose(True) self.work_thread = QtCore.QThread() self.moveToThread(self.work_thread) self.work_thread.start() self._work_signal.connect(self.work) self._work_done_0.connect(self.busy.reset) def post(self, title, fn, callback=None, return_errors=False): self.busy.setLabelText(title) self.busy.adjustPosition(get_active_window()) self.busy.show() self.post_bg(fn, callback, return_errors) def post_bg(self, fn, callback=None, return_errors=False): if isinstance(fn, tuple): fn = partial(fn[0], *fn[1:]) self._work_signal.emit((fn, callback, return_errors)) def post_fg(self, fn): if isinstance(fn, tuple): fn = partial(fn[0], *fn[1:]) event = _Event(fn) QtGui.QApplication.postEvent(self.window, event) @QtCore.Slot(tuple) def work(self, job): QtCore.QThread.msleep(10) # Needed to yield (fn, callback, return_errors) = job try: result = fn() except Exception as e: result = e if getenv('DEBUG'): traceback.print_exc() if not return_errors: def callback(e): raise e if callback: event = _Event(partial(callback, result)) QtGui.QApplication.postEvent(self.window, event) self._work_done_0.emit() yubioath-desktop-3.0.1/yubioath/yubicommon/__init__.py0000664000175000017500000000256212662632273023014 0ustar daindain00000000000000# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. __version__ = '0.1.0' yubioath-desktop-3.0.1/yubioath/cli/0000775000175000017500000000000012727513332017260 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath/cli/keystore.py0000664000175000017500000000515712726252010021477 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. import os import json from binascii import b2a_hex, a2b_hex CONFIG_HOME = os.path.join(os.path.expanduser('~'), '.yubioath') KEY_FILE = os.path.join(CONFIG_HOME, 'keys.json') def get_keystore(): return Keystore(KEY_FILE) def _to_hex(val): return b2a_hex(val).decode('ascii') class Keystore(object): def __init__(self, fname): self.fname = fname self._data = {} if os.path.isfile(fname): with open(fname) as f: try: data = json.load(f) if isinstance(data, dict): self._data = data except ValueError: pass def get(self, id): key = _to_hex(id) if key in self._data: return a2b_hex(self._data[key]) return None def put(self, id, key): if not key: self.delete(id) else: self._data[_to_hex(id)] = _to_hex(key) self._save() def delete(self, id): key = _to_hex(id) if key in self._data: del self._data[key] self._save() def _save(self): directory = os.path.dirname(self.fname) if not os.path.isdir(directory): os.makedirs(directory) with open(self.fname, 'w') as f: json.dump(self._data, f) def clear(self): if os.path.isfile(self.fname): os.remove(self.fname) yubioath-desktop-3.0.1/yubioath/cli/controller.py0000664000175000017500000000615012660613711022015 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from ..core.controller import Controller from ..core.standard import YubiOathCcid from ..core.exc import CardError from getpass import getpass import sys class CliController(Controller): def __init__(self, keystore, save=False): self.keystore = keystore self._save = save def _prompt_touch(self): sys.stderr.write('Touch your YubiKey...\n') def unlock(self, device): key = self.keystore.get(device.id) if key: try: device.unlock(key) except CardError: sys.stderr.write('Incorrect password from file.\n') self.keystore.delete(device.id) while device.locked: pw = getpass('Password: ') key = device.calculate_key(pw) try: device.unlock(key) if self._save: self.keystore.put(device.id, key) sys.stderr.write('Password saved to %s\n' % self.keystore.fname) except CardError: sys.stderr.write('Incorrect password!\n') def set_password(self, ccid_dev, password, remember=False): dev = YubiOathCcid(ccid_dev) key = super(CliController, self).set_password(dev, password) if remember: self.keystore.put(dev.id, key) sys.stderr.write('Password saved to %s\n' % self.keystore.fname) else: self.keystore.delete(dev.id) def add_cred(self, ccid_dev, *args, **kwargs): dev = YubiOathCcid(ccid_dev) super(CliController, self).add_cred(dev, *args, **kwargs) def delete_cred(self, ccid_dev, name): dev = YubiOathCcid(ccid_dev) super(CliController, self).delete_cred(dev, name) def reset_device(self, ccid_dev): dev = YubiOathCcid(ccid_dev) self.keystore.delete(dev.id) super(CliController, self).reset_device(dev) yubioath-desktop-3.0.1/yubioath/cli/__main__.py0000664000175000017500000002324112727512425021356 0ustar daindain00000000000000# PYTHON_ARGCOMPLETE_OK # Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from __future__ import print_function from .. import __version__ from ..core.ccid import open_scard from ..core.standard import TYPE_HOTP, TYPE_TOTP from ..core.utils import parse_uri from ..core.exc import NoSpaceError from .keystore import get_keystore from .controller import CliController from time import time from base64 import b32decode import click import sys def print_creds(results): if not results: click.echo('No credentials found.') return longest = max(len(r[0].name) for r in results) format_str = '{:<%d} {:>10}' % longest for (cred, code) in results: if code is None: if cred.oath_type == TYPE_HOTP: code = '[HOTP credential]' elif cred.touch: code = '[Touch credential]' click.echo(format_str.format(cred.name, code)) CLICK_CONTEXT_SETTINGS = dict( help_option_names=['-h', '--help'] ) def print_version(ctx, param, value): if not value or ctx.resilient_parsing: return click.echo('yubioath {}'.format(__version__)) ctx.exit() @click.group(context_settings=CLICK_CONTEXT_SETTINGS) @click.option('-v', '--version', is_flag=True, callback=print_version, expose_value=False, is_eager=True, help='Prints the version of ' 'the application and exits.') @click.option('-r', '--reader', default='YubiKey', help='Name to match ' 'smartcard reader against (case insensitive).') @click.option('-R', '--remember', is_flag=True, help='Remember any entered ' 'access key for later use.') @click.pass_context def cli(ctx, reader, remember): """ Read OATH one time passwords from a YubiKey. """ ctx.obj['dev'] = open_scard(reader) ctx.obj['controller'] = CliController(get_keystore(), remember) ctx.obj['remember'] = remember @cli.command() @click.argument('query', nargs=-1, required=False) @click.option('-s1', '--slot1', type=int, default=0) @click.option('-s2', '--slot2', type=int, default=0) @click.option('-t', '--timestamp', type=int, default=int(time()) + 5) @click.pass_context def show(ctx, query, slot1, slot2, timestamp): """ Print one or more codes from a YubiKey. """ dev = ctx.obj['dev'] controller = ctx.obj['controller'] creds = controller.read_creds(dev, slot1, slot2, timestamp) if creds is None: ctx.fail('No YubiKey found!') if query: query = ' '.join(query) # Filter based on query. If exact match, show only that result. matched = [] for cred, code in creds: if cred.name == query: matched = [(cred, code)] break if query.lower() in cred.name.lower(): matched.append((cred, code)) # Only calculate Touch/HOTP codes if the credential is singled out. if len(matched) == 1: (cred, code) = matched[0] if not code: if cred.touch: controller._prompt_touch() creds = [(cred, cred.calculate(timestamp))] else: creds = [(cred, code)] else: creds = matched print_creds(creds) @cli.command() @click.argument('key') @click.option('-S', '--destination', type=click.IntRange(0, 2), default=0) @click.option('-N', '--name', required=False, help='Credential name.') @click.option('-A', '--oath-type', type=click.Choice(['totp', 'hotp']), default='totp', help='OATH algorithm.') @click.option('-D', '--digits', type=click.Choice(['6', '8']), default='6', callback=lambda c, p, v: int(v), help='Number of digits.') @click.option('-I', '--imf', type=int, default=0, help='Initial moving factor.') @click.option('-T', '--touch', is_flag=True, help='Require touch.') @click.pass_context def put(ctx, key, destination, name, oath_type, digits, imf, touch): """ Stores a new OATH credential in the YubiKey. """ if key.startswith('otpauth://'): parsed = parse_uri(key) key = parsed['secret'] name = name or parsed.get('name') oath_type = parsed.get('type') digits = digits or int(parsed.get('digits', '6')) imf = imf or int(parsed.get('counter', '0')) digits = digits or 6 unpadded = key.upper() key = b32decode(unpadded + '=' * (-len(unpadded) % 8)) controller = ctx.obj['controller'] if destination == 0: dev = ctx.obj['dev'] or ctx.fail('No YubiKey found!') name = name or click.prompt('Enter a name for the credential') oath_type = TYPE_TOTP if oath_type == 'totp' else TYPE_HOTP try: controller.add_cred(dev, name, key, oath_type, digits=digits, imf=imf, require_touch=touch) except NoSpaceError: ctx.fail('There is not enough space to add another credential on your device.' 'To create free space to add a new credential, delete those you no longer need.') else: controller.add_cred_legacy(destination, key, touch) @cli.command() @click.argument('name') @click.pass_context def delete(ctx, name): """ Deletes a credential from the YubiKey. """ controller = ctx.obj['controller'] if name in ['YubiKey slot 1', 'YubiKey slot 2']: controller.delete_cred_legacy(int(name[-1])) else: dev = ctx.obj['dev'] or ctx.fail('No YubiKey found!') controller.delete_cred(dev, name) click.echo('Credential deleted!') @cli.group() def password(): """ Manage the password used to protect access to the YubiKey. """ @password.command() @click.password_option('-p', '--password') @click.pass_context def set(ctx, password): """ Set a new password. """ dev = ctx.obj['dev'] or ctx.fail('No YubiKey found!') controller = ctx.obj['controller'] remember = ctx.obj['remember'] controller.set_password(dev, password, remember) click.echo('New password set!') @password.command() @click.pass_context def unset(ctx): """ Removes the need to enter a password to access credentials. """ dev = ctx.obj['dev'] or ctx.fail('No YubiKey found!') controller = ctx.obj['controller'] controller.set_password(dev, '') click.echo('Password cleared!') @password.command() @click.pass_context def forget(ctx): controller = ctx.obj['controller'] controller.keystore.clear() @cli.command() @click.option('-f', '--force', is_flag=True, help='Confirm the action without prompting.') @click.pass_context def reset(ctx, force): """ Deletes all stored OATH credentials from non-slot based storage. """ dev = ctx.obj['dev'] or ctx.fail('No YubiKey found!') controller = ctx.obj['controller'] force or click.confirm('WARNING!!! Really delete all non slot-based OATH ' 'credentials from the YubiKey?', abort=True) controller.reset_device(dev) click.echo('The OATH functionality of your YubiKey has been reset.\n') @cli.command(context_settings=dict( ignore_unknown_options=True, allow_extra_args=True )) @click.option('-h', '--help', is_flag=True) @click.pass_context def gui(ctx, help): """ Launches the Yubico Authenticator graphical interface. """ try: import PySide assert PySide except ImportError: ctx.fail('GUI requires PySide to run.') import yubioath.gui.__main__ sys.argv.remove(ctx.command.name) sys.argv[0] = sys.argv[0] + ' ' + ctx.command.name yubioath.gui.__main__.main() def intersects(a, b): return bool(set(a) & set(b)) def main(): commands = list(cli.commands) + CLICK_CONTEXT_SETTINGS['help_option_names'] buf = [sys.argv[0]] rest = sys.argv[1:] found_command = False while rest: first = rest.pop(0) if first in commands: found_command = True break # We have a command, no more processing needed. for p in cli.params: if first in p.opts: # first is an option. buf.append(first) if not p.is_flag and rest: # Has a value. buf.append(rest.pop(0)) break # Restart checking else: # No match, put the argument back and stop. rest.insert(0, first) break if not found_command: # No command found, default to "show". sys.argv = buf + ['show'] + rest try: cli(obj={}) except KeyboardInterrupt: sys.stderr.write('\nInterrupted, exiting.\n') sys.exit(130) if __name__ == '__main__': main() yubioath-desktop-3.0.1/yubioath/cli/__init__.py0000664000175000017500000000231012660613711021363 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. yubioath-desktop-3.0.1/yubioath/cli/unlocker.py0000664000175000017500000000421412660613711021453 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from getpass import getpass from yubioath.core.exc import CardError import sys class CliUnlocker(object): def __init__(self, keystore, save=False): self.keystore = keystore self._save = save def __call__(self, device): key = self.keystore.get(device.id) if key: try: device.unlock(key) except CardError: sys.stderr.write('Incorrect password from file.\n') self.keystore.delete(device.id) while device.locked: pw = getpass('Password: ') key = device.calculate_key(pw) try: device.unlock(key) if self._save: self.keystore.put(device.id, key) sys.stderr.write('Password saved to %s\n' % self.keystore.fname) except CardError: sys.stderr.write('Incorrect password!\n') yubioath-desktop-3.0.1/yubioath/__init__.py0000664000175000017500000000233712727513102020622 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. __version__ = "3.0.1" yubioath-desktop-3.0.1/NEWS0000664000175000017500000000450412727513070015366 0ustar daindain00000000000000* Version 3.0.1 (released 2016-06-13) ** Bugfix release: - Don't import OSX libs outside of OSX. - Packaging related fixes. * Version 3.0.0 (released 2016-06-09) ** Added compatibility with Python 3 (Python 2 is still supported). ** Added support for generating alphanumeric Steam authenticator codes for entries prefixed with "Steam:". ** Added a confirmation dialog box when overwriting entries. ** Added the capability to delete slot-based credentials. ** UX enhancements: split up issuer and name; added larger OTP codes. ** CLI was rewritten using the "click" library. ** CLI gained a "gui" subcommand which launches the full GUI. ** Binaries were renamed (yubioath -> yubioath-gui, yubioath-cli -> yubioath). * Version 2.3.0 (released 2015-11-20) ** Re-schedule timer each time period based on system time to prevent Qt timer drift. ** Clear password memory cache on minimize to prevent accidentally leaving the YubiKey unlocked unattended. ** Support for credentials which require touch (YubiKey 4 only). * Version 2.2.1 (released 2015-08-20) ** Bugfix release: Fix adding credentials via the UI. * Version 2.2.0 (released 2015-08-18) ** Allow spaces in OATH keys. ** Don't crash if smartcard subsystem isn't available. ** Disable systray icon by default. ** Added a flag to start the application minimized to the systray. ** Added the ability to scan QR codes from the screen. * Version 2.1.1 (released 2015-07-02) ** Added man pages. ** Fixed bug with non-CCID YubiKeys not displaying slot-bsed credentials. ** Windows installer/uninstaller checks for running instance, and closes it. * Version 2.1.0 (released 2015-06-26) ** Added setting to kill scdaemon on show, to release the device (GUI only). ** Added the ability to program standard YubiKeys with slot-based TOTP credentials. ** Added functionality to the CLI for programming YubiKeys. ** Added the reset command for wiping a device (CLI only). ** Better handling of composite modes. ** Support non-ascii characters in card reader names. * Version 2.0.2 (released 2015-06-16) ** Minor packaging related fixes. * Version 2.0.1 (released 2015-06-16) ** Minor fixes to platform specific quirks. * Version 2.0.0 (released 2015-06-15) ** Complete rewrite: - Supports all OATH-enabled YubiKeys, including YubiKey Standard. - New overhauled UI. yubioath-desktop-3.0.1/yubioath_desktop.egg-info/0000775000175000017500000000000012727513332021734 5ustar daindain00000000000000yubioath-desktop-3.0.1/yubioath_desktop.egg-info/requires.txt0000664000175000017500000000005412727513331024332 0ustar daindain00000000000000pyscard pycrypto [cli] click [gui] PySide yubioath-desktop-3.0.1/yubioath_desktop.egg-info/entry_points.txt0000664000175000017500000000016212727513331025230 0ustar daindain00000000000000[console_scripts] yubioath = yubioath.cli.__main__:main [gui_scripts] yubioath-gui = yubioath.gui.__main__:main yubioath-desktop-3.0.1/yubioath_desktop.egg-info/top_level.txt0000664000175000017500000000001112727513331024455 0ustar daindain00000000000000yubioath yubioath-desktop-3.0.1/yubioath_desktop.egg-info/PKG-INFO0000664000175000017500000000130612727513331023030 0ustar daindain00000000000000Metadata-Version: 1.1 Name: yubioath-desktop Version: 3.0.1 Summary: Graphical interface for displaying OATH codes with a Yubikey Home-page: https://github.com/Yubico/yubioath-desktop Author: Yubico Open Source Maintainers Author-email: ossmaint@yubico.com License: GPLv3+ Description: UNKNOWN Platform: UNKNOWN Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Development Status :: 4 - Beta Classifier: Environment :: X11 Applications :: Qt Classifier: Intended Audience :: End Users/Desktop Classifier: Topic :: Security :: Cryptography Classifier: Topic :: Utilities yubioath-desktop-3.0.1/yubioath_desktop.egg-info/SOURCES.txt0000664000175000017500000000414212727513331023620 0ustar daindain00000000000000COPYING ChangeLog MANIFEST.in NEWS README setup.py doc/Building_Binaries.adoc doc/osx-compiling.adoc man/yubioath-gui.1 man/yubioath-gui.1.adoc man/yubioath.1 man/yubioath.1.adoc qt_resources/calc.png qt_resources/copy.png qt_resources/qr.png qt_resources/yubioath.png resources/installer_bg.png resources/linux-patch-ccid resources/osx-installer.pkgproj resources/win-installer.nsi resources/yubioath-desktop.icns resources/yubioath-desktop.ico resources/yubioath-desktop.png resources/yubioath.desktop resources/yubioath.xpm yubioath/__init__.py yubioath/cli/__init__.py yubioath/cli/__main__.py yubioath/cli/controller.py yubioath/cli/keystore.py yubioath/cli/unlocker.py yubioath/core/__init__.py yubioath/core/ccid.py yubioath/core/controller.py yubioath/core/exc.py yubioath/core/legacy_ccid.py yubioath/core/legacy_otp.py yubioath/core/standard.py yubioath/core/utils.py yubioath/gui/__init__.py yubioath/gui/__main__.py yubioath/gui/ccid.py yubioath/gui/ccid_poll.py yubioath/gui/controller.py yubioath/gui/keystore.py yubioath/gui/messages.py yubioath/gui/qrdecode.py yubioath/gui/qrparse.py yubioath/gui/qt_resources.py yubioath/gui/view/__init__.py yubioath/gui/view/add_cred.py yubioath/gui/view/add_cred_legacy.py yubioath/gui/view/ccid_disabled.py yubioath/gui/view/codes.py yubioath/gui/view/get_password.py yubioath/gui/view/set_password.py yubioath/gui/view/settings.py yubioath/gui/view/systray.py yubioath/yubicommon/__init__.py yubioath/yubicommon/compat.py yubioath/yubicommon/ctypes/__init__.py yubioath/yubicommon/ctypes/libloader.py yubioath/yubicommon/qt/__init__.py yubioath/yubicommon/qt/classes.py yubioath/yubicommon/qt/osx.py yubioath/yubicommon/qt/settings.py yubioath/yubicommon/qt/utils.py yubioath/yubicommon/qt/worker.py yubioath/yubicommon/setup/__init__.py yubioath/yubicommon/setup/exe.py yubioath/yubicommon/setup/pyinstaller_spec.py yubioath/yubicommon/setup/qt.py yubioath_desktop.egg-info/PKG-INFO yubioath_desktop.egg-info/SOURCES.txt yubioath_desktop.egg-info/dependency_links.txt yubioath_desktop.egg-info/entry_points.txt yubioath_desktop.egg-info/requires.txt yubioath_desktop.egg-info/top_level.txtyubioath-desktop-3.0.1/yubioath_desktop.egg-info/dependency_links.txt0000664000175000017500000000000112727513331026001 0ustar daindain00000000000000 yubioath-desktop-3.0.1/ChangeLog0000664000175000017500000012011612727513327016444 0ustar daindain000000000000002016-06-13 Dain Nilsson * NEWS, yubioath/__init__.py: Update NEWS and version for release. 2016-06-13 Dain Nilsson * vendor/yubicommon: Update yubicommon. 2016-06-13 Dain Nilsson * yubioath/cli/__main__.py: Fix "yubioath gui" command when run fron PyInstaller. 2016-06-13 Dain Nilsson * resources/win-installer.nsi: Fix command names in Windows installer. 2016-06-09 Dain Nilsson * man/yubioath-gui.1.adoc, man/yubioath.1.adoc: Fix headers for man pages. 2016-06-09 Dain Nilsson * yubioath/cli/__main__.py: Minor CLI fixes. 2016-06-09 Dain Nilsson * man/yubioath-cli.1.adoc, man/yubioath-gui.1.adoc, man/yubioath.1.adoc: Update man pages. 2016-06-09 Dag Heyman * NEWS, yubioath/__init__.py: Prepare for release 3.0.0 2016-06-09 Dain Nilsson * NEWS, README, doc/Building_Binaries.adoc: Updated README, moved binary build instructions. 2016-06-09 Dag Heyman * resources/linux-patch-ccid: Try systemd syntax if pcscd restart fails Closes #75 2016-06-09 Dag Heyman * yubioath/core/standard.py: Less general variable name for showing hidden credentials 2016-06-09 Dag Heyman * yubioath/cli/__main__.py, yubioath/gui/messages.py: Better language in no space left-message. 2016-06-09 Dain Nilsson * yubioath/core/legacy_otp.py: Fix indentation issue. 2016-06-09 Dain Nilsson * vendor/yubicommon, yubioath/core/legacy_otp.py: Update yubicommon and refactor ctypes code. 2016-06-08 Dain Nilsson * vendor/yubicommon, yubioath/core/legacy_otp.py: Update yubicommon, switch to use_library. 2016-06-08 Dain Nilsson * vendor/yubicommon: Update yubicommon. 2016-06-08 Dain Nilsson * setup.py: Don't require PySide without gui. 2016-06-08 Dag Heyman * yubioath/gui/view/systray.py: Focus the window when activating from systray 2016-06-08 Dain Nilsson * yubioath/core/standard.py: Hide _hidden credentials. 2016-06-08 Dain Nilsson * yubioath/cli/__main__.py, yubioath/gui/view/codes.py: Revert "Hide credentials with the issuer "_hidden:"." This reverts commit cdfc77e0f35b13fde5a123591d14393d29e67a7f. 2016-06-08 Dain Nilsson * yubioath/core/standard.py: Formatting. 2016-06-08 Dain Nilsson * yubioath/cli/__main__.py, yubioath/gui/view/codes.py: Hide credentials with the issuer "_hidden:". 2016-06-08 Dain Nilsson * yubioath/cli/__main__.py: Launch GUI using "yubioath gui". 2016-06-08 Dain Nilsson * : Merge pull request #84 from Yubico/no-space Handle case when no space left on YubiKey 2016-06-08 Dain Nilsson * yubioath/cli/__main__.py: Default to "show" when no subcommand is given. 2016-06-07 Dain Nilsson * setup.py, yubioath/cli/__main__.py: Use click instead of argparse. 2016-06-07 Dag Heyman * doc/osx-compiling.adoc: Different order in the Swig installation. 2016-06-07 Dag Heyman * doc/osx-compiling.adoc, doc/qt4-8-6-on-osx.patch: 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-03 Dag Heyman * NEWS: Language adjustments in the release notes 2016-06-03 Dag Heyman * : Merge pull request #83 from Yubico/steam-yubikey4-calculation Recalculate codes for Steam credentials 2016-06-03 Dag Heyman * NEWS: Update NEWS for upcoming release 2016-06-03 Dag Heyman * .gitignore: Add lib folder to .gitignore 2016-06-02 Dag Heyman * vendor/yubicommon: Update Yubicommon 2016-05-31 Dag Heyman * : Merge pull request #82 from Yubico/scrolling-as-needed Vertical scrolling when needed 2016-05-31 Dain Nilsson * : Merge pull request #81 from Yubico/split-issuer UX enhancements 2016-05-30 Dag Heyman * yubioath/gui/view/codes.py: Split up issuer and name in the GUI Show issuer and name of entry in two different labels in the GUI. Hide issuer label if no issuer exists in the entry. Closes #73. 2016-05-30 Dag Heyman * yubioath/core/utils.py: Avoid TypeError when checking pids Add string decoding when checking for pids on OS X. A TypeError occured when inserting the Yubikey and the program was running under Python 3. 2016-05-27 Dag Heyman * yubioath/gui/view/add_cred.py: Use deafult Qt dialog in overwrite confirmation When asking for a overwrite-confirmation, instead of creating a new custom QMessageBox, use the default static method for question dialogs as used in other parts of the applicaation. 2016-05-26 Dain Nilsson * : Merge pull request #80 from Yubico/confirm-overwriting Add confirmation when overwriting entries 2016-05-24 Dag Heyman * yubioath/core/standard.py: Send the actual algorithm when shortening the HMAC-SHA256 keys. It was not possible to add new credentials. 2016-05-24 Dag Heyman * vendor/yubicommon: Update Yubicommon. 2016-05-10 Dain Nilsson * yubioath/core/standard.py: Correclty shorten HMAC-SHA256 keys that are too long. 2016-03-31 Dain Nilsson * yubioath/gui/qrparse.py: Remove unneeded cast to float. 2016-03-31 Dain Nilsson * yubioath/gui/qrdecode.py, yubioath/gui/qrparse.py: Ensure consistent division. 2016-03-31 Dain Nilsson * yubioath/core/legacy_otp.py: Python 3 fixes. 2016-03-31 Dain Nilsson * yubioath/gui/qrdecode.py, yubioath/gui/qrparse.py: Fixed QR parsing. 2016-03-31 Dain Nilsson * yubioath/cli/__main__.py, yubioath/cli/keystore.py, yubioath/core/ccid.py, yubioath/core/legacy_ccid.py, yubioath/core/legacy_otp.py, yubioath/core/standard.py, yubioath/core/utils.py, yubioath/gui/controller.py: Python 3 fixes. 2016-03-31 Dain Nilsson * yubioath/core/standard.py: Calculate Steam Guard codes for credentials with Steam: prefix. 2016-03-31 Dain Nilsson * yubioath/core/utils.py: Fix windows regex for PID. 2016-03-31 Dain Nilsson * yubioath/gui/controller.py: Suppress unused variable warning. 2016-03-31 Dain Nilsson * yubioath/cli/__main__.py, yubioath/core/controller.py, yubioath/core/legacy_otp.py, yubioath/gui/controller.py: Implement deletion of slot based credentials. 2016-03-31 Dain Nilsson * yubioath/core/utils.py, yubioath/gui/messages.py: Made CCID disabled detection not rely on pyusb. 2016-03-31 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-12-02 Dain Nilsson * vendor/yubicommon, yubioath/gui/__main__.py: Allow package version. 2015-11-20 Dain Nilsson * resources/osx-installer.pkgproj, resources/osx-patch-ccid: Remove osx-patch-ccid (use ifd-yubico instead). 2015-11-20 Dain Nilsson * NEWS, yubioath/__init__.py: Prepare for release. 2015-11-19 Dain Nilsson * NEWS, yubioath/__init__.py: Update version and NEWS. 2015-11-19 Dain Nilsson * yubioath/gui/__main__.py, yubioath/gui/controller.py, yubioath/gui/view/add_cred.py: Support programming touch credentials in GUI. 2015-11-19 Dain Nilsson * yubioath/gui/view/codes.py: Fix double-click to calculate, copy, and close. 2015-11-19 Dain Nilsson * yubioath/gui/controller.py: Handle touch HOTP. 2015-11-19 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/view/codes.py: Better support for touch credentials and HOTP. 2015-11-18 Dain Nilsson * yubioath/core/controller.py, yubioath/core/legacy_otp.py, yubioath/gui/controller.py, yubioath/gui/view/codes.py: Initial support for touch credentials in GUI. 2015-11-19 Dain Nilsson * yubioath/core/controller.py, yubioath/core/legacy_otp.py: Improved handing of OTP credentials. 2015-11-18 Dain Nilsson * yubioath/cli/__main__.py, yubioath/core/ccid.py, yubioath/core/legacy_otp.py, yubioath/core/standard.py: Added support for touch credentials to CLI. 2015-11-16 Dain Nilsson * NEWS, yubioath/gui/__main__.py, yubioath/gui/controller.py, yubioath/gui/keystore.py: Clear password cache on hide. 2015-11-13 Dain Nilsson * vendor/yubicommon: Update yubicommon. 2015-10-13 Henrik Stråth * : Merge pull request #56 from jsha/patch-1 Correct typo in source build instructions 2015-10-12 Dain Nilsson * NEWS, yubioath/gui/controller.py: Fixed issue with timer drift. 2015-10-05 Dain Nilsson * NEWS, vendor/yubicommon, yubioath/__init__.py: Updated yubicommon and bumped version. 2015-10-05 Dain Nilsson * yubioath/cli/__main__.py: Test for exact match when filtering. 2015-10-05 Dain Nilsson * man/yubioath-cli.1.adoc, yubioath/cli/__main__.py: Default to 6 digits if not specified (CLI). 2015-10-05 Dain Nilsson * man/yubioath-cli.1.adoc: Fix typo in man page. 2015-09-29 Dain Nilsson * : Merge pull request #52 from Yubico/ccid-disabled-warning Added warning dialog when YK with CCID disabled is inserted 2015-09-16 Henrik Stråth * yubioath/core/utils.py, yubioath/gui/__main__.py, yubioath/gui/controller.py, yubioath/gui/utils.py, yubioath/gui/view/dialogs.py: Added warning dialog when YK with CCID disabled is inserted 2015-09-11 Henrik Stråth * .gitignore: Added entry to .gitignore 2015-09-10 Henrik Stråth * README: Mentioned minimal OS X version in README 2015-08-21 Dain Nilsson * yubioath/core/utils.py: Unquote otpauth URLs (fixes #44). 2015-08-21 Henrik Stråth * README: Screenshot replaced by usage.gif 2015-08-20 Dain Nilsson * setup.py, vendor/yubicommon: Updated yubicommon. 2015-08-20 Dain Nilsson * setup.py, vendor/yubicommon: Updated yubicommon. 2015-08-20 Dain Nilsson * NEWS, yubioath/__init__.py: Updated NEWS for release. 2015-08-20 Dain Nilsson * yubioath/core/utils.py: Handle whitespace surrounding OTP URL. 2015-08-20 Dain Nilsson * yubioath/__init__.py, yubioath/gui/view/add_cred.py: Fix not decoding secrets from base32. 2015-08-19 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-08-18 Dain Nilsson * : Merge pull request #42 from pelme/patch-1 Fix typo in README 2015-08-18 Dain Nilsson * NEWS, yubioath/__init__.py: Updated NEWS and version for release. 2015-08-18 Dain Nilsson * vendor/yubicommon, yubioath/gui/messages.py: Updated yubicommon. 2015-08-18 Andreas Pelme * README: Fix typo in README 2015-08-17 Dain Nilsson * README: Added note about CCID mode in README. 2015-08-17 Dain Nilsson * yubioath/gui/messages.py, yubioath/gui/view/add_cred.py, yubioath/gui/view/add_cred_legacy.py: Added QR icon. 2015-08-17 Dain Nilsson * yubioath/gui/qrparse.py: Rewrote QR code parsing. 2015-08-14 Dain Nilsson * NEWS: Updated NEWS. 2015-08-14 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-08-14 Dain Nilsson * yubioath/gui/__main__.py, yubioath/gui/messages.py, yubioath/gui/qrparse.py, yubioath/gui/view/add_cred.py, yubioath/gui/view/add_cred_legacy.py: Added initial support for scanning QR codes. 2015-08-14 Dain Nilsson * yubioath/gui/qrdecode.py, yubioath/gui/qrparse.py: Added QR parsing/decoding. 2015-08-06 Dain Nilsson * NEWS, yubioath/gui/__main__.py: Added option to start minimized to tray (fixes #34). 2015-08-06 Dain Nilsson * NEWS, yubioath/gui/__main__.py, yubioath/gui/view/settings.py: Make systray icon diabled by default. 2015-08-06 Dain Nilsson * resources/osx-patch-ccid: Made osx-patch-ccid fail gracefully. Throwing an exception causes the installer to fail, which we don't want. 2015-08-06 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-08-06 Dain Nilsson * NEWS: Updated NEWS. 2015-08-06 Dain Nilsson * vendor/yubicommon: Updated yubicommon to enable executable builds again. 2015-08-06 Dain Nilsson * yubioath/gui/ccid.py: Don't crash of PC/SC isn't available. 2015-08-06 Dain Nilsson * scripts/yubioath, scripts/yubioath-cli, setup.py, yubioath/cli/__main__.py, yubioath/cli/main.py, yubioath/gui/__main__.py, yubioath/gui/main.py: Use entry_points instead of scripts. 2015-08-05 Dain Nilsson * yubioath/gui/messages.py, yubioath/gui/view/settings.py: Added tooltips to settings fields. 2015-07-02 Dain Nilsson * NEWS, yubioath/__init__.py: Bumped version. 2015-07-02 Dain Nilsson * yubioath/gui/view/add_cred.py: Permit (but ignore) spaces in keys (fixes #33). 2015-07-02 Dain Nilsson * .gitignore, man/yubioath.1.adoc: man page formatting. 2015-07-02 Dain Nilsson * NEWS, yubioath/__init__.py: Updated NEWS and version for release. 2015-07-02 Dain Nilsson * resources/win-installer.nsi: Nicer close. 2015-07-02 Dain Nilsson * resources/win-installer.nsi: Kill process in installer and uninstaller (fixes #30). 2015-07-02 Dain Nilsson * NEWS, yubioath/core/controller.py: Fix bug with non-CCId devices (fixes #32). 2015-07-01 Dain Nilsson * yubioath/cli/main.py: Added --version to CLI. 2015-07-01 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-06-30 Dain Nilsson * man/yubioath-cli.1.adoc: man page fixes. 2015-06-30 Dain Nilsson * man/yubioath-cli.1.adoc: Man page formatting. 2015-06-30 Dain Nilsson * .gitignore, MANIFEST.in, man/yubioath-cli.1.adoc, man/yubioath.1.adoc, scripts/yubioath-cli.1.adoc, scripts/yubioath.1.adoc, vendor/yubicommon: Moved man files. 2015-06-30 Dain Nilsson * scripts/yubioath-cli.1.adoc, scripts/yubioath-cli.adoc, scripts/yubioath.1.adoc, scripts/yubioath.adoc: Rename mans. 2015-06-30 Dain Nilsson * NEWS: Updated NEWS. 2015-06-30 Dain Nilsson * scripts/yubioath-cli.adoc, scripts/yubioath.adoc: Added man pages. 2015-06-30 Dain Nilsson * .gitignore, MANIFEST.in, setup.py, vendor/yubicommon: Setup for generating man pages from .adoc. 2015-06-26 Dain Nilsson * yubioath/__init__.py: Bump version for development. 2015-06-26 Dain Nilsson * NEWS, yubioath/__init__.py: Prepare for release. 2015-06-26 Dain Nilsson * NEWS: Updated NEWS. 2015-06-24 Dain Nilsson * yubioath/cli/main.py: Added support for specifying digits and imf in CLI. 2015-06-24 Dain Nilsson * yubioath/core/controller.py: Only close device if needed in read_creds. 2015-06-24 Dain Nilsson * yubioath/cli/controller.py, yubioath/cli/main.py, yubioath/core/controller.py: Added reset to CLI. 2015-06-24 Dain Nilsson * yubioath/cli/main.py: Cleaned upp password command. 2015-06-24 Dain Nilsson * yubioath/cli/main.py: save -> remember. 2015-06-24 Dain Nilsson * yubioath/cli/keystore.py, yubioath/cli/main.py: Added option to purge saved passwords. 2015-06-24 Dain Nilsson * yubioath/cli/main.py: Use parent parsers for global options. 2015-06-24 Dain Nilsson * NEWS, yubioath/cli/controller.py, yubioath/cli/main.py: Added set/unset password to CLI. 2015-06-24 Dain Nilsson * yubioath/cli/main.py: Added delete to CLI. 2015-06-24 Dain Nilsson * scripts/yubioath-cli, yubioath/cli/controller.py, yubioath/cli/main.py, yubioath/core/controller.py, yubioath/core/utils.py, yubioath/gui/controller.py: Added put to CLI. 2015-06-22 Dain Nilsson * NEWS, vendor/yubicommon, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/view/codes.py: Improved composite mode handling. 2015-06-22 Dain Nilsson * yubioath/core/legacy_otp.py, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/add_cred.py, yubioath/gui/view/add_cred_legacy.py: Add programming of slots. 2015-06-18 Dain Nilsson * yubioath/core/legacy_otp.py: Read slot status. 2015-06-18 Dain Nilsson * yubioath/core/legacy_otp.py, yubioath/gui/main.py, yubioath/gui/view/add_cred.py: Added API support for programming slot based credentials. 2015-06-18 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/messages.py: Better handling of legacy otp devices. 2015-06-18 Dain Nilsson * yubioath/gui/controller.py: Avoid clearing credentials on refresh for legacy OTP mode. 2015-06-18 Dain Nilsson * NEWS, yubioath/__init__.py: Bumped version. 2015-06-18 Dain Nilsson * yubioath/core/utils.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/settings.py: Added setting to kill scdaemon on show. 2015-06-17 Dain Nilsson * README: Remove TODO. 2015-06-17 Dain Nilsson * resources/win-installer.nsi, vendor/yubicommon, yubioath/__init__.py: Updated yubicommon (closes #27). 2015-06-17 Dain Nilsson * README: Mention rebooting the computer. Remove PPA. 2015-06-16 Henrik Stråth * README: Added screenshot to README 2015-06-16 Dain Nilsson * NEWS: Updated NEWS for new release. 2015-06-16 Dain Nilsson * setup.py, vendor/yubicommon, yubioath/__init__.py: Updated yubicommon. 2015-06-16 Dain Nilsson * NEWS, yubioath/__init__.py: Updated NEWS and version for release. 2015-06-16 Dain Nilsson * yubioath/gui/messages.py, yubioath/gui/view/systray.py: Add a "show" command to systray context menu. 2015-06-16 Dain Nilsson * setup.py, vendor/yubicommon: Updated yubicommon. 2015-06-15 Dain Nilsson * NEWS: Added NEWS for release. 2015-06-15 Dain Nilsson * yubioath/core/ccid.py, yubioath/gui/ccid.py, yubioath/gui/ccid_poll.py, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/codes.py: Handle device in use better. 2015-06-15 Dain Nilsson * yubioath/core/ccid.py, yubioath/core/controller.py, yubioath/gui/ccid.py, yubioath/gui/ccid_poll.py, yubioath/gui/controller.py: Release CCID device between reads and don't read while hidden. 2015-06-15 Dain Nilsson * yubioath/core/ccid.py, yubioath/core/ccid_poll.py, yubioath/gui/ccid.py, yubioath/gui/ccid_poll.py, yubioath/gui/controller.py: Move observing CCID code to gui. 2015-06-15 Dain Nilsson * NEWS, README, yubioath/__init__.py: Fix deps. 2015-06-15 Dain Nilsson * README, resources/linux-patch-ccid: Added instructions for libccid to README. 2015-06-12 Dain Nilsson * resources/yubioath.xpm: Added XPM icon. 2015-06-12 Dain Nilsson * resources/yubioath.desktop, setup.py: Added .desktop file. 2015-06-12 Dain Nilsson * README: Updated README. 2015-06-12 Dain Nilsson * yubioath/gui/view/add_cred.py: Better validation for b32 keys. 2015-06-12 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/main.py: Better handling of password protected keys inserted while minimized. 2015-06-12 Dain Nilsson * yubioath/gui/messages.py, yubioath/gui/view/codes.py: Added confirmation for deletes. 2015-06-12 Dain Nilsson * vendor/yubicommon, yubioath/gui/main.py: Only allow a single running instance. 2015-06-12 Dain Nilsson * yubioath/core/ccid.py, yubioath/gui/controller.py, yubioath/gui/view/codes.py: Only using polling API for Windows. 2015-06-11 Dain Nilsson * README, resources/osx-installer.pkgproj, resources/osx-patch-ccid, vendor/yubicommon: Added osx installer. 2015-06-10 Dain Nilsson * resources/win-installer.nsi: Added NSIS installer script. 2015-06-10 Dain Nilsson * README: Updated README. 2015-06-10 Dain Nilsson * README, README.adoc: Added README.adoc symlink for Github. 2015-06-10 Dain Nilsson * : commit 39230a64d5d0aaa7d3b11e602c8140a37a3cba41 Author: Dain Nilsson Date: Wed Jun 10 16:36:38 2015 +0200 2015-06-10 Dain Nilsson * : Fixed Windows icon. 2015-06-10 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/view/systray.py: Systray icon fixes. 2015-06-10 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-06-10 Dain Nilsson * : Added icons. 2015-06-10 Dain Nilsson * vendor/yubicommon: Updated yubicommon. 2015-06-10 Dain Nilsson * yubioath/core/legacy_otp.py: Fix wrong return type for _yk_errno_location. 2015-06-09 Dain Nilsson * vendor/yubicommon: Updated yubicommons. 2015-06-09 Dain Nilsson * yubioath/core/ccid.py, yubioath/core/ccid_poll.py: Added polling low-level backend for Windows. 2015-06-08 Dain Nilsson * setup.py, vendor/yubicommon, yubioath/core/ccid.py, yubioath/gui/controller.py: Move pyscard logic from controller. 2015-06-05 Dain Nilsson * vendor/yubicommon, yubioath/gui/view/codes.py: Copy and close on double-click. 2015-06-05 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/settings.py: Only poll YubiKey when in foreground. 2015-06-05 Dain Nilsson * yubioath/gui/unlocker.py: Remove unused file. 2015-06-05 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/view/systray.py: Fix systray window positioning. 2015-06-05 Dain Nilsson * vendor/yubicommon: Newer yubicommon. 2015-06-05 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/view/systray.py: Added quit to file menu. 2015-06-05 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/systray.py: Added context menu to systray. 2015-06-04 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/view/systray.py: Added systray icon. 2015-06-04 Dain Nilsson * yubioath/gui/model.py: Remove unused file. 2015-06-04 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/view/codes.py: Implemented delete. 2015-06-04 Dain Nilsson * yubioath/cli/keystore.py: Fix error when unsetting a password. 2015-06-04 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/messages.py: Only allow add/change pasword when key is present. 2015-06-04 Dain Nilsson * vendor/yubicommon: Fix lock release on exception. 2015-06-04 Dain Nilsson * yubioath/gui/messages.py, yubioath/gui/view/get_password.py, yubioath/gui/view/set_password.py: Correct window titles. 2015-06-04 Dain Nilsson * yubioath/core/standard.py, yubioath/core/utils.py, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/add_cred.py, yubioath/gui/view/get_password.py, yubioath/gui/view/set_password.py: Implemented password changing. 2015-06-04 Dain Nilsson * yubioath/core/standard.py, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/add_cred.py, yubioath/gui/view/settings.py: Implemented add_cred dialog. 2015-06-03 Dain Nilsson * vendor/yubicommon, yubioath/gui/controller.py: Fix deadlock when waiting for password entry. 2015-06-03 Dain Nilsson * yubioath/cli/keystore.py, yubioath/gui/keystore.py: Fix keystore deleting passwords. 2015-06-03 Dain Nilsson * yubioath/gui/main.py: Center label. 2015-06-03 Dain Nilsson * yubioath/gui/view/codes.py: Add line between codes. 2015-06-03 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/messages.py: Better touch dialog. 2015-06-03 Dain Nilsson * yubioath/gui/messages.py, yubioath/gui/view/codes.py: Add right-click menu to codes. 2015-06-03 Dain Nilsson * yubioath/core/standard.py: Sort results. 2015-06-03 Dain Nilsson * vendor/yubicommon, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/view/settings.py: Refresh on settings change. 2015-06-03 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/view/settings.py: Use settings. 2015-06-03 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/view/codes.py: Better scrolling. 2015-06-03 Dain Nilsson * yubioath/gui/view/codes.py: Copy to clipboard. 2015-06-03 Dain Nilsson * README: Updated README. 2015-06-03 Dain Nilsson * yubioath/gui/view/codes.py: Added calculate and copy icons. 2015-05-27 Dain Nilsson * yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/codes.py, yubioath/gui/view/settings.py: Added SettingsDialog. 2015-05-26 Dain Nilsson * yubioath/gui/main.py: Show correct widget on startup. 2015-05-26 Dain Nilsson * vendor/yubicommon, yubioath/gui/main.py: Store settings. 2015-05-26 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/keystore.py: Save passwords to disk. 2015-05-26 Dain Nilsson * yubioath/gui/controller.py: Fix startup with device requiring key. 2015-05-26 Dain Nilsson * vendor/yubicommon, yubioath/core/legacy_otp.py, yubioath/gui/main.py: Show ykpers lib version. 2015-05-26 Dain Nilsson * yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/view/codes.py, yubioath/gui/view/get_password.py: Added locking and better device detection. 2015-05-26 Dain Nilsson * yubioath/core/standard.py: Support secrets longer than 64 bytes. 2015-05-26 Dain Nilsson * .gitmodules, vendor/yubicommon: Use yubicommon from Github. 2015-05-21 Dain Nilsson * yubioath/core/standard.py: Allow delete without Credential reference. 2015-05-20 Dain Nilsson * yubioath/core/controller.py, yubioath/core/standard.py, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/view/codes.py: Added support for touch and hotp codes. 2015-05-19 Dain Nilsson * scripts/yubioath-cli, yubioath/cli/controller.py, yubioath/cli/keystore.py, yubioath/cli/unlocker.py, yubioath/core/ccid.py, yubioath/core/controller.py, yubioath/gui/controller.py, yubioath/gui/main.py, yubioath/gui/model.py, yubioath/gui/unlocker.py, yubioath/gui/view/codes.py: Extract credential reading logic. 2015-05-19 Dain Nilsson * setup.py, vendor/yubicommon, yubioath/core/legacy_otp.py, yubioath/core/libloader.py: Use libloader from yubicommon. 2015-05-19 Dain Nilsson * MANIFEST.in, scripts/yubioath-cli, setup.py, vendor/yubicommon, yubioath/core/ccid.py, yubioath/core/legacy_ccid.py, yubioath/core/legacy_otp.py, yubioath/core/standard.py, yubioath/gui/__init__.py, yubioath/gui/main.py, yubioath/gui/view/main.py: Use relative imports. Cleanups. 2015-05-19 Dain Nilsson * yubioath/gui/view/utils.py, yubioath/gui/worker.py: Removed unused files. 2015-05-14 Dain Nilsson * .gitmodules, qt_resources.py, release.py, setup.py, vendor/yubicommon, yubioath/yubicommon: Vendor yubicommon. 2015-05-05 Tom * : Merge pull request #23 from DarkDimius/patch-1 Update `Usage` section to include helpful option for scdaemon 2015-04-30 Dain Nilsson * scripts/yubioath-cli, yubioath/cli/keystore.py, yubioath/core/ccid.py, yubioath/core/exc.py, yubioath/core/legacy_ccid.py, yubioath/core/legacy_otp.py, yubioath/core/main.py: Added CLI script. 2015-04-29 Dain Nilsson * yubioath/core/main.py, yubioath/core/standard.py: Finished core API. 2015-04-29 Dain Nilsson * yubioath/core/ccid.py, yubioath/core/device.py, yubioath/core/exc.py, yubioath/core/legacy.py, yubioath/core/legacy_ccid.py, yubioath/core/legacy_otp.py, yubioath/core/standard.py, yubioath/core/utils.py: Added support for legacy OATH over CCID. 2015-04-28 Dain Nilsson * yubioath/core/device.py: Fixed parse_truncated. 2015-04-28 Dain Nilsson * yubioath/core/legacy.py, yubioath/core/libloader.py: Started work on legacy TOTP support. 2015-04-28 Dain Nilsson * yubioath/core/device.py: Completed device API. 2015-04-28 Dain Nilsson * yubioath/core/device.py: Added calculate functionality. 2015-04-27 Dain Nilsson * yubioath/core/device.py, yubioath/core/utils.py, yubioath/gui/main.py, yubioath/gui/messages.py, yubioath/gui/view/__init__.py, yubioath/gui/view/main.py, yubioath/gui/view/utils.py, yubioath/gui/worker.py: Started working on core library. 2015-04-24 Dain Nilsson * .gitignore, MANIFEST.in, qt_resources.py, scripts/yubioath, yubioath/__init__.py, yubioath/cli/__init__.py, yubioath/core/__init__.py, yubioath/gui/__init__.py, yubioath/gui/main.py: Added boilerplate. 2015-04-24 Dain Nilsson * release.py, scripts/yubicoauthenticatorman.1, setup.py, yubicoauthenticator/__init__.py, yubicoauthenticator/commands.py, yubicoauthenticator/functions.py, yubicoauthenticator/libykneo.py, yubicoauthenticator/resources/osx/libccid-yubikey-no-u2f.diff, yubicoauthenticator/resources/osx/libccid-yubikey.diff, yubicoauthenticator/resources/osx/patch, yubicoauthenticator/resources/qt.conf, yubicoauthenticator/resources/yubicoauthenticator.desktop, yubicoauthenticator/resources/yubicoauthenticator.nsi, yubicoauthenticator/resources/yubicoauthenticator.xpm, yubicoauthenticator/text.py, yubicoauthenticator/ui_addaccount.py, yubicoauthenticator/ui_main.py, yubicoauthenticator/ui_password_change.py, yubicoauthenticator/yubico_authenticator.py, yubicoauthenticator/yubicoauthenticator.spec: Remove old module. 2015-03-30 Tom * : Merge pull request #20 from lukegb/patch-1 Correctly support 8 digit TOTP 2015-02-05 tom * yubicoauthenticator/yubico_authenticator.py: minor fix 2015-02-05 Tom * : Merge pull request #18 from dwmw2/master Fix non-ASCII password compatibility with pre-KitKit Android 2015-02-05 tom * yubicoauthenticator/text.py: minor fix 2015-02-05 tom * yubicoauthenticator/yubico_authenticator.py: fixed app name 2015-02-05 tom * yubicoauthenticator/ui_main.py: fix systray bug 2014-11-24 tom * yubicoauthenticator/ui_addaccount.py, yubicoauthenticator/ui_main.py: fix utf-8 account names 2014-11-24 tom * yubicoauthenticator/__init__.py, yubicoauthenticator/text.py: version bump 2014-11-24 tom * yubicoauthenticator/commands.py, yubicoauthenticator/functions.py, yubicoauthenticator/yubico_authenticator.py: fixed utf-8 password 2014-09-09 tom * README: minor 2014-09-03 tom * yubicoauthenticator/resources/osx/libccid-yubikey-no-u2f.diff: updated diffs files 2014-09-03 tom * yubicoauthenticator/resources/osx/libccid-yubikey.diff: updated diff with u2f 2014-05-08 tom * yubicoauthenticator/ui_main.py, yubicoauthenticator/yubico_authenticator.py: renamed project files to yubico_authenticator.py 2014-05-08 tom * README, yubicoauthenticator/commands.py, yubicoauthenticator/ui_systray.py, yubicoauthenticator/yubico_authenticator.py, yubicoauthenticator/yubicoauthenticator.spec: renaming project files 2014-05-08 tom * README: fixed README 2014-05-08 tom * yubicoauthenticator/text.py, yubicoauthenticator/ui_systray.py: minor fix 2014-05-08 tom * scripts/yubicoauthenticatorman.1: added man 2014-05-08 tom * README, yubicoauthenticator/ui_systray.py: Resolves #4 and Resolves #9 - Closes #7 2014-05-08 tom * yubicoauthenticator/ui_main.py, yubicoauthenticator/ui_systray.py: added --disbale-systray mode 2014-05-08 tom * : commit 0a0046300f8859705edf56e41345a72e0c34c18f Author: tom Date: Thu May 8 10:45:11 2014 +0200 2014-05-04 Simon Josefsson * BLURB, setup.py: Clarify license. Closes #11. 2014-05-03 Simon Josefsson * : Merge pull request #10 from kmpm/ubuntu Better instructions for ubuntu 2014-04-25 Tom * NEWS: NEWS 2014-04-25 tom * yubicoauthenticator/__init__.py, yubicoauthenticator/libykneo.py, yubicoauthenticator/text.py, yubicoauthenticator/yubico_authenticator.py: release 0.1.1 * fix password protection bug 2014-04-09 tom * yubicoauthenticator/yubicoauthenticator.spec: fix spec 2014-04-08 tom * : minor fix 2014-04-02 tom * : commit 52ccda212f39b96f5b45954f5505eca6804a3ea1 Author: Tom Date: Wed Apr 2 13:32:30 2014 +0200 2014-04-02 tom * yubicoauthenticator/resources/yubicoauthenticator.desktop, yubicoauthenticator/resources/yubicoauthenticator.xpm: adding ubuntu resources 2014-04-02 tom * MANIFEST.in, setup.py: minor fix 2014-04-01 tom * yubicoauthenticator/resources/yubicoauthenticator.nsi: updated .nsi 2014-04-01 tom * yubicoauthenticator/text.py, yubicoauthenticator/ui_main.py: updated text 2014-04-01 tom * : commit 2416286e427bc56932c3dbd5410e0e4485f8163a Author: tom Date: Tue Apr 1 13:07:59 2014 +0200 2014-03-18 Tom * NEWS, yubicoauthenticator/__init__.py: 0.1.0 2014-03-17 Tom * NEWS, yubicoauthenticator/__init__.py: news 2014-03-17 tom * yubicoauthenticator/yubicoauthenticator.spec: minor fix 2014-03-17 tom * yubicoauthenticator/text.py, yubicoauthenticator/yubicoauthenticator.spec: minor fix 2014-03-17 tom * yubicoauthenticator/libykneo.py, yubicoauthenticator/yubico_authenticator.py: added multireader support 2014-03-13 tom * yubicoauthenticator/resources/osx/patch: updated patch 2014-03-13 tom * : commit 8cfdb4cd010f0a3b1f6839563c1d257fdb2099f8 Author: tom Date: Thu Mar 13 11:15:52 2014 +0100 2014-03-11 Tom * NEWS: version 0.0.5 2014-03-11 tom * yubicoauthenticator/yubicoauthenticator.spec: fix 2014-03-11 tom * yubicoauthenticator/yubicoauthenticator.spec: fix 2014-03-11 tom * yubicoauthenticator/yubicoauthenticator.spec: added custom patch to avoid using the CCID TOOLS 2014-03-11 tom * yubicoauthenticator/resources/osx/patch, yubicoauthenticator/resources/osx/patch.sh, yubicoauthenticator/yubicoauthenticator.spec: patch 2014-03-11 tom * yubicoauthenticator/__init__.py, yubicoauthenticator/libykneo.py: version 0.0.5 2014-03-11 tom * yubicoauthenticator/resources/osx/libccid-yubikey.diff, yubicoauthenticator/resources/osx/patch.sh: updated patch for MacOSX 2014-03-07 tom * yubicoauthenticator/ui_systray.py: minor fix 2014-03-07 tom * yubicoauthenticator/ui_systray.py: minor fix 2014-03-07 tom * yubicoauthenticator/resources/osx/patch.sh: fixed patch.sh 2014-03-07 tom * yubicoauthenticator/ui_systray.py, yubicoauthenticator/yubicoauthenticator.spec: fix spec added patch 2014-03-07 tom * yubicoauthenticator/resources/osx/libccid-yubikey.diff, yubicoauthenticator/resources/osx/patch.sh, yubicoauthenticator/ui_systray.py: mac osx libccid patch 2014-03-07 tom * yubicoauthenticator/ui_systray.py: layout fixes for mac 2014-03-06 tom * README, yubicoauthenticator/yubicoauthenticator.spec: mac osx fixes 2014-03-06 tom * yubicoauthenticator/yubicoauthenticator.spec: updated spec file 2014-03-06 tom * yubicoauthenticator/ui_systray.py: font fix 2014-03-06 tom * yubicoauthenticator/ui_systray.py: fixes 2014-03-06 tom * yubicoauthenticator/ui_main.py, yubicoauthenticator/ui_password_change.py, yubicoauthenticator/ui_systray.py: added focus on main Window added asterisks for password fields 2014-03-05 Tom * NEWS: release 0.0.4 bugfix image 2014-03-05 Tom * NEWS, release.py: release & news 2014-03-05 tom * yubicoauthenticator/yubicoauthenticator.spec: minor 2014-03-05 tom * : minor 2014-03-05 tom * yubicoauthenticator/yubicoauthenticator.spec: minor fix 2014-03-05 tom * README: updated README 2014-03-05 tom * yubicoauthenticator/yubicoauthenticator.spec: updated spec file 2014-03-05 tom * README: updated README 2014-03-05 tom * README, yubicoauthenticator/__init__.py, yubicoauthenticator/ui_systray.py: version 0.0.3 added mac pkg 2014-03-05 tom * : commit 8bd270a8c4efb58eb3f730ac0e57494ada3e7dc1 Author: tom Date: Fri Feb 28 16:47:47 2014 +0100 2014-02-26 Tom * README: updated readme 2014-02-26 tom * yubicoauthenticator/functions.py, yubicoauthenticator/ui_main.py: fixed menubar 2014-02-26 Tom * NEWS: updated NEWS 2014-02-26 Tom * README: updated readme 2014-02-26 tom * yubicoauthenticator/__init__.py: version 0.0.2 2014-02-26 tom * yubicoauthenticator/ui_password_change.py: added ui_password_change.py 2014-02-26 tom * yubicoauthenticator/functions.py, yubicoauthenticator/ui_main.py, yubicoauthenticator/ui_systray.py, yubicoauthenticator/yubico_authenticator.py: added menu, password change, about 2014-02-21 tom * README: updated README 2014-02-21 tom * : commit 79cfaccfa8380d014244b91271e7a0e4d6f0b1b6 Author: tom Date: Fri Feb 21 10:15:36 2014 +0100 2014-02-19 Tom * BLURB: fixed BLURB 2014-02-19 Tom * BLURB, NEWS, release.py, setup.py: fixed BLURB 2014-02-19 tom * README: readme update 2014-02-18 tom * README: fix readme url 2014-02-18 tom * initial release yubioath-desktop-3.0.1/setup.py0000664000175000017500000000515412726252010016374 0ustar daindain00000000000000# Copyright (c) 2014 Yubico AB # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Additional permission under GNU GPL version 3 section 7 # # If you modify this program, or any covered work, by linking or # combining it with the OpenSSL project's OpenSSL library (or a # modified version of that library), containing parts covered by the # terms of the OpenSSL or SSLeay licenses, We grant you additional # permission to convey the resulting work. Corresponding Source for a # non-source form of such a combination shall include the source code # for the parts of OpenSSL used as well as that of the covered work. from yubioath.yubicommon.setup import setup from yubioath.yubicommon.setup.qt import qt_resources from yubioath.yubicommon.setup.exe import executable setup( name='yubioath-desktop', long_name='Yubico Authenticator', author='Dain Nilsson', author_email='dain@yubico.com', maintainer='Yubico Open Source Maintainers', maintainer_email='ossmaint@yubico.com', url='https://github.com/Yubico/yubioath-desktop', license='GPLv3+', description='Graphical interface for displaying OATH codes with a Yubikey', entry_points={ 'console_scripts': ['yubioath=yubioath.cli.__main__:main'], 'gui_scripts': ['yubioath-gui=yubioath.gui.__main__:main'] }, setup_requires=[], yc_requires=['ctypes', 'qt'], yc_requires_exclude=['PySide'], install_requires=['pyscard', 'pycrypto'], extras_require={ 'cli': ['click'], 'gui': ['PySide'] }, cmdclass={ 'executable': executable, 'qt_resources': qt_resources('yubioath.gui') }, classifiers=[ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Development Status :: 4 - Beta', 'Environment :: X11 Applications :: Qt', 'Intended Audience :: End Users/Desktop', 'Topic :: Security :: Cryptography', 'Topic :: Utilities' ] ) yubioath-desktop-3.0.1/COPYING0000664000175000017500000010451312660613711015722 0ustar daindain00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . yubioath-desktop-3.0.1/qt_resources/0000775000175000017500000000000012727513332017403 5ustar daindain00000000000000yubioath-desktop-3.0.1/qt_resources/copy.png0000664000175000017500000000040012660613711021053 0ustar daindain00000000000000PNG  IHDR bKGD pHYs  tIME  J tEXtCommentCreated with GIMPWhIDAT8c` 300 $`8300g``(b:.=@b4P50>08Ao 2bq!9n8< @(z$aIENDB`yubioath-desktop-3.0.1/qt_resources/qr.png0000664000175000017500000000036412677232746020551 0ustar daindain00000000000000PNG  IHDR bKGDC pHYs  tIME6J!iTXtCommentCreated with GIMPd.eXIDAT8c`2`?D###<&jpKiB\. dTwᨁ4eb#!7aHj5[(hTqy6IENDB`yubioath-desktop-3.0.1/qt_resources/yubioath.png0000775000175000017500000005270412660613711021746 0ustar daindain00000000000000PNG  IHDR>abKGD۠F pHYs.#.#x?vtIME -5& IDATxyeY';o_2_fRYU]-n`D f<@&DaGD?6a@4"dCGf `  ꪬ=3+׷w;ޫ ;+n䫗o|}x==?QޤLB(L~>}`BA]Rs%|>$IB8~(o\&M)e1&-Xt. P-ZUO|~̙z^۶]U۶ z}Z487$a`Id2DQ4j^xa@,%8a In'KjPX/|~۶+j)  1((JsxDQ4zwqmZãݻoDR c|`Ye%IvR^x駟8qJ`P8 -!TR`<`<n! CJ'OqI 00 KG1a{<fy뗞^uֶr#C3oWA ߦxgA`)!Gnպz+_0m;82V#v[bh [>xzGΜ;=?:㺾m۰m ;^-6cL/_ m{DZi*m|,>uNJ@>=?l^lhQ%"fsXL?GGG$A6޽FBn|8s4>;l&K|3'cD)8 ˿ۿ_z饋F|$?[ x?S?zauj[J(V֧9x pz B\|I`cc|ag{Nm[` K3F(,˂8mRt{{' , g\dR Z,PJz~~GyŋGM*}B?//gccG ;-G ! }.8!h6`Y(B>ݮv/cmm >1Xd(c}6HEA # ֭[xSJ \Ίȩ>O~߾۶8ֻR M.[ʂ%٬ZaYqlƣ>18FpeSOayyIwiJR'}r(G ҝJ m G*)u 8q7xxpn/7]}3 LA}rFC)eX,.hѰpBط9{|>oa0Ɯ_O=3?3ùs5dXp=ΓiBtΕ^ò,looع;wq-L >G?Q+`{j ' *̙3c7n$> # k4ʟ?wJI lzm'#DEPqs `^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