Giter VIP home page Giter VIP logo

geopki-server's Introduction

GeoPKI-Server

This is an implementation of the GeoPKI system log and hash tree server. A running test implementation is at: http://geopki.herokuapp.com/

GeoPKI publication: https://sparrow.ece.cmu.edu/group/pub/kim_gligor_perrig_GeoPKI.pdf

Notes

  • Merkle hash tree is updated automatically when leaves are created, modified, or destroyed
  • Leafs are the actual entities that are part of the MHT. They can be viewed at /leafs
  • Nodes are the hash values in the tree. They can be viewed at /nodes. These should not be edited or modified, as they are automatically generated.

API

The API for the GeoPKI server is as follows:

http://serverurl/geopki?lat=123.1&lon=123.1&alt=123.1 where "123.1" is just a dummy value.

The URL supports postitive/negative decimal values for latitude and longitude as well as altitude.

This will return "null" if nothing is found or if the syntax is incorrect.

It will return a JSON array of the intermediate hash values needed to verify the root in the order they need to be hashed, including whether they are right or left children, followed by the root. The entity that is attempting to be verified is NOT included.

example: ["4becfcddc10a2cb960bb482a286302f5d588c516","rchild","d7fb1e7ba05d5eb929ec3d62ed5a6f171a531428","root"]

geopki-server's People

Contributors

cdorros avatar

Stargazers

 avatar

Watchers

James Cloos avatar Marcela Fernandez avatar Stu Kennedy avatar  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.