Coder Social home page Coder Social logo

authenticon-client's Introduction

Authenticon prototype Web client

Authenticon is a project proposed by Martus. Briefly, Martus is used by people in hostile environments to transmit evidence of human rights abuses. Their transmissions are encrypted. To detect interception, a 40-digit fingerprint is provided that can be verified out of band (eg, by phone call). Because it is difficult to check a 40-digit number over a phone the fingerprint is rarely checked. The project proposes to provide a more visual view of the fingerprint that is easier to work with.

This repository contains a simple Web client to test the prototype API initially developed at the CHI 2016 day of service. A brief video run-through is here.

  • How to install the client
  • How to use it
  • How it works
  • Considerations for further development

How to install the client

Clone the repository into a Web server. It may not work when opened as file://. It will happily co-exist with the prototype API.

How to use it

See the run-through.

How it works

It is a one-page site that uses bootstrap.js for responsive layout with virtually no customisation. Along with jQuery it uses the jQuery Validation plug-in to provide automatic validation of the entry field for fingerprints. Bootstrap is copied into the project; jQuery and jQuery Validation are loaded from a CDN.

The URL for the API is hard-wired near the top of the file. The current section is:

  <script>
      var apiRoot = 'http://52.48.1.222/api/visualise-fingerprint.php';
  </script>

When it loads (using jQuery’s ready() call) it calls the API end point to retrieve an array of encoding methods. It uses these to populate the drop-down in the nav bar that allows the user to change methods.

The main page either shows a form to enter a fingerprint (validated for exactly 40 digits) or shows the result of encoding. The type of the encoding method (image or text) is used to determine how to render the result of calling the API. For text,

 is used to allow line breaks to work. The only styling override in the file is to boost the size of 
 text.

Considerations for further development

This is meant to be a mechanism to test the API only. Presumably the idea is to build the approach into other software using the APi.

authenticon-client's People

Contributors

nimbooce avatar

Watchers

James Cloos avatar John Higgins avatar

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.