summaryrefslogtreecommitdiff
path: root/src/core/wee-secure.c
AgeCommit message (Collapse)Author
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04api: add functions string_base_{encode,decode}, remove functions ↵Sébastien Helleu
string_{encode,decode}_base64
2018-11-02core: add support of TOTP generation/validation (Time-based One-Time Password)Sébastien Helleu
2018-10-27core: split wee-secure.c into 3 files (secured data functions, buffer and ↵Sébastien Helleu
config)
2018-01-14core: reinitialize config file pointer to NULL after an error on section ↵Sébastien Helleu
creation
2018-01-05core: update copyright datesSébastien Helleu
2017-06-10core: remove unused functions secure_search_hash_algo and ↵Sébastien Helleu
secure_search_cipher (issue #1012)
2017-06-03core, script: remove unused config section variablesSimmo Saan
2017-01-01core: update copyright datesSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-01-01core: update copyright datesSébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-06-28core: allow ctrl-C to exit WeeChat when the passphrase is asked on startup ↵Sébastien Helleu
(closes #452)
2015-01-01core: update copyright datesSébastien Helleu
2014-06-28core: update message displayed when passphrase is not set on /secure bufferSébastien Helleu
2014-06-28core: do not display content of passphrase on /secure bufferSébastien Helleu
2014-02-22core: fix uninitialized value in functions secure_{encrypt|decrypt}_data (in ↵Sebastien Helleu
case of insufficient memory)
2014-01-01core: update copyright datesSebastien Helleu
2013-11-23core: free secured data on exitSebastien Helleu
2013-11-09core: remove unneeded warning when read of sec.conf fails (another warning ↵Sebastien Helleu
is already displayed)
2013-08-02core: change the message displayed when passphrase is not given on startupSebastien Helleu
2013-08-02core: remove use of function gcry_kdf_derive so that it compiles with ↵Sebastien Helleu
libgcrypt < 1.5.0 The key built with salt + passphrase has changed, so old encrypted data in file sec.conf can not be decrypted with this new version.
2013-08-02core: update translationsSebastien Helleu
2013-07-30core: in case of empty passphrase, keep encrypted data in memory until the ↵Sebastien Helleu
user runs /secure decrypt (with the good passphrase) If user gives no passphrase (for example one space when prompted), the encrypted data read in sec.conf will be stored in a separate hashtable. While this hashtable contains something, it is not allowed to do any operation on passphrase or secured data (and it is not allowed to reload sec.conf). The user can decrypt data with /secure decrypt <passphrase>.
2013-07-30core: use variable "items_count" directly from hashtable without calling ↵Sebastien Helleu
function hashtable_get_integer
2013-07-28core: add option sec.crypt.passphrase_fileSebastien Helleu
2013-07-27core: add secured data with optional encryption in file sec.confSebastien Helleu