From 3eb481c5519597584fb7a00203d81a6dce41a709 Mon Sep 17 00:00:00 2001 From: Hugo Nguyen Date: Mon, 19 Apr 2021 09:48:59 -0700 Subject: minor edit --- bip-hugonguyen-bsms.mediawiki | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/bip-hugonguyen-bsms.mediawiki b/bip-hugonguyen-bsms.mediawiki index cf2e9c9..afa4f47 100644 --- a/bip-hugonguyen-bsms.mediawiki +++ b/bip-hugonguyen-bsms.mediawiki @@ -158,6 +158,23 @@ Whereas: The MAC is to be sent along with the key and descriptor record, as specified above. Because it is a MAC over the entire plaintext, this is essentially an [https://en.wikipedia.org/wiki/Authenticated_encryption#Encrypt-and-MAC_(E&M) Encrypt-and-MAC] form of authenticated encryption. +===Descriptor Template=== +The output descriptor language only supports one-dimensional lists. This proposal introduces a descriptor template to represent multi-dimensional lists: + +XPUB/** + +Whereas ** can be replaced by any number of derivation paths. + +If there is a descriptor template in the descriptor record, Signers should expand the template into concrete descriptors by using the derivations paths provided in the record. + +For example, the following template and derivation paths: +* wsh(sortedmulti(2,XPUB1/**,XPUB2/**)) +* /0/*,/1/* + +Should translate to two concrete descriptors: +* wsh(sortedmulti(2,XPUB1/0/*,XPUB2/0/*)) +* wsh(sortedmulti(2,XPUB1/1/*,XPUB2/1/*)) + ==QR Codes== For signers that use QR codes to transmit data, key and descriptor records can be converted to QR codes, following [https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md the BCR standard]. @@ -176,23 +193,6 @@ Encryption helps improve the privacy of the wallet by avoiding sharing keys and If the parties wish to have stronger privacy, it is recommended to use a higher number of bits for the TOKEN, and to completely erase knowledge of the TOKEN after the multisig wallet has been set up. -==Descriptor Template== -The output descriptor language only supports one-dimensional lists. This proposal introduces a descriptor template to represent multi-dimensional lists: - -XPUB/** - -Whereas ** can be replaced by any number of derivation paths. - -If there is a descriptor template in the descriptor record, Signers should expand the template into concrete descriptors by using the derivations paths provided in the record. - -For example, the following template and derivation paths: -* wsh(sortedmulti(2,XPUB1/**,XPUB2/**)) -* /0/*,/1/* - -Should translate to two concrete descriptors: -* wsh(sortedmulti(2,XPUB1/0/*,XPUB2/0/*)) -* wsh(sortedmulti(2,XPUB1/1/*,XPUB2/1/*)) - ==Test Vectors== ===Mode: NO_ENCRYPTION=== -- cgit v1.2.3