efl/src/lib
Jiwon Kim 9fa4a5fb6d eet: read sould be failed if cipher_key exist but file not ciphered
Summary:
Currentely, if eet_read_cipher()'s cipher_key param is exist but file
not ciphered, function always read and return successful result.
But, this behavior can not check data integrity.

e.g.
1. App create config file using eet with encryption key.
2. Attacker replace config to malicious config (not encryted).
3. App can not notice if eet_read_cipher() read that successfully.

@fix

Test Plan:
$eet -e test.cfg my_config test.src 1
$eet -d test.cfg my_config decode_res.txt my_encrytion_key

(Currentely decode success, but should be failed)

Reviewers: woohyun, raster

Subscribers: id213sin, akanad, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4563

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-02-07 15:14:54 -08:00
..
ecore doxygen: fix typo, cacologique expressions in API reference doxygen. 2017-02-07 13:28:50 -08:00
ecore_audio eolian: change eo file syntax @virtual_pure -> @pure_virtual 2017-01-13 15:44:09 +01:00
ecore_avahi
ecore_buffer doxygen: remove reference warnings. 2016-12-20 16:39:30 -08:00
ecore_cocoa ecore_cocoa: fix handling of some keys 2016-10-30 16:46:30 +01:00
ecore_con ifdef RUN_IN_TREE logic. 2017-02-03 12:36:38 -02:00
ecore_drm
ecore_drm2 ecore-drm2: Add API function to set output rotation 2017-01-18 11:29:14 -05:00
ecore_evas ecore_evas: use ecore_timer_loop_add for idle timeout update 2017-02-03 15:54:48 -06:00
ecore_fb eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ. 2017-01-06 15:58:46 -08:00
ecore_file cmake: add ecore_file. 2017-02-02 17:15:31 -02:00
ecore_imf ifdef RUN_IN_TREE logic. 2017-02-03 12:36:38 -02:00
ecore_imf_evas
ecore_input cmake: add ecore_input 2017-02-03 11:14:45 +01:00
ecore_input_evas eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ. 2017-01-06 15:58:46 -08:00
ecore_ipc cmake: add ecore_ipc. 2017-02-02 17:15:31 -02:00
ecore_psl1ght
ecore_sdl
ecore_wayland ecore_wayland: fix over writing file descriptor bug for reading 2016-11-18 19:53:15 +09:00
ecore_win32 Ecore_win32: do not handle WM_SYSKEY* events. 2016-12-20 08:35:32 +02:00
ecore_wl2 ecore_wl2: Make www events opt-in 2017-02-01 16:21:34 -06:00
ecore_x cmake: add ecore_x 2017-02-07 09:24:52 +01:00
ector cmake: fix make-clean as add_custom_command() deletes output files. 2017-01-27 13:42:29 -02:00
edje edje_load: fix mirroring bug with GROUP, BOX, or TABLE part 2017-02-07 14:17:47 -08:00
eet eet: read sould be failed if cipher_key exist but file not ciphered 2017-02-07 15:14:54 -08:00
eeze ifdef RUN_IN_TREE logic. 2017-02-03 12:36:38 -02:00
efl efl: add efl_model and efl_ui_view classes 2017-02-06 15:26:21 -08:00
efreet eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ. 2017-01-06 15:58:46 -08:00
eina eina_file: add eina_file_unlink 2017-02-07 15:14:54 -08:00
eio cxx: Modify how to generate C++ headers and allow cyclic dependencies 2017-01-18 22:47:04 -02:00
eldbus cmake: add eldbus. 2017-01-26 16:16:15 -02:00
elementary elementary: set mirrored mode in a group_add() 2017-02-07 15:14:54 -08:00
elocation
elput elput: Fix async input shutdown during init 2017-02-07 16:53:09 -06:00
elua elua: load modules from local dirs first 2016-08-08 14:38:39 +01:00
embryo cmake: add embryo. 2017-01-26 16:36:21 -02:00
emile emile: don't use APIs deprecated in openssl-1.1 2017-02-07 14:17:47 -08:00
emotion ifdef RUN_IN_TREE logic. 2017-02-03 12:36:38 -02:00
eo efl: add efl_model and efl_ui_view classes 2017-02-06 15:26:21 -08:00
eolian build: add eolian 2017-01-23 18:52:34 +01:00
eolian_cxx eolian-cxx: Add all cases in switch to remove warning 2017-01-18 23:07:46 -02:00
ephysics
escape
ethumb ifdef RUN_IN_TREE logic. 2017-02-03 12:36:38 -02:00
ethumb_client
evas evas_async_events: integrated Ecore_Pipe in evas_async_events 2017-02-07 14:17:47 -08:00
evil evil: include "sys/types.h" where is define off_t 2017-01-17 14:54:09 +02:00
.gitignore cxx: Modify how to generate C++ headers and allow cyclic dependencies 2017-01-18 22:47:04 -02:00
CMakeLists.txt build: switch eina to half baked cmake 2017-01-23 18:23:40 +01:00