Re: [Bitcoin-development] unlinakble static address? spv-privacy (Re: Stealth Addresses)

2014-01-20 Thread Peter Todd
On Sat, Jan 18, 2014 at 11:44:52AM -0600, Troy Benjegerdes wrote:
  Ignoring prefixes the cost for each reusable address is only a small
  percentage of the full node cost (rational: each transaction has one
  or more ECDSA signatures, and the derivation is no more expensive), so
  I would only expect computation to be an issue for large centralized
  services. (non-full nodes suffer more from just the bandwidth impact).
 
 I have not seen anyone address my high-level question to (somewhat) 
 complicated
 mechanisms to keep coin flows private.
 
 Who pays for it? From what I see it's going to double the amount of data 
 needed per address, further centralizing 'full' nodes. I'm fine if the NSA

Actually the exact encoding is still undetermined - other encodings I
proposed in my original paper are the same size or even smaller than a
standard transaction.

-- 
'peter'[:-1]@petertodd.org
000190a2900f1a25c507a999fa6f7bd0126618c1ebc4f5fb


signature.asc
Description: Digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


[Bitcoin-development] BIP0039: Final call

2014-01-20 Thread slush
Hi all,

during recent months we've reconsidered all comments which we received from
the community about our BIP39 proposal and we tried to meet all
requirements for such standard. Specifically the proposal now doesn't
require any specific wordlist, so every client can use its very own list of
preferred words. Generated mnemonic can be then applied to any other
BIP39-compatible client. Please follow current draft at
https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.

Because we're quickly moving towards release of Trezor firmware and we need
to finalize this part of the firmware, we're asking for the last comments
to current BIP39 draft.

Thanks,
slush
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Mike Hearn
We have an implementation of the latest spec in bitcoinj, with the wordlist
provided by slush+stick. As far as I can see it's all working fine so LGTM
from us.


On Mon, Jan 20, 2014 at 5:42 PM, slush sl...@centrum.cz wrote:

 Hi all,

 during recent months we've reconsidered all comments which we received
 from the community about our BIP39 proposal and we tried to meet all
 requirements for such standard. Specifically the proposal now doesn't
 require any specific wordlist, so every client can use its very own list of
 preferred words. Generated mnemonic can be then applied to any other
 BIP39-compatible client. Please follow current draft at
 https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.

 Because we're quickly moving towards release of Trezor firmware and we
 need to finalize this part of the firmware, we're asking for the last
 comments to current BIP39 draft.

 Thanks,
 slush


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Bitcoin-development mailing list
 Bitcoin-development@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bitcoin-development


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Luke-Jr
On Monday, January 20, 2014 5:42:37 PM slush wrote:
 Hi all,
 
 during recent months we've reconsidered all comments which we received from
 the community about our BIP39 proposal and we tried to meet all
 requirements for such standard. Specifically the proposal now doesn't
 require any specific wordlist, so every client can use its very own list of
 preferred words. Generated mnemonic can be then applied to any other
 BIP39-compatible client. Please follow current draft at
 https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.

How are they compatible if they could be using entirely different word lists??

 Because we're quickly moving towards release of Trezor firmware and we need
 to finalize this part of the firmware, we're asking for the last comments
 to current BIP39 draft.

Maybe I'm missing something, but shouldn't this be a client-side thing, not 
implemented in the Trezor firmware at all?? O.o;;

Luke

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread slush
On Mon, Jan 20, 2014 at 9:02 PM, Luke-Jr l...@dashjr.org wrote:


 How are they compatible if they could be using entirely different word
 lists??


Wordlist is necessary for the step [seed]-[mnemonic]. Step
[mnemonic]-[bip32 root] doesn't need any wordlist, there's just hashing
involved.
For this reason client can generate whatever mnemonic and unless all
clients use the same process [mnemonic]-[bip32 root], the result is the
same.


 Maybe I'm missing something, but shouldn't this be a client-side thing, not
 implemented in the Trezor firmware at all?? O.o;;


Trezor generates the seed and transforms it to mnemonic (which is then
shown on internal display). Generating the mnemonic outside the client-side
(computer) is one of main functionality of Trezor.

slush
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Mark Friedenbach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Since you are taking the hash of Unicode data, I would strongly
recommend using a canonical form, e.g. Normalized Form C.

On 01/20/2014 09:42 AM, slush wrote:
 Hi all,
 
 during recent months we've reconsidered all comments which we
 received from the community about our BIP39 proposal and we tried
 to meet all requirements for such standard. Specifically the
 proposal now doesn't require any specific wordlist, so every client
 can use its very own list of preferred words. Generated mnemonic
 can be then applied to any other BIP39-compatible client. Please
 follow current draft at
 https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.
 
 Because we're quickly moving towards release of Trezor firmware and
 we need to finalize this part of the firmware, we're asking for the
 last comments to current BIP39 draft.
 
 Thanks, slush
 
 
 --

 
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For 
 Critical Workloads, Development Environments  Everything In
 Between. Get a Quote or Start a Free Trial Today. 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk

 
 
 
 ___ Bitcoin-development
 mailing list Bitcoin-development@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/bitcoin-development
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS3ZzAAAoJEAdzVfsmodw4L3sP/2VjvICLTYlkZcY6brBIZhoU
P6ei6qECzmBCWpW5iC1r99j76bPwP3M6jH6P7iBljj72J5NgHXq+K8GvA5M6qu0o
6s+WJ7HYJ8KwRZuvGPvcopXBKJAJXadrN7xSPikYD2zMm2KCZTUI5IurR1p/dpUR
3HzL2RdjbDugBOiAjiMMq0dAs1x9/vmF0F2KDZHiCJEtP/+gbtOE/KmXrnrAJSNI
Aswb/lZg1GWGpOs+iCdEaRfST2PIL/jGgnteJ4iKHvh2+dOW0/AhINo5g56LTVvU
Q+pAv8SRLad/30PVaWAStrtLMxu+j0JQ1wgEkRCrsQ0xE3iKtmbppzh2dIQ8Idrt
EkjqoykB2wn4Kw+QcT2TXIcBV7LBqSurE/jDWWIFtHxdV0++8PDYFOesq2Xf9Rif
VStYnUVvUhuzGXD3oOnIGpEvMm2i30Qyi33oJLvqfWUBkzJzFdtZ+YYBYlbpwBOQ
YLEr2DmVHLk/MXWL1POruvnIT4N+6uyh59HKHKRJI0nGMmRR3cBLkM8vEEHerD3P
ucg++TTdqXM6XoSmIk55CQnGdglDJEOGc+gzaGffqeDMJhmz/apEawN5en7ogN0o
XfWDWSdtwMvlza3F6cMejvBkuFZTLUxyaedP13vOTDhUIbmqsliyhwA2YrXE7udQ
1JMYADuvb18LYE/hQJX3
=Ycdc
-END PGP SIGNATURE-

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Brooks Boyd
On Mon, Jan 20, 2014 at 11:42 AM, slush sl...@centrum.cz wrote:

 Hi all,

 during recent months we've reconsidered all comments which we received
 from the community about our BIP39 proposal and we tried to meet all
 requirements for such standard. Specifically the proposal now doesn't
 require any specific wordlist, so every client can use its very own list of
 preferred words. Generated mnemonic can be then applied to any other
 BIP39-compatible client. Please follow current draft at
 https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.



So, because the [mnemonic]-[bip32 root] is just hashing, you've
effectively made your mnemonic sentence into a brainwallet? Since every
mnemonic sentence can now lead to a bip32 root, and only the client that
created the mnemonic can verify the mnemonic passes its checksum (assuming
all clients use different wordlists, the only client that can help you if
you fat-finger the sentence is the client that created it)?

Brooks
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Peter Todd
On Mon, Jan 20, 2014 at 04:05:14PM -0600, Brooks Boyd wrote:
 On Mon, Jan 20, 2014 at 11:42 AM, slush sl...@centrum.cz wrote:
 
  Hi all,
 
  during recent months we've reconsidered all comments which we received
  from the community about our BIP39 proposal and we tried to meet all
  requirements for such standard. Specifically the proposal now doesn't
  require any specific wordlist, so every client can use its very own list of
  preferred words. Generated mnemonic can be then applied to any other
  BIP39-compatible client. Please follow current draft at
  https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.
 
 So, because the [mnemonic]-[bip32 root] is just hashing, you've
 effectively made your mnemonic sentence into a brainwallet? Since every
 mnemonic sentence can now lead to a bip32 root, and only the client that
 created the mnemonic can verify the mnemonic passes its checksum (assuming
 all clients use different wordlists, the only client that can help you if
 you fat-finger the sentence is the client that created it)?

That issue is more than enough to get a NACK from me on making the
current BIP39 draft a standard - I can easily see that leading to users
losing a lot of money.

Have any wallets implemented BIP39 this way already in released code?

-- 
'peter'[:-1]@petertodd.org
9c3092c0b245722363df8b29cfbb86368f4f7303e655983a


signature.asc
Description: Digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Christophe Biocca
I remember the wordlist choice getting bikeshedded to death a month ago.

I would just include the wordlist as part of the standard (as a
recommendation) so that fully compliant implementations can correct a
user's typos regardless of the original generator.

Those who don't like it will have to deal with the compatibility
concerns themselves, or get an alternate wordlist approved as a BIP.
Odds are no one will go that route.

On Mon, Jan 20, 2014 at 5:35 PM, Peter Todd p...@petertodd.org wrote:
 On Mon, Jan 20, 2014 at 04:05:14PM -0600, Brooks Boyd wrote:
 On Mon, Jan 20, 2014 at 11:42 AM, slush sl...@centrum.cz wrote:

  Hi all,
 
  during recent months we've reconsidered all comments which we received
  from the community about our BIP39 proposal and we tried to meet all
  requirements for such standard. Specifically the proposal now doesn't
  require any specific wordlist, so every client can use its very own list of
  preferred words. Generated mnemonic can be then applied to any other
  BIP39-compatible client. Please follow current draft at
  https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.

 So, because the [mnemonic]-[bip32 root] is just hashing, you've
 effectively made your mnemonic sentence into a brainwallet? Since every
 mnemonic sentence can now lead to a bip32 root, and only the client that
 created the mnemonic can verify the mnemonic passes its checksum (assuming
 all clients use different wordlists, the only client that can help you if
 you fat-finger the sentence is the client that created it)?

 That issue is more than enough to get a NACK from me on making the
 current BIP39 draft a standard - I can easily see that leading to users
 losing a lot of money.

 Have any wallets implemented BIP39 this way already in released code?

 --
 'peter'[:-1]@petertodd.org
 9c3092c0b245722363df8b29cfbb86368f4f7303e655983a

 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Bitcoin-development mailing list
 Bitcoin-development@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bitcoin-development


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Adam Back
Because the mnemonic is an encoding of a 128-bit random number using its
hash as a private key (or derived part of one) is not a problem, its just an
alternate alphabet encoding of the random private key.

Not being able to generically understand the checksum.  Seems tricky to
solve other than say brute force eg H(mnemonic||1) mod 2^k == 0 where k is
the amount of check digit redundancy.  But that might be expensive for a
trezor if k is very big at all.  And then key = H(mnemonic).

Adam

On Mon, Jan 20, 2014 at 05:35:02PM -0500, Peter Todd wrote:
On Mon, Jan 20, 2014 at 04:05:14PM -0600, Brooks Boyd wrote:
 On Mon, Jan 20, 2014 at 11:42 AM, slush sl...@centrum.cz wrote:

  Hi all,
 
  during recent months we've reconsidered all comments which we received
  from the community about our BIP39 proposal and we tried to meet all
  requirements for such standard. Specifically the proposal now doesn't
  require any specific wordlist, so every client can use its very own list of
  preferred words. Generated mnemonic can be then applied to any other
  BIP39-compatible client. Please follow current draft at
  https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.

 So, because the [mnemonic]-[bip32 root] is just hashing, you've
 effectively made your mnemonic sentence into a brainwallet? Since every
 mnemonic sentence can now lead to a bip32 root, and only the client that
 created the mnemonic can verify the mnemonic passes its checksum (assuming
 all clients use different wordlists, the only client that can help you if
 you fat-finger the sentence is the client that created it)?

That issue is more than enough to get a NACK from me on making the
current BIP39 draft a standard - I can easily see that leading to users
losing a lot of money.

Have any wallets implemented BIP39 this way already in released code?

-- 
'peter'[:-1]@petertodd.org
9c3092c0b245722363df8b29cfbb86368f4f7303e655983a



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk

___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread slush
On Tue, Jan 21, 2014 at 12:06 AM, Christophe Biocca 
christophe.bio...@gmail.com wrote:

 I remember the wordlist choice getting bikeshedded to death a month ago.

 I would just include the wordlist as part of the standard (as a
 recommendation) so that fully compliant implementations can correct a
 user's typos regardless of the original generator.


That's exactly our attitude. We realized that have a community-wide
agreement on the wordlist itself is simply imposible, so to reach at least
some consensus we split the proposal to two parts - one what is essential
to call itself a bip39 compatible, i.e. converting the mnemonic to bip32
node and second which is optional, including our proposed wordlist, which
has some advanced features like checksums etc. Now it is up to client
developers to decide if they really insist on their superior wordlist or if
they'll implement checksums following the full specification.



 Those who don't like it will have to deal with the compatibility
 concerns themselves, or get an alternate wordlist approved as a BIP.

Odds are no one will go that route.


At least Trezor and bitcoinj (Multibit) seems to be going in this way,
which is 100% of clients which expressed interest in bip39 :-).

slush


 On Mon, Jan 20, 2014 at 5:35 PM, Peter Todd p...@petertodd.org wrote:
  On Mon, Jan 20, 2014 at 04:05:14PM -0600, Brooks Boyd wrote:
  On Mon, Jan 20, 2014 at 11:42 AM, slush sl...@centrum.cz wrote:
 
   Hi all,
  
   during recent months we've reconsidered all comments which we received
   from the community about our BIP39 proposal and we tried to meet all
   requirements for such standard. Specifically the proposal now doesn't
   require any specific wordlist, so every client can use its very own
 list of
   preferred words. Generated mnemonic can be then applied to any other
   BIP39-compatible client. Please follow current draft at
   https://github.com/trezor/bips/blob/master/bip-0039.mediawiki.
 
  So, because the [mnemonic]-[bip32 root] is just hashing, you've
  effectively made your mnemonic sentence into a brainwallet? Since
 every
  mnemonic sentence can now lead to a bip32 root, and only the client that
  created the mnemonic can verify the mnemonic passes its checksum
 (assuming
  all clients use different wordlists, the only client that can help you
 if
  you fat-finger the sentence is the client that created it)?
 
  That issue is more than enough to get a NACK from me on making the
  current BIP39 draft a standard - I can easily see that leading to users
  losing a lot of money.
 
  Have any wallets implemented BIP39 this way already in released code?
 
  --
  'peter'[:-1]@petertodd.org
  9c3092c0b245722363df8b29cfbb86368f4f7303e655983a
 
 
 --
  CenturyLink Cloud: The Leader in Enterprise Cloud Services.
  Learn Why More Businesses Are Choosing CenturyLink Cloud For
  Critical Workloads, Development Environments  Everything In Between.
  Get a Quote or Start a Free Trial Today.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
  ___
  Bitcoin-development mailing list
  Bitcoin-development@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bitcoin-development
 


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Bitcoin-development mailing list
 Bitcoin-development@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bitcoin-development

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Thomas Voegtlin

Hi slush,

Thank you for your new proposal; it seems to be a compromise.

@Christophe Biocca:
If the wordlist becomes part of the standard, then we will run into
problems of collisions once users ask for wordlists in every language.

IMO the right approach is to implement checksums that do not depend
on the wordlist (eg the 'brute force' method, Hash(mnemonic||1) mod 2^k 
== 0 )

this would also allow us to implement sipa's variable stretching proposal.

I understand this is not possible because of the computational
requirements of devices such as trezor.

I am leaning toward considering these devices as a nonstandard case,
instead of enforcing a given wordlist in the standard.

Thomas






Le 21/01/2014 00:18, slush a écrit :


On Tue, Jan 21, 2014 at 12:06 AM, Christophe Biocca 
christophe.bio...@gmail.com mailto:christophe.bio...@gmail.com wrote:


I remember the wordlist choice getting bikeshedded to death a
month ago.

I would just include the wordlist as part of the standard (as a
recommendation) so that fully compliant implementations can correct a
user's typos regardless of the original generator.


That's exactly our attitude. We realized that have a community-wide 
agreement on the wordlist itself is simply imposible, so to reach at 
least some consensus we split the proposal to two parts - one what is 
essential to call itself a bip39 compatible, i.e. converting the 
mnemonic to bip32 node and second which is optional, including our 
proposed wordlist, which has some advanced features like checksums 
etc. Now it is up to client developers to decide if they really insist 
on their superior wordlist or if they'll implement checksums following 
the full specification.


Those who don't like it will have to deal with the compatibility
concerns themselves, or get an alternate wordlist approved as a BIP. 


Odds are no one will go that route.

At least Trezor and bitcoinj (Multibit) seems to be going in this way, 
which is 100% of clients which expressed interest in bip39 :-).


slush



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] unlinakble static address? spv-privacy (Re: Stealth Addresses)

2014-01-20 Thread Jeremy Spilman
On Wed, 15 Jan 2014 17:32:31 -0800, Gregory Maxwell gmaxw...@gmail.com  
wrote:
 I'd point out that regardless of how long the desired prefix is, the
 encoded prefix should probably always be constant length in all
 reusable addresses.

I might be misunderstanding, but I think prefix length must be specified  
in the reusable address, however I agree the prefix actually published to  
the blockchain should be constant length.

 If you don't want a particular prefix then the
 sender should just pick random data for the rest of the space. There
 is no need to publish any additional distinguishing data in the form
 of how long the prefix is.

Let's say the payee's reusable address is 'version prefix Q1 Q2  
...', where prefix is 2 bytes. Without any length indicator. What's the  
payer going to put on the blockchain? How would they know what the 'rest  
of the space' is? They would have to put the whole prefix verbatim into  
the OP_RETURN without knowing how many bits of prefix the payee actually  
wants to see there.

If instead, the address is 'version prefix prefixLen Q1 Q2 ...'  
where prefix is 2 bytes, and prefixLen is 1 byte, representing number  
of bits of prefix that should be fixed.

Then payer will know how much of prefix from the address should be taken  
verbatim, and the rest of the two bytes would be replaced with random  
data, and exactly two bytes would be put in the OP_RETURN.

If prefixLen was zero, the 2 byte prefix in the reusable address must be  
ignored, and an entirely random 2 byte prefix would be put into the  
OP_RETURN.

I'm a bit worried about broken implementations copying the prefix from  
the reusable address into OP_RETURN when prefixLen is 0, and ending up  
basically identifying the payee. That's the only reason I can think of to  
make 'prefix prefixLen' optional in the reusable address, to prevent  
the opportunity to screw it up. You would *still* put a 2-byte random  
prefix in the OP_RETURN, even if the fields weren't in the address at all.  
It's just a minor concern though.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] BIP0039: Final call

2014-01-20 Thread Tamas Blummer
 At least Trezor and bitcoinj (Multibit) seems to be going in this way,
 which is 100% of clients which expressed interest in bip39 :-).
 
 slush

The the current spec with TREZOR's wordlist is also implemented by Bits of Proof
https://github.com/bitsofproof/supernode/blob/master/api/src/main/java/com/bitsofproof/supernode/wallet/BIP39.java

and deployed in two projects, one being btc1k also open sourced at our github.

Regards,

Tamás Blummer
http://bitsofproof.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development