Giter VIP home page Giter VIP logo

dependablepasswordmanager's Introduction

DependablePasswordManager

The goal of this project is to implement a distributed password manager with dependability guarantees.

Stage 1

Stage 2

Before testing if remote object calling is working, please open a terminal window and write the following :

(For linux) rmiregistry &

(For Windows) start rmiregistry

To Run:

  1. Go to the project folder on the terminal and run the following command (creates 1 client and 4 servers):

    • sh autoSetup.sh
  2. Insert KeyStore spassword "sec" when prompted on each Client.

Other commands:

  1. To generate N key pairs: cd keyStore sh keyGen.sh (N)

  2. To change the number of servers and clients in autoSetup.sh: Change in line 7 from "sh servers.sh 4" to "sh servers.sh (new num servers)" Change in line 12 from "sh clients.sh 1 4" to "sh clients.sh (new num clients) (new num servers)"

  3. To start manually N servers: cd dependablePasswordManager sh servers.sh (N)

  4. To start manually N clients: cd dependablePasswordManagerClient sh clients.sh (N) (num servers)

  5. To start a client with a specific client id mvn compile exec:java -Dexec.args="(client id) (num servers)"

  6. To run client tests: (located at: dependablePasswordManagerClient/src/test/java/pt/ulisboa/ist/sec/ClientTest.java) cd dependablePasswordManager mvn compile test

  7. To run server tests: (located at: dependablePasswordManagerClient/src/test/java/pt/ulisboa/ist/sec/ServerTest.java) cd dependablePasswordManagerClient mvn compile test

Note: Insert KeyStore password "sec" when prompted on each Server.

dependablepasswordmanager's People

Contributors

beatrizagf avatar guiandrade avatar wazamaisers avatar

Watchers

 avatar  avatar  avatar

dependablepasswordmanager's Issues

Simple Password Manager

Implement simple server working without security guarantees ( ignore crypto parameters and create a trivial test client.)

Change formulas

(3f+1)-> NumServers ;
(2f+1) -> NumRespostas ;
f = N-1 / 3

Server Replication

Step 1 of Stage 2 of Project:
Em java (ou shell ou outra coisa qualquer) fazer um script para lançar os N servidores
Começar com :
(1,N) --> 1 escritor, N leitores(server)

Acabar com :
(N,N) -> N escritores, N leitores(server)

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.