Skip to main content

Tool for configuring your PIV-enabled YubiKey.

Project description

== YubiKey PIV Manager Tool for configuring your PIV-enabled 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, there are installers available for download https://developers.yubico.com/yubikey-piv-manager/Releases/[here]. For Ubuntu we have a custom PPA with a package for it https://launchpad.net/~yubico/+archive/ubuntu/stable[here].

image::screenshot.png[]

=== Dependencies YubiKey PIV Manager requires PySide, pycrypto and yubico-piv-tool.

=== Running tests Tests can be run using the “nosetests” command, from the python-nose package. Anternatively “python setup.py test” can be used, but this will cause PySide to be compiled from source, requiring the python-dev package.

=== Building binaries Binaries for Windows and OSX are built using PyInstaller.

Get the source release file, yubikey-piv-manager-<version>.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 yubico-piv-tool project, as well as the yubico-piv-tool executable. Create a subdirectory called “lib” in the release directory. Download the correct binary release for your architecture from https://developers.yubico.com/yubico-piv-tool/Releases/ and extract the .dll/.dylib files and executable to the “lib” directory you created previously.

==== Windows For Windows you will need python, PySide, PyCrypto, PyInstaller and Pywin32 installed (32 or 64-bit versions depending on the architecture of the binary your are building).

To sign the executable, copy the pfx file to pivman.pfx and place it in the root of the release directory. You will need signtool.exe (from the Windows SDK) either copied into the root as well or in a location in your PATH.

Run “pyinstaller.exe resources/pivman.spec” from the main release directory.

With NSIS installed, a Windows installer will be built as well.

==== OSX For OSX you need python, pyside, pycrypto, and pyinstaller installed. One way to install these dependencies is by using Homebrew:

brew install python brew install pyside pip install PyInstaller pip install pycrypto

NOTE: Homebrew will build backwards-incompatible binaries, so the resulting build will not run on an older version of OSX.

Run “pyinstaller resources/pivman.spec” 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/YubiKeyPIVManager.app –deep

There is also a project file for use with http://s.sudre.free.fr/Packaging.html[Packages] located at resources/pivman.pkgproj. This can be used to create an installer for distribution, which you should sign prior to distribution:

packagesbuild resources/pivman.pkgproj productsign –sign ‘Developer ID Installer’ dist/YubiKeyPIVManager.pkg dist/yubikey-piv-manager-mac.pkg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yubikey-piv-manager-1.0.2.tar.gz (152.3 kB view details)

Uploaded Source

File details

Details for the file yubikey-piv-manager-1.0.2.tar.gz.

File metadata

File hashes

Hashes for yubikey-piv-manager-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4519b4160665001a9ad0e468e75dfdf73b141f5643303b1a995fa35a2d5db900
MD5 1c4fb256a8c0e6b24afe8bb4ed8819f6
BLAKE2b-256 8e12428eb9befcbbdb5d58d9e6c58de028d58cd7e96978d753717f9420366c00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page