Git Product home page Git Product logo

yubix-vm's Introduction

YubiX VM

Note
This project is deprecated and is no longer being maintained.

Creates a virtual machine with YubiX installed, ready for distribution.

Dependencies

VM images are created by using vmbuilder under Ubuntu. You will need a Ubuntu installation with the python-vm-builder package installed.

Running

To create the virtual machine image, run build-vm.sh as root.

Testing

To run the tests, run the /root/test/run-tests.sh script as the root user on the virtual machine.

Race condition in vmbuilder

There is a known issue in vmbuilder which sometimes fails the build, printing an error: "/dev/mapper/loop0p1 does not exist". To fix this you will need to make a modification int the following file: /usr/lib/python2.7/dist-packages/VMBuilder/disk.py (location may vary). Find the map_partitions method and change the following row:

kpartx_output = run_cmd('kpartx', '-av', self.filename)

to the following (note the added 's' in the arguments):

kpartx_output = run_cmd('kpartx', '-sav', self.filename)

Now, the build should succeed.

yubix-vm's People

Contributors

dainnilsson avatar

Stargazers

justgoooooo avatar  avatar Randall B. avatar  avatar Wouter Clarie avatar  avatar Jaiden Benz avatar Chris Hoke avatar  avatar Paul Roller avatar Klas Meder avatar Tobias Bradtke avatar  avatar Henrik Kramselund avatar Myles Gray avatar  avatar Dan Choon avatar Howard Mei avatar

Watchers

Davo Adams avatar  avatar Venkat Venkataraju avatar Gabriel Kihlman avatar Klas Lindfors 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  avatar Paul Roller avatar Oscar avatar Nigel Williams avatar Dave Pate avatar Konstantinos Georgantas avatar Kevin Hongtongsak avatar  avatar  avatar  avatar

yubix-vm's Issues

Reproducible builds

How to run vmbuilder with specific package versions -- to be able to reproduce builds later on. The build should then use the specified version of the yubix package, which could then depend on specific versions of the other packages.

setup swap better

Right now i get an error about /dev/sda2 missing (swap) -- maybe better to use a swapfile or no swap at all?

Documentation

Covering at least:

  • Adding AES key to YKKSM
  • Adding new client ID to YKVAL
  • Setting up a new Radius client with IP/secret
  • Testing that the setup works
  • Briefly covering different rlm_yubikey security level settings

Automate testing

How to generate vm and run self-tests interactively using kvm.

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.