Skip to content

Smartphone app for Digital Bitbox QR-code verification (2FA)

Notifications You must be signed in to change notification settings

jvaltin/2FA-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Bitbox | Smart Verification & Two Factor Authentication mobile app

Use with the Digital Bitbox hardware wallet to provide the highest level of security.

Installation

Installation from source

The source code is under development and may not be compatible with stable releases of the desktop app or MCU firmware.

Requires:

  1. Node.js and npm
  2. Cordova command line interface installed using npm npm install -g cordova
  3. For Android devices: Android SDK
  4. For iOS devices: Xcode

Command line build and install:

git clone https://github.com/digitalbitbox/2FA-app.git
cd 2FA-app
cordova prepare
npm install

Insert after “buildscript” in “platforms/android/app/build.gradle”:
configurations.all {
   resolutionStrategy {
       force 'com.android.support:support-v4:27.1.0'
   }
}

# After code edits:
browserify www/js/main_new.js -o www/js/app_new.js && browserify www/js/init.js -o www/js/app_init.js && browserify www/js/main_old.js -o www/js/app_old.js
cordova build android

To install on an Android phone, connect it to your computer and type cordova run android. Developer permissions are required.

To install on an iPhone, replace android with ios and open the file platforms/ios/Digital Bitbox QR.xcodeproj in Xcode. An iOS Developer Program membership, or a jailbroke phone, is required.

Development

It's easier to develop in the browser. Setup with cordova platform add browser. Start server with cordova run browser. Your default browser starts, but to allow cross origin requests, run chrome like chromium-browser --disable-web-security --user-data-dir.

After code edits: browserify www/js/main_new.js -o www/js/app_new.js && browserify www/js/init.js -o www/js/app_init.js && browserify www/js/main_old.js -o www/js/app_old.js && cordova prepare browser (and then just refresh the page).

About

Smartphone app for Digital Bitbox QR-code verification (2FA)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.3%
  • HTML 22.4%
  • CSS 6.3%