diff --git a/components/zcash_note_encryption/CHANGELOG.md b/components/zcash_note_encryption/CHANGELOG.md index 8c3b50b35..694142b0e 100644 --- a/components/zcash_note_encryption/CHANGELOG.md +++ b/components/zcash_note_encryption/CHANGELOG.md @@ -7,6 +7,16 @@ and this library adheres to Rust's notion of ## [Unreleased] +### Changed +- The `esk` and `ephemeral_key` arguments have been removed from + `Domain::parse_note_plaintext_without_memo_ovk`. It is therefore no longer + necessary (or possible) to ensure that `ephemeral_key` is derived from `esk` + and the diversifier within the note plaintext. We have analyzed the safety of + this change in the context of callers within `zcash_note_encryption` and + `orchard`. See https://github.com/zcash/librustzcash/pull/848 and the + associated issue https://github.com/zcash/librustzcash/issues/802 for + additional detail. + ## [0.3.0] - 2023-03-22 ### Changed - The `recipient` parameter has been removed from `Domain::note_plaintext_bytes`. diff --git a/components/zcash_note_encryption/src/lib.rs b/components/zcash_note_encryption/src/lib.rs index a6b42f89c..75fcb2fc4 100644 --- a/components/zcash_note_encryption/src/lib.rs +++ b/components/zcash_note_encryption/src/lib.rs @@ -237,8 +237,6 @@ pub trait Domain { fn parse_note_plaintext_without_memo_ovk( &self, pk_d: &Self::DiversifiedTransmissionKey, - esk: &Self::EphemeralSecretKey, - ephemeral_key: &EphemeralKeyBytes, plaintext: &NotePlaintextBytes, ) -> Option<(Self::Note, Self::Recipient)>; @@ -654,7 +652,7 @@ pub fn try_output_recovery_with_ock