[go: up one dir, main page]

Skip to content

jmaciasportela/totp_electron_poc

Repository files navigation

Módulo 8. Desarrollo seguro y gestión de identidad M8. Tarea 2

Programar un componente software que permita:

  • Generar un código QR para añadir un servicio en las aplicaciones mencionadas anteriormente
  • Validar un código TOTP introducido por el usuario para verificar si es correcto o no para el servicio anterior

M8T2 app is been built with Electron

Prerequisites

$ npm install -g bozon

Dev

$ npm install

Run

$ bozon start

Package

$ bozon package (windows|mac|linux)

Builds the app for OS X, Linux, and Windows, using electron-builder.

Usage

Important: Every time you open the APP, shared key is recreated, so you need to scan again qr code

Open the app and scan QR code with your favourite OTP App:

M8T2

M8T2

Click on "Validate TOPT Code" and enter code displayed on your App

M8T2

If is correct you will see Green Check

M8T2

If is not correct you will see Red Check and retry button

M8T2

License

The MIT License (MIT) © Jesus Macias Portela 2018