nurupo / ProjectTox-Qt-GUI

A cross-platform front end for ProjectTox Core library, written in C++11 with use of Qt5
GNU General Public License v3.0
343 stars 117 forks source link

Data File Encryption #90

Open ybhvf opened 10 years ago

ybhvf commented 10 years ago

I've tackled issue #66.

These commits add a class Profile, responsible for saving/loading/encrypting a given Tox Messenger. The file format used is described here (it's loosely based on Toxic's design). I've also created a quick-and-dirty branch that shows Profile in use.

ybhvf commented 10 years ago

I've moved much of the code for tox messenger saving into a separate repo, as @irungentoo suggested. Profile has been kept as a Qt wrapper for the new _toxdata functions, which I think will be handy when implementing #65 & #67.

nurupo commented 10 years ago

Qt doesn't like exceptions, so we write exception-less code.