-
Notifications
You must be signed in to change notification settings - Fork 1
5 of 5
clzander edited this page Apr 5, 2023
·
3 revisions
This component is part of our SN2 application. You will find a description there (soon).
For running the GUI, you need Java 19 as this is the version, with which this project was compiled. When you launch the GUI, you need to set your username and an open port for other peers to connect.
java -jar SharkMessenger.jar
Welcome to SharkMessenger version 0.1
Please enter your username: Alice
Please set the port, on which other peers can connect: 7100
Note that, if you want to run a second instance of the SharkMessenger on the same computer, you must enter a different port, as the port 7100 will be blocked.
In order to connect to another peer use the connect
command. You need to specify the port, on which the other peer is listening for connections.
The current version of the messenger isn't supporting automatic credential exchange. However, you can manually exchange and sign credentials in the following way:
- You need to be connected to the other peer. See the chapter Connecting to other peers on this page for more details.
- Enter the
sendCred
command and fill in all the parameters. This should be done by both parties. You should see the credentials on your screen. - The last step is to sign the credentials. Before you do so, please make absolutely sure, that the credentials you received are from the person you think they send them to you. When you are convinced of the identity of the other peer, use the
signCred
command to accept the received credentials.
- Project goals
- Step 0: Concept
- Step 1: API
- Step 2: Implementation
- Step 3: Shark Component
- Step 4: Testing
- Step 5: GUI
- Javadoc
- Shark Messenger User Guide
- How to use
- Command Page
- TODO