You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, great package and was looking to integrate it into one of my projects.
Just have a small question regarding the value of AESIV and AESKey.
I noticed that in the latest version of the package (1.2.2), the values of these were changed as below SecureDefaults.AESIV -> SecureDefaults.v1.2.2.AESIV SecureDefaults.AESKey -> SecureDefaults.v1.2.2.AESKey
I just want to understand that are you planning to change it in every version to a newer value, based upon the version of the package.
If so, then i believe this would cause the key AESIV to be not found in the Keychain and thus causing a behaviour wherein the migrating between versions of SecureDefaults will cause the values stored in UserDefaults to not be found.
For eg, I started with the version 1.2.1 and then built the app.
Then when the version was upgraded to 1.2.2, then the var isKeyCreated gave false, becase _key could not be found in the Keychain, thus causing all the UserDefaults to be not accessible.
If the plan is something else, I would love to contribute to the same.
Description
Hey, great package and was looking to integrate it into one of my projects.
Just have a small question regarding the value of AESIV and AESKey.
I noticed that in the latest version of the package (1.2.2), the values of these were changed as below
SecureDefaults.AESIV
->SecureDefaults.v1.2.2.AESIV
SecureDefaults.AESKey
->SecureDefaults.v1.2.2.AESKey
I just want to understand that are you planning to change it in every version to a newer value, based upon the version of the package.
If so, then i believe this would cause the key AESIV to be not found in the Keychain and thus causing a behaviour wherein the migrating between versions of SecureDefaults will cause the values stored in UserDefaults to not be found.
For eg, I started with the version 1.2.1 and then built the app.
Then when the version was upgraded to 1.2.2, then the var
isKeyCreated
gave false, becase _key could not be found in the Keychain, thus causing all the UserDefaults to be not accessible.If the plan is something else, I would love to contribute to the same.
Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: