Giter Site home page Giter Site logo

yubico / yubikey-neo-manager-dpkg Goto Github PK

View Code? Open in Web Editor NEW
7.0 23.0 6.0 337 KB

Debian packaging for yubikey-neo-manager

Home Page: https://developers.yubico.com/yubikey-neo-manager/

License: BSD 2-Clause "Simplified" License

Python 97.26% JavaScript 0.70% NSIS 2.04%

yubikey-neo-manager-dpkg's Introduction

== YubiKey NEO Manager
Tool for managing your YubiKey NEO configuration. Connecting multiple keys at
once is supported, but only if CCID mode is active for all of them.

Entypo pictograms by Daniel Bruce - www.entypo.com

[IMPORTANT]
====
Yubico has learned of a security issue with the OpenPGP Card applet project that is used in the YubiKey NEO. This vulnerability applies to you only if you are using OpenPGP, and you have the OpenPGP applet version 1.0.9 or earlier.
link:https://developers.yubico.com/ykneo-openpgp/SecurityAdvisory%202015-04-14.html[SecurityAdvisory 2015-04-14]
====

=== 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/yubikey-neo-manager/Releases/[here].
For Ubuntu we have a
https://launchpad.net/%7eyubico/+archive/ubuntu/stable[custom PPA] containing the 
https://launchpad.net/%7eyubico/+archive/ubuntu/stable/+packages?field.name_filter=yubikey-neo-manager&field.status_filter=published&field.series_filter=[yubikey-neo-manager]
package.

=== Dependencies
YubiKey NEO Manager requires PySide, libykneomgr, yubikey-personalization and
libu2f-host.

=== Running tests
Tests can be run using the "nosetests" command, from the python-nose package.
Alternatively "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-neo-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 libykneomgr, yubikey-personalization, and
libu2f-host projects. Create a subdirectory called "lib" in the release
directory.
Download the correct binary release for your architecture for each of the 
aforementioned projects from https://developers.yubico.com/ and extract the 
.dll/.dylib files for each of them together with the included dependencies 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 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 "pyinstaller.exe resources/neoman.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. For building distributable
releases you can use MacPorts instead.

Run "pyinstaller resources/neoman.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/YubiKey\ NEO\ Manager.app --deep

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

  packagesbuild resources/neoman.pkgproj
  productsign --sign 'Developer ID Installer' dist/YubiKey\ NEO\ Manager.pkg dist/yubikey-neo-manager-mac.pkg

yubikey-neo-manager-dpkg's People

Contributors

dainnilsson avatar jas4711 avatar

Stargazers

Ashton Redd avatar  avatar  avatar  avatar Markus Lindenberg avatar Nick Semenkovich avatar

Watchers

 avatar Venkat Venkataraju avatar Gabriel Kihlman avatar Klas Lindfors avatar Andreas Olsson avatar Stefan Wold avatar Henrik Tilly avatar Alessio Di Mauro avatar James Cloos avatar Markus Enander avatar Rikard Braathen avatar E. Luke Walker avatar Tom avatar John Salter avatar Oscar avatar Milan P. (dayi) avatar Nigel Williams avatar Dave Pate avatar Konstantinos Georgantas avatar Kevin Hongtongsak avatar  avatar  avatar  avatar

yubikey-neo-manager-dpkg's Issues

Remove unused QT dependencies

The package currently depends on python-pyside, which is a metapackage for all the different parts of PySide (and hence QT). Many of these are not needed (such as Phonon, for example) and can thus be removed to lighten the amount of needed dependencies.

pcscd requirement

Currently pcscd is only a recommentation.
But, if I switch the yubikey neo to CCID mode only, without to have pcscd running, I can't manage the key with neoman anymore.

Steps to reproduce:

  • install pcscd
  • start pcscd (e.g /etc/init.d/pcscd start)
  • start neoman
  • switch the key with neoman to CCID mode only
  • plugout/plugin -> it works
  • close neoman
  • stop pcscd (e.g /etc/init.d/pcscd stop)
  • start neoman -> the key isn't recognized anymore

From my perspective pcscd shouldn't be a recommendation, but a dependency as without pcscd neoman doesn't provide the desired functionality.
(as a newbie with yubikey it took me several hours and couple of days to figure out this dependency)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.