Bitcoin Forum
June 21, 2024, 02:24:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How is a unique BRIT wallet identifier derived from a Trezor wallet?  (Read 600 times)
5cMXezpBtm (OP)
Full Member
***
Offline Offline

Activity: 233
Merit: 100


View Profile
May 03, 2015, 08:49:40 PM
 #1

Hi, just curious- how is a unique BRIT wallet identifier derived from a Trezor wallet?
I am sure You won't expect the user to type in the Trezor seed phrase for deriving it, as that would fundamentally bypass the Trezor security.
I guess the Trezor needs to compute that identifier on it's own via API command?

Quote
5. Payer derives a unique BRIT wallet identifier

The Payer runs a number of one way trapdoor functions over their wallet seed phrase to deterministically generate a wallet identifier (payer.britWalletId).
(source: https://github.com/bitcoin-solutions/brit-service/blob/develop/src/main/doc/Overview-of-BRIT.md)
jim618
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
May 05, 2015, 10:15:27 AM
 #2

We use SHA hashes of the public key of the HD root node for the wallet:

 Utils.sha256hash160(getPubKey())

And then pass that through the same trapdoor functions we use for the regular wallets (and which use the seed).

The only difference between a 'wallet id' and a 'BRIT wallet id' is that we use a different salt in the scrypt (one of the trapdoor functions). We don't need a link the local files stored on your machine (which use a wallet id) with what we have on our server (indexed by BRIT wallet id) so we don't make one.


Thus we don't use the Trezor seed phrase (which we don't know for a Trezor hard wallet)

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!