Skip to content

Latest commit

 

History

History
125 lines (76 loc) · 2.44 KB

README.md

File metadata and controls

125 lines (76 loc) · 2.44 KB

secureApp (JavaCard - Smartcard)

Secure ChatRoom RSA Encryption Challenge/Response Authentication by SmartCard insertion, DES exchange encryption

Author

Linkedin: Thierry Khamphousone



Setup

$ git clone https://github.com/Yulypso/SecureApp.git

Required misc


Required JDK:

  • jdk-17.0.2
  • jdk1.6


Run batch files (Windows only)

Run these scripts from 1 to 7 in order to start the secureApp.

> 1_makeApplet.bat
> 2_card-deleteApplet.bat
> 3_card-installApplet.bat
> 4_makeServer.bat
> 5_run_server.bat
> 6_makeClient.bat
> 7_runClient.bat

Server default port is: 7777



Features

Registration

Insert Smartcard to get registered.



Login and List connected users

Insert the Smartcard to connect to the server.



Send encrypted messages

  1. Messages are encrypted by the Smartcard before being sent to the server.
  2. Users retrieve and decrypt the encrypted message using their Smartcard.



Send files



Other commands

  • Private message: /msg
  • Exit: /exit or /logout
  • List: /list


Administrator

  • Kill all connected users: /killall
  • Kill a specific connected user: /kill
  • Halt server: /halt
  • Save registered users into a database: /savebdd <database_name>
  • Load registered users from the database: /loadbdd <database_name>