flutter_secure_storage
flutter_secure_storage copied to clipboard
Why aesPreferencesKey is hardcoded?
Hi! Could you please tell me why aesPreferencesKey is hardcoded and why it's even needed? I'm passing through security audit and pen-testers were able to grep
protected String getAESPreferencesKey() {
return "VGhpcyBpcyB0aGUga2V5IGZvciBhIHNlY3VyZSBzdG9yYWdlIEFFUyBLZXkK";
}
that is hardcoded in the file flutter_secure_storage/android/src/main/java/com/it_nomads/fluttersecurestorage/ciphers/StorageCipher18Implementation.java
I'm trying to get an idea what it does, so please consider this issue as a discussion 🙏 Any comments?