-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
The language of MMKV
C++
The version of MMKV
2.3.0
The platform of MMKV
iOS
The installation of MMKV
CocoaPods
What's the issue?
When creating an encrypted instance using an encryption key + the default AES-128 encryption and then removing encryption again via reKey(""), isEncryptionEnabled() still returns true.
Is this expected?
What's the log of MMKV when that happened?
creating encrypted instance...
[MMKV] Creating MMKV instance "some-id-s"... (Path: , Encrypted: true)
'isEncrypted:', true
removing encryption key (reKey(""))...
[I] <MemoryFile.cpp:102::open> open fd[11], flag 0x7, /Users/mrousavy/Library/Containers/62A6C3FE-5E94-4215-A0D9-B2E0975796D3/Data/Documents/mmkv/some-id-s.crc
[I] <MemoryFile.cpp:108::close> closing fd[11], /Users/mrousavy/Library/Containers/62A6C3FE-5E94-4215-A0D9-B2E0975796D3/Data/Documents/mmkv/some-id-s.crc
[I] <MemoryFile.cpp:102::open> open fd[11], flag 0x7, /Users/mrousavy/Library/Containers/62A6C3FE-5E94-4215-A0D9-B2E0975796D3/Data/Documents/mmkv/some-id-s
[I] <MemoryFile.cpp:108::close> closing fd[11], /Users/mrousavy/Library/Containers/62A6C3FE-5E94-4215-A0D9-B2E0975796D3/Data/Documents/mmkv/some-id-s
[I] <MMKV_IO.cpp:91::loadFromFile> loading [some-id-s] with 0 actual size, file size 16384, InterProcess 0, meta info version:0
[I] <MMKV_IO.cpp:142::loadFromFile> loaded [some-id-s] with 0 key-values
[I] <MMKV_IO.cpp:1394::reKey> reKey to no aes key
[I] <MMKV_IO.cpp:1480::clearAll> cleaning all key-values from [some-id-s]
[I] <MMKV_IO.cpp:1494::clearAll> nothing to clear for [some-id-s]
[I] <MMKV.cpp:314::clearMemoryCache> clearMemoryCache [some-id-s]
'isEncrypted:', true
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels