Ignore failing row decryption during data removal 23/48123/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 14 Sep 2015 15:23:45 +0000 (17:23 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Mon, 14 Sep 2015 15:47:41 +0000 (08:47 -0700)
commit720242043b3488a5abf805424847e5cd087bd90b
tree3e21935e8d73f7e0e327a17a8592aa69a0bceceb
parent5f31a52e030adaf52e768886f3c10a138cf607e5
Ignore failing row decryption during data removal

[Problem] When data is removed we don't know the custom user password used to
protect the row. The row decryption is performed with empty password and may
fail.
[Solution] Because row will be deleted we can ignore the failing decryption.
This is a temporary solution. It won't work for tz-store. The problem will be
fixed when new encryption is applied.

[Verification] Run TCT tests.

Change-Id: I9c24704a83c5511bd53218738460f2b546c3dd05
src/manager/service/ckm-logic.cpp