forked from Qortal/qortal
Log exception if AES decryption fails using specific algorithm settings.
This commit is contained in:
parent
3612fd8257
commit
4d97586f82
@ -414,6 +414,7 @@ public class ArbitraryDataReader {
|
||||
this.decryptUsingAlgo("AES/CBC/PKCS5Padding");
|
||||
|
||||
} catch (DataException e) {
|
||||
LOGGER.info("Unable to decrypt using specific parameters: {}", e.getMessage());
|
||||
// Something went wrong, so fall back to default AES params (necessary for legacy resource support)
|
||||
this.decryptUsingAlgo("AES");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user