dicekeys / dicekeys-android

DiceKeys for Android
13 stars 1 forks source link

Use JsonNames to support deprecated names instead of preserving them #190

Closed UppaJung closed 2 years ago

UppaJung commented 2 years ago

Rather than preserving deprecated names indefinitely where they might confuse someone debugging raw JSON, can we migrate away from them using JsonNames?

https://github.com/dicekeys/dicekeys-android/blob/dbbd80b4061353fd5b088f51ff26202c84bbb2f1/app/src/main/java/org/dicekeys/app/encryption/AppKeyStore.kt#L47-L50

https://github.com/dicekeys/dicekeys-android/blob/f9623c9d0e323b1ac3c651a570223d4a06469459/app/src/main/java/org/dicekeys/app/encryption/EncryptedDiceKey.kt#L19

https://github.com/dicekeys/dicekeys-android/blob/3acb14a7a657bd5c1c8f04b06b5f4c097d739803/app/src/main/java/org/dicekeys/app/encryption/EncryptedData.kt#L20

https://github.com/dicekeys/dicekeys-android/blob/f9623c9d0e323b1ac3c651a570223d4a06469459/api/src/main/java/org/dicekeys/api/DerivationRecipe.kt#L50