Git Product home page Git Product logo

secure-hearts's Introduction

Secure-Hearts

Main goal

Implement a secure hearts game that supports the portuguese citizencard.

The game security system has to assure:

  • Identity and authentication of players
  • Confidential and random card distribution
  • Honesty assurance
  • Correct game evolution
  • Correct accounting

The personal identification is made with recourse to the Portuguese Citizenship Card, with the public keys in the card and the validation of the certificate chain. They can also be emulated without the PT e-id, but will not assure identification.

Execution

In order to execute both server and clint you must have Python3 installed and someof the required libraries:

$ pip3 install -r requirements.txt

If not present, create the client keys and logs path

$ cd src/client
$ mkdir keys && mkdir log

To run the server, just make sure you have port 8080 free and execute the command:

$ cd src/server
$ python3 start_server.py

To open a client console:

$ cd src/client
$ python3 secure_client.py

There is also present a script in src/client (clear_clients.sh) to delete the contents of the keys and log directories.

$ cd src/client
$ chmod +x clear_clients.sh
$ ./clear_clients.sh

TODO

Missing stuff

Server & Client

  • Support certificate validation
  • Support secure message deciphering
  • Support secure message ciphering

Server

  • Support secure start on server side
  • Support multiple tables
  • Support multiple players

Client

  • Support certificates for non-CC users
  • Support multiple actions

Last Update: 26 Dec 2019

José Paiva Alexandre Machado

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.