This repository contains the material for the EBU DevCon 2015 workshop on the Cross-Platform Authentication Protocol (ETSI TS 103 407).
It provides the means to set up a fully self-contained virtual machine image containing the reference implementation of CPA (the Authorization Provider, Service Provider, and Client) together with an interactive tutorial using Jupyter.
Please note that the virtual machine image is about 3GB in size. Completing the setup steps below will take about 30-40 minutes.
-
Download and install Virtual Box [version 5.0.0+]: link
-
Download and install Vagrant [version 1.7.4+]: link
-
Install Virtual Box Guest Additions:
vagrant plugin install vagrant-vbguest
-
Clone this repository:
git clone https://github.com/ebu/cpa-tutorial.git
-
Install the cpa-tutorial virtual machine image:
vagrant up cpa-tutorial
-
Open a browser and go to: http://localhost:9000
-
When you have finished with the tutorial, shut down the virtual machine:
vagrant halt cpa-tutorial
-
Change into the cpa-tutorial directory:
cd cpa-tutorial
-
Start the virtual machine:
vagrant up cpa-tutorial
-
Open a browser and go to: http://localhost:9000
-
Shut down the virtual machine:
vagrant halt cpa-tutorial
If you wish to completely remove the cpa-tutorial virtual machine image from your system:
-
Change into the cpa-tutorial directory:
cd cpa-tutorial
-
Remove the vagrant image:
vagrant destroy
To re-install the tutorial, start at step 5 of Setup above.
The Vagrantfile includes a provisioning script which installs the docker environment on a plain Ubuntu box.
- Start the VM:
vagrant up
- Package the image:
vagrant package
- Chris Needham (BBC)
- Michael Barroco (EBU)
- Sean O'Halpin(BBC)
Copyright (c) 2015-2016, EBU-UER Technology & Innovation
The code is under BSD (3-Clause) License. (see LICENSE)