From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WhOhW-0004eF-1I for bitcoin-development@lists.sourceforge.net; Mon, 05 May 2014 19:37:22 +0000 X-ACL-Warn: Received: from mail-qa0-f43.google.com ([209.85.216.43]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1WhOhU-0002ob-6u for bitcoin-development@lists.sourceforge.net; Mon, 05 May 2014 19:37:21 +0000 Received: by mail-qa0-f43.google.com with SMTP id m5so4360138qaj.30 for ; Mon, 05 May 2014 12:37:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=r7Ka2egD1TEvUqfzHHr4i8m7HMi4qaqg5FYUXhPa7xE=; b=J0yBrZ2oWwyjkgJuEV03dd4ncHjJZClv5MwIyom64BvBZy/VEymTJDullLCqWwt+zO as3OooYP6eqmdnNRUyM18a8x44cqcSKb5Qq3Be5SjlZjdBebeUQVHi4gdRDnRRUkaYC3 jgeVrAA3l4XQB4SqRjpzAQcuWw+Kur4AAij867OLR8jmWoNmgZ79uC4z3TWWNHlv1j7o xN/DodGH/McMjqBBSw1gi+VN5Ul5/T8kB7yuldqXcSmWhwh3ZlpQhrTJ4eruIbsBUSn6 ORBfW36ULG4ZFasUWPEG2PxTUv9hXPVqZP4+vn72Ox1n6L7pb0WqGInqm+foa8s7P1a2 f+dw== X-Gm-Message-State: ALoCoQnPfqUZG6x/vamTHBzDqs05mzwM0s+ByQ7ENE3oVWYoM2PbXvu+LDgEzZCG32NkVGgovoxB X-Received: by 10.140.80.229 with SMTP id c92mr44339662qgd.79.1399318634472; Mon, 05 May 2014 12:37:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.150.137 with HTTP; Mon, 5 May 2014 12:36:54 -0700 (PDT) X-Originating-IP: [62.228.64.247] In-Reply-To: References: <1927948.OEZHQcsQ9n@crushinator> <2025496.b5Y3n7qx8B@crushinator> <1582E990-4E14-4EF7-9C9C-AA505B815104@bitsofproof.com> <53568B87.8040009@monetize.io> <11528A13-5D66-4D2B-BEE0-1C26F9987BC8@bitsofproof.com> <621AAD7D-FDC0-4C3C-B810-8C1F0B088586@bitsofproof.com> From: Nikita Schmidt Date: Mon, 5 May 2014 22:36:54 +0300 Message-ID: To: Gregory Maxwell Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1WhOhU-0002ob-6u Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Presenting a BIP for Shamir's Secret Sharing of Bitcoin private keys X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 19:37:22 -0000 A fork of Matt's proposal converted to GF(2^8) is here: https://github.com/cetuscetus/btctool/blob/bip/bip-xxxx.mediawiki Other changes include: - only six application/version bytes are allocated, which is the minimum to ensure that the encoded form starts with S in all cases; - encoded prefixes are SK/SL for a shared private key (mainnet/testnet) and SS/ST for a shared BIP32 seed; - the only hash function in use is SHA-256, which is the all-purpose hash function in the Bitcoin protocol; - double SHA is used for similarity with Bitcoin, although Jan and I believe single SHA is enough in this application; - bias-less encoding of M and x, because there can't be more than 255 shares over GF(2^8). On 23 April 2014 09:16, Gregory Maxwell wrote: > On Tue, Apr 22, 2014 at 10:33 PM, Tamas Blummer wrote: >> So you agree, that SSS should not contain specific flag for testnet? >> >> Or for that matter not even BIP32 needs them since it is not an address to >> send to. > > I think the convention we have so far is that addresses and address > relate thing we share normally contain an opaque 'version' identifier > which we use to identify the purpose for the data (E.g. network > meaning, etc.) and I think its a generally reasonable custom. > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development