Commit graph

9442 commits

Author SHA1 Message Date
Andrej Kacian
d643604a31 Use a hardcoded IV length in password encryption.
...since we can't count on having GnuTLS new enough to have
gnutls_cipher_get_iv_size().
2016-03-23 17:13:43 +01:00
Andrej Kacian
b65e731a4f Use SHA-256 for master_passphrase_hash, since SHA-512 is too new. 2016-03-23 15:17:04 +01:00
Andrej Kacian
34853eee8b Make gnutls password encryption the default if gnutls is available. 2016-03-22 13:23:41 +01:00
Andrej Kacian
29e0827b52 Write passwordstore into file also after account passwords migration. 2016-03-19 22:28:23 +01:00
Andrej Kacian
4865beea5c Treat storing empty password same as storing NULL password.
(That means delete the password. This simplifies handling
scenario where user had a password set, but wants to delete
it by leaving corresponding GtkEntry empty.)
2016-03-19 21:08:24 +01:00
Andrej Kacian
a3c5626ea1 Write passwordstore into file more often, not just at exit. 2016-03-19 20:50:04 +01:00
Andrej Kacian
125b18131c Make SpamReport plugin use the password store. 2016-03-19 20:44:21 +01:00
Andrej Kacian
a7a70c6aa5 Removed a forgotten debug line. 2016-03-19 20:14:40 +01:00
Andrej Kacian
2eedcaea0f Do not create password block when deleting a password from store. 2016-03-19 20:00:57 +01:00
Andrej Kacian
da1b45c1f7 Fix crash when unloading GData plugin when it's not configured. 2016-03-19 19:54:40 +01:00
Andrej Kacian
1a9b1d8372 Make GData plugin use the password store.
Untested, as I have no Google accounts to test with.
2016-03-19 18:10:02 +01:00
Andrej Kacian
e75a8701ff Update manual regarding new show/hide menu shortcut. 2016-03-19 11:15:21 +01:00
Andrej Kacian
79d63f051b Change default show/hide shortcut to Ctrl+F12. 2016-03-19 11:09:18 +01:00
Andrej Kacian
0a7b4563cc Use account ID instead of name in passwordstorerc. 2016-03-14 20:46:59 +01:00
Charles Lehner
e66c916e56 Migrate managesieve to passwordstore 2016-03-14 00:55:49 -04:00
Andrej Kacian
499c9fec4d "Master password" is now called "master passphrase".
This is to help diferentiate between passwords coming from
accounts, plugins, etc., and the master passphrase used in
an AES encryption key for encrypting these passwords.
2016-03-03 19:10:47 +01:00
Andrej Kacian
56300484d6 Make POP3 use password store too. 2016-03-02 13:59:35 +01:00
Andrej Kacian
0935eb5ec4 Fix previous fix ;-) 2016-03-02 13:38:29 +01:00
Andrej Kacian
1c77978555 Fix a Coverity warning caused by previous commits. 2016-03-02 07:35:25 +01:00
Andrej Kacian
c3c05b0c2f Fix SMTP password use with password store. 2016-03-01 21:11:09 +01:00
Andrej Kacian
caa44e52c9 Make accounts use new password store for their passwords. 2016-03-01 20:51:54 +01:00
Andrej Kacian
2a6f8d16b2 Implement a password store. 2016-03-01 20:50:35 +01:00
Andrej Kacian
1b12986566 Upon master password change, ask for old password immediately. 2016-03-01 19:44:25 +01:00
Paul
d349134c99 fix typos in function name 2016-02-25 08:22:02 +00:00
Paul
19f795c347 remove the whole unncessary if block, completing the last commit 2016-02-24 20:19:08 +00:00
Paul
01faf42f4d remove spurious single quotes in mailcap_get_command_in_file() 2016-02-24 20:02:46 +00:00
Paul
c2f5ebbe58 add missing include 2016-02-24 12:45:22 +00:00
Andrej Kacian
59c5d794e6 Add warning about missing LOGIN SASL plugin for IMAP. 2016-02-20 12:07:01 +01:00
Paul
c33ae843e9 prevent always selecting html part in multipart/alternative
this bug was introduced in 4745b80528
2016-02-20 10:10:21 +00:00
Andrej Kacian
5bef3aeced Made the gnutls password encryption work on Win32. 2016-02-20 00:28:40 +01:00
Andrej Kacian
77971f2acb Revert "Made the gnutls password encryption work on Win32."
This reverts commit 18ccbd586f.
I committed more than I expected, files in po/ snuck in, sorry!
2016-02-20 00:28:07 +01:00
Andrej Kacian
18ccbd586f Made the gnutls password encryption work on Win32. 2016-02-20 00:21:40 +01:00
Andrej Kacian
d003ba2c1c Fix a compile error on Win32. 2016-02-19 23:18:28 +01:00
Ricardo Mones
ab83c39b46 Add scroll to SSL certificates list
Avoids window growing out of screen height when there's a large
amount of certificates on the list.
2016-02-19 19:24:09 +01:00
Ricardo Mones
444054e68d Fix leak on error and error reporting 2016-02-19 19:23:00 +01:00
Ricardo Mones
701a0babe9 Fix a couple of typos 2016-02-19 19:21:50 +01:00
Ricardo Mones
d1c40b332d Fix bug #2604: Add support for -geometry
And document it too :-)
2016-02-19 19:15:12 +01:00
Ricardo Mones
bb974610e7 Fix bug #3578: Strings around MAILIMAP_ERROR…
…could use some whitespace fixes. Patch by Andreas Rönnquist (thanks!).
2016-02-19 19:03:15 +01:00
Ricardo Mones
2469a552be Fix bug #3581: sys:1: Warning: Source ID # was…
…not found when attempting to remove it, and remove unused logic.
2016-02-19 18:58:34 +01:00
Ricardo Mones
4745b80528 Fix bug #3028: Claws doesn't select html part if attachments present
Make HTML part search recursive maintaining current functionality:
• display first HTML part
• promotion of calendar attachments (if vCalendar is available)
• not promoting HTML attachments
2016-02-19 18:50:04 +01:00
Andrej Kacian
74e15427f6 Implement real LOGIN auth method for IMAP.
The "old LOGIN" was in fact just a basic plaintext login method,
using: "LOGIN username password", not the SASL LOGIN method.
2016-02-19 17:52:50 +01:00
Andrej Kacian
7047fa7f29 Enable SASL PLAIN auth mechanism for IMAP accounts. 2016-02-19 17:13:08 +01:00
Colin Leroy
07c4154426 Add a plugin method to allow updating stored passwords on master password change.
GData is still untested.
2016-02-11 14:32:44 +01:00
Colin Leroy
e727be6329 Actually encrypt passwords before storing them 2016-02-11 12:11:48 +01:00
Colin Leroy
bbc55c419e Require new password API 2016-02-11 11:42:34 +01:00
Colin Leroy
0ab9bbd83d SpamReport: use new password API 2016-02-11 11:33:19 +01:00
Colin Leroy
b4ec5f3b2d GData: use new password API. Completely untested as I don't have the dependancies available to build! 2016-02-11 11:28:07 +01:00
Colin Leroy
1707a23f56 Forgot to memset. We should add an helper function for this. 2016-02-11 11:22:47 +01:00
Colin Leroy
e5bb832c16 vCalendar: Use new password API 2016-02-11 11:21:52 +01:00
Colin Leroy
f2c16c568e Fix another g_log warning 2016-02-11 10:33:10 +01:00