efl/src
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
..
benchmarks
bin ifdef RUN_IN_TREE logic. 2017-02-03 12:36:38 -02:00
bindings eina_file: add eina_file_unlink 2017-02-07 15:14:54 -08:00
edje_external edje_external Multibuttonentry: Fix useless logic. 2016-11-30 13:22:29 +09:00
examples efl: add efl_model and efl_ui_view classes 2017-02-06 15:26:21 -08:00
generic eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ. 2017-01-06 15:58:46 -08:00
lib eet: read sould be failed if cipher_key exist but file not ciphered 2017-02-07 15:14:54 -08:00
modules evas gl common - reduce data structure sizes got gl common context 2017-02-01 16:08:04 +09:00
scripts docgen: link to the method an overriden one overrides 2017-01-26 17:52:00 +01:00
static_libs cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage. 2017-01-27 12:52:14 -02:00
tests eina_file: add eina_file_unlink 2017-02-07 15:14:54 -08:00
utils/ecore
wayland_protocol ecore_wl2: Auto generate www protocol 2017-01-18 13:04:48 -06:00
CMakeLists.txt build: switch eina to half baked cmake 2017-01-23 18:23:40 +01:00
CMakeLists_Eina.txt build: switch eina to half baked cmake 2017-01-23 18:23:40 +01:00
Makefile.am build: Add rules to auto-generate wayland headers from protocol xml 2017-01-18 13:04:47 -06:00
Makefile_Cxx.am Rename Efl.hh to Efl.eo.hh in CLEANFILES 2017-01-19 22:48:59 -02:00
Makefile_EPhysics.am
Makefile_Ecore.am efl: add composite model for boolean properties 2017-02-06 15:26:27 -08:00
Makefile_Ecore_Audio.am
Makefile_Ecore_Avahi.am
Makefile_Ecore_Buffer.am
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am ecore_con - move libproxy to a slave binary with stdin/out msging 2017-01-09 15:29:33 +09:00
Makefile_Ecore_Drm.am
Makefile_Ecore_Drm2.am
Makefile_Ecore_Evas.am
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am build: Fix screw up with wayland header auto generation 2017-02-01 11:29:40 -06:00
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Js.am
Makefile_Ecore_Psl1ght.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am
Makefile_Ecore_Wl2.am build: Fix screw up with wayland header auto generation 2017-02-01 11:29:40 -06:00
Makefile_Ecore_X.am ecore_x: we dont need this version file anymore 2017-02-07 09:24:52 +01:00
Makefile_Ector.am cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage. 2017-01-27 12:52:14 -02:00
Makefile_Edje.am
Makefile_Edje_Helper.am
Makefile_Eet.am
Makefile_Eet_Helper.am
Makefile_Eeze.am eeze: move binaries into subdirectories 2017-02-03 10:59:04 +01:00
Makefile_Efl.am efl: add composite model for boolean properties 2017-02-06 15:26:27 -08:00
Makefile_Efl_Js.am eolian-js: Fix compilation of JavaScript binding 2016-11-29 16:43:09 -02:00
Makefile_Efreet.am
Makefile_Eina.am fix build with split eina_modinfo directory. 2017-01-23 18:01:07 -02:00
Makefile_Eio.am
Makefile_Eldbus.am eldbus: add test suite for eldbus (eldbus_message*) 2017-02-07 13:25:47 -08:00
Makefile_Elementary.am efl: add efl_model and efl_ui_view classes 2017-02-06 15:26:21 -08:00
Makefile_Elocation.am
Makefile_Elput.am elput: Add API functions to enable/disable tap-and-drag 2016-12-14 09:18:14 -05:00
Makefile_Elua.am
Makefile_Elua_Helper.am
Makefile_Embryo.am
Makefile_Emile.am
Makefile_Emotion.am
Makefile_Eo.am eo: do not use eina_trash when running on valgrind. 2016-12-03 10:35:27 -02:00
Makefile_Eolian.am eolian tests: pass in generator path externally 2017-01-23 16:14:00 +01:00
Makefile_Eolian_Cxx.am cxx: Modify how to generate C++ headers and allow cyclic dependencies 2017-01-18 22:47:04 -02:00
Makefile_Eolian_Cxx_Helper.am
Makefile_Eolian_Files_Helper.am
Makefile_Eolian_Helper.am
Makefile_Eolian_Js.am eolian-js: Fix compilation of JavaScript binding 2016-11-29 16:43:09 -02:00
Makefile_Eolian_Js_Helper.am
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am build: Fix screw up with wayland header auto generation 2017-02-01 11:29:40 -06:00
Makefile_Evil.am