GithubHelp home page GithubHelp logo

isabella232 / vacman_controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ifad/vacman_controller

0.0 0.0 0.0 112 KB

Ruby wrapper for VASCO Vacman Controller AAL2SDK library

License: MIT License

Ruby 56.06% C 38.23% Shell 4.73% Dockerfile 0.98%

vacman_controller's Introduction

VASCO VACMAN Controller

Build status Code Climate Test Coverage Gem Version Docs analysis Security check

VACMAN Controller is VASCO's implementation of OTP physical and virtual devices, revolving around the AAL2 library.

This gem contains a very thin wrapper around AAL2 and allows to parse DPX files, generate OTPs and verify them.

Installation

Get Vacman Controller library from VASCO. You should receive an aal2sdk-*.rpm package. Install it, it will place its contents in /opt/vasco. The Ruby extension looks for /opt/vasco/VACMAN_Controller-*

Add to your application Gemfile

gem 'vacman_controller'

To run specs download the sources and execute

rake

Usage

The library provides access to the low-level functions of libaal2 through the VacmanController::LowLevel module, that has only singleton methods and does not keep any state.

The only shared state across all threads are the kernel params. Please ensure that all threads coordinate when changing it.

The library provides also a VacmanController::Token abstraction, providing token information and APIs that decode from and to Ruby objects when reading and writing.

Ensure to persist the token.to_h value after performing any operation on a token. The token hash contains the token state, that is altered by most APIs.

For extended usage examples, please have a look at the specs.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some great feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

vacman_controller's People

Contributors

vjt avatar mlankenau avatar

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.