Commit graph

7686 commits

Author SHA1 Message Date
Ricardo Mones
37794f6a74 Fix frequently ocurring typos :) 2016-05-01 16:56:18 +02:00
Ricardo Mones
437f56ed66 Fix some typos in perl plugin's manpage 2016-05-01 16:51:10 +02:00
Andrej Kacian
758a6b1256 Fix behavior in selecting PGP MIME signature on Windows.
With old argument order, gpgme_op_verify() returned "empty signature"
error on Windows, for reasons unknown.
2016-04-28 12:01:10 +02:00
Andrej Kacian
fc35f5b0e9 Use correct dir separator for "Scanning folder ..." in statusbar. 2016-04-26 10:21:22 +02:00
Andrej Kacian
e895ed1467 More fixes for the Windows native file choosers.
Filter string should be terminated with two nuls.
Save dialog did not show for message parts which have no
attachment name.
2016-04-22 20:04:02 +02:00
Andrej Kacian
61383c66ea Disallow folder names ending with a space on Windows.
Closes bug #2781.
2016-04-22 13:31:41 +02:00
Andrej Kacian
f324ae742a Make Windows native file/dir choosers work with non-ASCII characters.
Also, make the save chooser supply the correct attachment
file name by default, just like the GTK+ one does.
2016-04-22 10:05:57 +02:00
Andrej Kacian
3f96e4596d Use native file and folder selection dialogs on Windows.
This is done by compiling in src/gtk/w32_filesel.c instead of
filesel.c on Windows. The Makefile.am logic mirrors the one from
src/common/.
2016-04-16 21:30:19 +02:00
Andrej Kacian
e630ef9df0 Show duration of PBKDF2 computation in debug output. 2016-04-11 18:30:18 +02:00
Andrej Kacian
1da0623169 Make double-click open edit dialog also for addressbook datasources.
For example, LDAP servers.
2016-04-10 00:57:15 +02:00
Andrej Kacian
c3345bcdef Prevent an unlikely crash during RSSyl feed properties save.
This is just to shut Coverity up, I don't think it could
ever crash this way.
2016-04-09 18:06:26 +02:00
Andrej Kacian
8d59235e93 Addressbook now uses password store for LDAP passwords. 2016-04-09 18:03:01 +02:00
Andrej Kacian
39a8fb83ee Remove password from passwordstore when deleting a RSSyl feed. 2016-04-09 15:43:02 +02:00
Andrej Kacian
c093e11acb Update passwordstore if RSSyl feed's URL gets changed. 2016-04-09 15:28:06 +02:00
Andrej Kacian
605671c5d1 Fix crash on deleting password from passwordstore. 2016-04-09 15:21:13 +02:00
Andrej Kacian
1f8a15286c Remove obsolete comment in RSSyl's OPML import. 2016-04-09 12:01:54 +02:00
Andrej Kacian
7c87afdcbc Fix parsing logic in RSSyl OPML import.
Possibly closes bug #3623.
2016-04-09 10:57:48 +02:00
Andrej Kacian
5b146e9eaa Close PRNG source after reading our PBKDF2 salt from it. 2016-04-08 14:50:45 +02:00
Andrej Kacian
ffd418aaa7 Use PBKDF2 with HMAC-SHA1 for master passphrase in clawsrc.
The 64 bytes long key derivation is stored in 'master_passphrase'
pref, together with number of rounds used in its computation.

Introducing also two new common prefs:
master_passphrase_salt - holds a randomly generated 64 bytes
  for use as salt with PBKDF2. Base64-encoded.
master_passphrase_pbkdf2_rounds - number of rounds (or
  iterations) for next passphrase key derivation

The latter can be tweaked by user in case they want to use more
or less rounds, e.g. if they're running on weaker hardware and
KD with default number of rounds takes too long.
2016-04-08 10:05:37 +02:00
Andrej Kacian
e63f8db4c7 Added PBKDF2 implementation, copied from OpenBSD. 2016-04-08 10:05:37 +02:00
Andrej Kacian
b998857198 Update plugins' claws.def filess for Windows build. 2016-04-06 14:53:57 +02:00
Andrej Kacian
75dba924fd Remove unneeded plugin_master_passphrase_change(). 2016-04-06 14:53:37 +02:00
Holger Berndt
3404740af6 Python plugin: Add set_header_list() function for ComposeWindow objects 2016-04-05 21:16:04 +02:00
Andrej Kacian
497cfad48d RSSyl: zero out password variables after migration to password store 2016-04-02 17:07:35 +02:00
Andrej Kacian
08ed4047b2 Make RSSyl plugin use the password store. 2016-04-02 17:01:44 +02:00
Andrej Kacian
7789c3acba Move RSSyl plugin name to a macro. 2016-04-02 17:01:44 +02:00
Ricardo Mones
a1bb5a0004 Fix some odd debug outputs 2016-04-02 15:41:04 +02:00
wwp
0a55c9ba37 Make use of GNUTLS_CFLAGS to compile. 2016-04-01 13:49:26 +02:00
Colin Leroy
c98793ac05 Fix cast issue 2016-03-31 19:55:49 +02:00
Andrej Kacian
1da6103b4a Migrate GData plugin refresh token to password store correctly. 2016-03-31 15:18:40 +02:00
Andrej Kacian
14f31efdd6 Migrate SpamReport passwords to password store correctly. 2016-03-30 23:05:35 +02:00
Andrej Kacian
c6bdd4be68 Make vCalendar plugin use the password store. 2016-03-30 23:05:35 +02:00
Andrej Kacian
73e0a2e640 Rewrite unfold_line() to handle UTF8 line breaks.
This closes bug #3629 - Invalid subject can distort
message list view
2016-03-30 18:21:08 +02:00
Colin Leroy
57e0b0d5d8 Merge branch 'master' of ssh://git.claws-mail.org/home/git/claws 2016-03-28 00:00:41 +02:00
Andrej Kacian
6422829a0d Fix incorporation dialog focus with master passphrase dialog. 2016-03-25 12:15:23 +01:00
Ricardo Mones
189829e2c2 Remove dead code when the #ifndef is true 2016-03-25 01:23:18 +01:00
Andrej Kacian
f268c3466a Set empty block->entries to NULL in passwd_store_delete_block(). 2016-03-24 21:40:39 +01:00
Andrej Kacian
a9ead9d10f Empty account block in password store when deleting an account.
This effectively deletes it, as empty password blocks are
not saved to disk.
2016-03-24 20:39:26 +01:00
Andrej Kacian
0970a98384 Fix crash in rare corner case in password en/decryption. 2016-03-24 08:43:58 +01:00
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
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
79d63f051b Change default show/hide shortcut to Ctrl+F12. 2016-03-19 11:09:18 +01:00