patrickfav / armadillo

A shared preference implementation for confidential data in Android. Per default uses AES-GCM, BCrypt and HKDF as cryptographic primitives. Uses the concept of device fingerprinting combined with optional user provided passwords and strong password hashes.
https://favr.dev/opensource/armadillo
Apache License 2.0
280 stars 52 forks source link

Improve RecoveryPolicy #35

Closed patrickfav closed 6 years ago

patrickfav commented 6 years ago

When a value cannot be decrypted, the recovery policy currently only lets you delete and/or throw an exception.

The policy should be extended so a developer can, in more fine-grain detail choose what to do. This should not be a full blown migration feature (which is more a part of #31 ). But give the developer full control on what to do (e.g. call a crash reporting tool, etc.)