Rewritten account passwords handling.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 16 Jan 2016 21:13:53 +0000 (22:13 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 4 Feb 2016 21:04:48 +0000 (22:04 +0100)
commit54adfb433b879fa0e9218ed329feb6d99caf0fb1
tree9e44d7ae6ae20e44ec023fd7e42a4340ecde6a6f
parente7374d38e51fa38b5c2f06669be8c3f967c39ba1
Rewritten account passwords handling.

Passwords are only decrypted before their actual use, not
while loading from accountrc.
Passwords are stored as "{algorithm}base64encodedciphertext",
encrypted using AES-CBC cipher, with PASSCRYPT_KEY used as
and encryption key.
Optionally, the encryption key, also known as "master password"
can be changed by user.
15 files changed:
configure.ac
src/Makefile.am
src/imap.c
src/inc.c
src/news.c
src/password.c [new file with mode: 0644]
src/password.h [new file with mode: 0644]
src/password_gtk.c [new file with mode: 0644]
src/password_gtk.h [new file with mode: 0644]
src/prefs_common.c
src/prefs_common.h
src/prefs_gtk.c
src/prefs_other.c
src/send_message.c
src/wizard.c