diff options
Diffstat (limited to 'source/storage')
| -rw-r--r-- | source/storage/KeyManager.mc | 2 | ||||
| -rw-r--r-- | source/storage/Vault.mc | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/storage/KeyManager.mc b/source/storage/KeyManager.mc index 47dbd59..9b2b3c6 100644 --- a/source/storage/KeyManager.mc +++ b/source/storage/KeyManager.mc @@ -58,7 +58,7 @@ class KeyManager { _store.setValue(DEVICE_KEY, raw); } keys = new SealedBox.Keys(raw); - _fingerprintKey = Kdf.hkdf(raw, []b, Bytes.fromUtf8("OTPW fp v1"), KEY_BYTES); + _fingerprintKey = Hkdf.derive(raw, []b, Bytes.fromUtf8("OTPW fp v1"), KEY_BYTES); Bytes.wipe(raw); _deviceKeys = keys; return keys; diff --git a/source/storage/Vault.mc b/source/storage/Vault.mc index 88054e0..fcd973f 100644 --- a/source/storage/Vault.mc +++ b/source/storage/Vault.mc @@ -34,6 +34,9 @@ class Vault { // The "Encrypt names" setting: new entries keep their names in the // encrypted part (existing ones are converted by AboutScan). var encryptNames as Boolean = false; + // The "Show the favourite code in the glance" option (AppState); the + // About scan stores or removes the glance item by it (GlanceStore). + var glanceCode as Boolean = false; private var _store as Persist.Backend; private var _meta as Dictionary<Application.Storage.KeyType, Application.Storage.ValueType>; |
