author Ryan C. Gordon <>
Sun, 18 Jun 2017 19:40:30 -0400
changeset 56 a573346e6f7b
parent 23 a5c3269e6d99
permissions -rwxr-xr-x
Added One Time Password support.

This is only for time-based OTP for now ("TOPT" algorithm), but that's more
or less what one expects to see in the wild anyhow.

This is sort of a placeholder UI until I replace the entire existing UI with
something better.
# Need to install the following on Ubuntu 12.04:
# - cmake
# - libgtk2.0-dev
# - libxtst-dev
# If you find other deps, add them here

NCPU=`cat /proc/cpuinfo |grep vendor_id |wc -l`
let NCPU=$NCPU+2
echo "Will build with 'make -j$NCPU' ... please edit this script if incorrect."

set -x
rm -rf cmake-build
mkdir -p cmake-build
cd $_
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j$NCPU && cp -a 1pass ..
cd ..