summaryrefslogtreecommitdiffstats
path: root/src/crypt.c
AgeCommit message (Collapse)Author
2021-07-29patch 8.2.3245: the crypt key may appear in a swap partitionv8.2.3245Bram Moolenaar
Problem: The crypt key may appear in a swap partition. Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt, closes #8657)
2021-07-25patch 8.2.3218: when using xchaha20 crypt undo file is not removedv8.2.3218Christian Brabandt
Problem: When using xchaha20 crypt undo file is not removed. Solution: Reset 'undofile' and delete the file. (Christian Brabandt, closes #8630, closes #8467)
2021-06-21patch 8.2.3032: build problems with MSVC, other crypt issues with libsodiumv8.2.3032Christian Brabandt
Problem: Build problems with MSVC, other crypt issues with libsodium. Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set. Adjust error message used when key is wrong. Fix Coverity issues. (Christian Brabandt, closes #8420, closes #8411)
2021-06-21patch 8.2.3030: Coverity reports a memory leakv8.2.3030Dominique Pelle
Problem: Coverity reports a memory leak. Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
2021-06-20patch 8.2.3022: available encryption methods are not strong enoughv8.2.3022Christian Brabandt
Problem: Available encryption methods are not strong enough. Solution: Add initial support for xchaha20. (Christian Brabandt, closes #8394)
2019-11-30patch 8.1.2368: using old C style commentsv8.1.2368Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-25patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar
Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-04-27patch 8.1.1219: not checking for NULL return from alloc()v8.1.1219Bram Moolenaar
Problem: Not checking for NULL return from alloc(). Solution: Add checks. (Martin Kunev, closes #4303, closes #4174)
2019-04-21patch 8.1.1194: typos and small problems in source filesv8.1.1194Bram Moolenaar
Problem: Typos and small problems in source files. Solution: Small fixes.
2019-03-02patch 8.1.0989: various small code uglinessv8.1.0989Bram Moolenaar
Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-18patch 8.1.0773: not all crypt code is testedv8.1.0773Bram Moolenaar
Problem: Not all crypt code is tested. Solution: Disable unused crypt code. Add more test coverage.
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-01-30patch 7.4.1205v7.4.1205Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2014-11-12updated for version 7.4.509v7.4.509Bram Moolenaar
Problem: Users are not aware their encryption is weak. Solution: Give a warning when prompting for the key.
2014-08-13updated for version 7.4.404v7.4.404Bram Moolenaar
Problem: Windows 64 bit compiler warnings. Solution: Add type casts. (Mike Williams)
2014-08-10updated for version 7.4.399v7.4.399Bram Moolenaar
Problem: Encryption implementation is messy. Blowfish encryption has a weakness. Solution: Refactor the encryption, store the state in an allocated struct instead of using a save/restore mechanism. Introduce the "blowfish2" method, which does not have the weakness and encrypts the whole undo file. (largely by David Leadbeater)