VaultSnapshot.kt

729 B · raw

1package com.peachpasswords.vault23import kotlinx.serialization.Serializable45@Serializable6data class VaultSnapshot(7    val id: String,8    val savedAt: Long,9    val reason: String,10    val vault_a: String,11    val vault_b: String,12    // H-04: duress slot was always present at capture time but omitted from13    // the snapshot — restore then re-wrote noise over the duress slot on14    // Android and over slot B on the browser, both observable forensic tells.15    // Null on snapshots captured before this field existed; restore falls back16    // to a fake duress slot of matching size so the at-rest shape stays17    // indistinguishable across restores.18    val vault_d: String? = null,19    val entryCount: Int? = null,20)