Skip to content

Dependency Updates, Documentation Improvement, Client Side Storage, and Server Side List Users Feature#3

Open
JuneToJuly wants to merge 4 commits intoJigarJoshi:masterfrom
JuneToJuly:storage
Open

Dependency Updates, Documentation Improvement, Client Side Storage, and Server Side List Users Feature#3
JuneToJuly wants to merge 4 commits intoJigarJoshi:masterfrom
JuneToJuly:storage

Conversation

@JuneToJuly
Copy link

Jigar,

I may use your framework in the future and wanted to explain some of my changes.

I've made a couple of changes:

  1. A few of the dependencies were out of date and I could not run the application. I made updates to the pom.xml and included some code changes that were necessary to use the updated dependencies. Specifically, I had to interact with Jackson, Bouncy Castle, MySql Connection, and Jetty.

  2. I updated the readme to include more information about how to run the application. Specifically, I had not used Lithium Flow before and was unaware of how the config file was being included in the project.

  3. I added a feature for client-side storage and loading of a user's keys. I suppose I may have gone a little against the interface you were trying to define by including a "write to disk" feature, but the current implementation did not allow for logging into another user that was already registered, or logging in after the client had been stopped.
    I could have written a "Disk Storer", but it seemed more efficient to give the user the ability to write their key information to disk via the "logout" feature if they would like.
    Also, the keys are stored in plaintext in a JSON file.

  4. I was unsure how two parties might exchange user ids. I wrote a function that allowed a user to list all the users that were registered to the target ID could be identified.

I will be fairly busy over the next few weeks. If you don't like anything or are not maintaing anymore, let me know. I crammed a lot into a single pull.

Thanks,

Ian

- Updated poms to exclude BouncyCastle, jar signature was being invalidated.
- Bouncy Castle now placed with jre, and provider added to java.security
- Updated poms to include latest sqlconnector version
- Updated Client Demo for easier testing
- Updated Client to support "logout", keys need to be written to disk.
- Updated Client to support "loading" a user's keys from disk to memory
- Updated Client config for user keystore, where keys are written
- Updated Server to include "list users"
- Fixed problem with "/register" post method
- Fixed some other misc bugs
The README has been updated to include some additional information that might
be needed to understand how to use the protocol.

 - Dependencies
 - Configuration
 - Example Run
 - Example Message Exchange
 - Changed some descriptions
Link changed.
Removed some debug statements and cleaned up the pom.xml for building both
the otr-server and client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant