Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.07 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.07 KB

SecureSignedMailService

A simple application which encrypts and signs messages for each user

export LD_LIBRARY_PATH=/app/vbuild/RHEL6-x86_64/gcc/6.4.0/lib:/app/vbuild/RHEL6-x86_64/gcc/6.4.0/lib64

Logging

Program writes logs in order to be able to demonstrate secure data transfer. Logs are written to the standard error to be able to easily separate from application's printouts. In order to redirect logs into a file start app as follows.

ssms 2>> log.txt

In a different console, the logs can be followed in real-time:

tail -f log.txt

Password storage

Salting

Password hash

Encryption/decryption flow

The image below is taken from the Wikipedia page of PGP (Pretty Good Privacy)

Encryption flow