Commit Graph

69 Commits

Author SHA1 Message Date
Daira Emma Hopwood 8ea921667d Daira Hopwood -> Daira Emma Hopwood.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-03-02 12:13:07 +00:00
Daira Hopwood 54359a8809 Update the status of all NU5 ZIPs to Final.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-06-22 22:21:35 +01:00
Daira Hopwood e4ed372840 ZIP 316: specify that at least the first 20 characters of a UA/UVK MUST be shown.
fixes #571

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-28 21:09:04 +01:00
Daira Hopwood ae1180f6d3 ZIP 316: make the limitation on total size of encodings more explicit.
fixes #570

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-18 22:25:47 +01:00
Daira Hopwood 81af218ef3 ZIP 316: further clarify which OVK is to be used when the sending Account is undetermined.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-07 14:51:53 +00:00
Daira Hopwood 8b8b3f7c5d ZIP 316: UAs can be used in Payment Requests without any change to ZIP 321.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-19 19:00:52 +00:00
Daira Hopwood c562b100f8 ZIP 316: add "Usage of Outgoing Viewing Keys" section.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-19 19:00:52 +00:00
Daira Hopwood ca302f40ef ZIPs 32 and 316: update and correct protocol spec references.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-19 19:00:52 +00:00
Daira Hopwood d27d2fd836 ZIP 316: Clarify that UAs/UVKs MUST contain at least one shielded item. This is stronger than
the former requirement that a UA/UVK MUST NOT contain only P2SH or P2PKH items, due to the
existence of Typecodes that are not currently defined.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-19 19:00:51 +00:00
Daira Hopwood 4683507160 ZIP 316: add Deriving Internal Keys section, and minor cleanups.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-19 19:00:51 +00:00
Daira Hopwood 7b70d343b7 ZIP 316: link to the section of the protocol spec describing QR encoding.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-19 19:00:51 +00:00
Daira Hopwood ee70cc53c3 ZIP 316: update Acknowledgements.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-28 15:30:44 +00:00
Daira Hopwood 1d75ed6548 ZIP 316: more changes to include UVKs and Metadata Items where applicable.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-28 15:30:15 +00:00
Daira Hopwood 2d5159361e ZIP 316: add rationale for unlinkable address derivation, with a caveat about Metadata Items.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-28 13:39:01 +00:00
Daira Hopwood b7e69cc10a ZIP 316: add rationale for requiring ordering by Typecode.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-28 13:39:01 +00:00
Daira Hopwood e8df7fbb65 ZIP 316: unrecognized metadata items should be dropped when deriving UFVK -> UIVK and UIVK -> UA.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-28 13:14:17 +00:00
Daira Hopwood 06b945bfe7 ZIP 316: change ordering of items.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-22 19:08:13 +00:00
Daira Hopwood 22840e1fc5 ZIP 316: clarify usage of Metadata Items and experiments.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-22 19:07:46 +00:00
Daira Hopwood 1a59063e81 ZIP 316: correct the rationale for the minimum size of the Bech32m-decoded byte sequence.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-22 19:07:19 +00:00
Daira Hopwood 4a23875519 ZIP 316: Clarify derivation of P2PKH IVK from FVK.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 23:46:09 +00:00
Deirdre Connolly 96c5ad3f69 ZIP 316: Clarify position of Transparent IVKs in the key tree.
Co-authored-by: Kris Nuttycombe <kris.nuttycombe@gmail.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 23:34:12 +00:00
Deirdre Connolly 110fe1a84e ZIP 316: Update wording for Transparent P2PKH Receiver derivation.
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 23:32:02 +00:00
Daira Hopwood d325f0b3b4 ZIP 316: Fix link.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:29:03 +00:00
Daira Hopwood 0e83a55a05 ZIP 316: Clarify requirements for HD-derived items and remove redundancy.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 208d9b39c1 ZIP 316: Update Sapling and transparent viewing key encodings.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Jack Grigg 026977744c ZIP 316: Fix bug in transparent constraint on diversifier index
The largest valid integer for any BIP 32 path element with a defined
hardening state (in this case, non-hardened) is 2^32 - 1 (being the
31-bit integer with all bits set to 1). The range of valid diversifier
indices for transparent-including UAs is defined as end-inclusive in
the ZIP, but used the end-exclusive bound 2^32.
2021-12-08 00:27:08 +00:00
Jack Grigg 78b7d8489f ZIP 32: Revert all refinements
The hardened change path approach is being dropped. ZIP 316 will include
separate amendments (to be made later) that derive change addresses
within each protocol's key tree, instead of at the spend authorization
level.
2021-12-08 00:27:08 +00:00
Daira Hopwood 9a4df93e97 Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 5c402793c3 Corrections for Orchard Viewing Keys.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 880bf02301 Don't use UFVK or UIVK when referring to Viewing Key components.
(A UFVK or UIVK is properly only the whole thing.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood b85a249a59 ZIP 316: clarify how P2PKH addresses are derived.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 4d0477ce5f ZIPs 32 and 316: refine how UIVK components are derived for Orchard and Transparent P2PKH.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood d4cddc0615 ZIP 316: correct wording that assumed zero padding (i.e. had not been updated for inclusion of HRP).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-21 11:16:13 +01:00
Daira Hopwood 96277a1a14 ZIP 316: Expand "Message Authentication Code", and a wording improvement.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 15:30:56 +01:00
Daira Hopwood 39998c226c ZIP 316: Clarify wording for UFVK or UIVK Encoding, and the reason why P2SH UFVK/UIVKs are not supported.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:41:27 +01:00
Daira Hopwood 0e057c3c8c ZIP 316: Clarify that the experimental Typecodes are for use before proposing a ZIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:33:50 +01:00
Daira Hopwood 17229163f9 ZIP 316: Define a named constant \ell^MAX_M to replace the magic number 4194368.
Also define \ell_H = 64.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:26:58 +01:00
Daira Hopwood 067befbb08 ZIP 316: The P2PKH extended public key format can be used in place of a P2PKH-only UFVK/UIVK.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:21:18 +01:00
Daira Hopwood a00006d7bd ZIP 316: Clarify conformance levels.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:03:43 +01:00
Daira Hopwood ed4ba8d38b ZIP 316: Update references to the protocol spec and add reference to spec notation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:59:53 +01:00
Daira Hopwood 2d20028ecf ZIP 316: Remove an incorrect parenthetical about the memory usage of streamed unjumbling.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:59:53 +01:00
Daira Hopwood 460c5b2ccc ZIP 316: Require that `typecode` and `length` are <= 0x2000000.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:59:53 +01:00
Daira Hopwood d6a32d4757 ZIP 316: Resolve a TODO by punting to ZIP 315.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:59:53 +01:00
Daira Hopwood 986b9dedfe ZIP 316: Improve definitions, requirements, and specification for viewing keys.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:59:53 +01:00
Daira Hopwood 0c14637429 ZIP 316: Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:55:19 +01:00
Daira Hopwood cf0219cd67 ZIP 316: Clarify a security requirement for streamed calculation of F4Jumble^-1.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:51:16 +01:00
Daira Hopwood 6611f7a245 ZIP 316: Updates for longer UAs/UVKs and experimental types.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:51:04 +01:00
Daira Hopwood e309225495 ZIP 316: Update terminology to better account for viewing keys.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-15 21:07:11 +01:00
Daira Hopwood 5e0769d295 Include the Human-Readable Part in the padding used to check for malleation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 23:51:02 +01:00
Daira Hopwood 5d98ec714a Add Human-Readable Parts for UVKs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 23:50:01 +01:00