fn decrypt_for_blob_upgrade(
cipher: &Cipher,
current_key: SymmetricKeySlotId,
new_key: SymmetricKeySlotId,
ctx: &mut KeyStoreContext<'_, KeySlotIds>,
) -> Result<CipherView, DataReencryptionError>Expand description
Decrypts a legacy cipher into a view ready to be re-sealed as a blob under new_key.
The returned view carries a per-item cipher key wrapped under new_key, with its sub-keys
(attachment keys, FIDO2 credentials) wrapped under that cipher key.