cs-utulsa / Encrypted-Chat-Service

This is the major project for the year long senior software class. The focus on this repository is to create a encrypted chat service, which can be used for secure communication. It will include not only peer to peer chat services, but also file transfer and group chats.
5 stars 1 forks source link

Research: Encryption for File Transfer #38

Closed tuckplace closed 1 year ago

tuckplace commented 2 years ago

This issue can only be done once a file transfer option has been researched and decided on. Need to investigate a way to encrypt the files before sending and decrypt them after receiving. Needs to use ECC key and be able to be sent over a socket.

EWFranks commented 1 year ago

FPTS is FTP using SSL -(Encryption) Using SSL, a secure socket layer is a security protocol that creates a encrypted link between a server and a browser on the web. This SSL methods is already established and as the message is read in the encryption class will be called to encrypt the message. The client encrypts a secret key with the server's public key, which is stores the encrypted file on the server -(Decryption) The same process as encryption works with decrypt. But the server will decrypt the file using a different key that allows the decrypted file to be obtained by the client. Which this is already done as well.

Send Encrypted files -Three scenarios for transferring files will be present.

<1> Source FTPS Server to Target FTPS Server -A middle connection that pushed files to the target FTPS and pulls files from the source server. The middle medium is by the client. <2> Source FTPS Client to Target FTPS Client -A middle connection is represented by the server, while the source client pushes files to the server and then the target client pulls them. <3> Source FTPS Server to Target FTPS Client -A middle connection is represented by a server and a client. The client pulls the file from the source server. Then the targeted client pulls files from the server.