Bitcoin Forum
December 15, 2024, 05:01:50 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 [207] 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 ... 265 »
  Print  
Author Topic: [ESHOP launched] Trezor: Bitcoin hardware wallet  (Read 966229 times)
jackbox
Legendary
*
Offline Offline

Activity: 1246
Merit: 1024



View Profile
June 21, 2015, 01:45:42 PM
 #4121

Is my understanding correct in that you can have say a sort of 'hot' wallet or rather everyday use wallet (with no password) and then say two further wallets each with their own password. If one starts up the Trezor you then only need to enter the relevant password for the wallet you are trying to access?

yes

If the above is correct, is there a limit on the number of wallets you can have on a single Trezor?

no (not practically at least, it's limited by the maximum amount of possible passwords)

Just keep in mind that if you forget a password the coins associated with that password are inaccessible forever. No way to recover from lost password as the password is used in the encryption to create a unique set of keys.

Buy a Trezor and Protect your BTC, BCH, BTG, DASH, LTC, DGB, ZEC, ETH and ETC from hackers.
If I was helpful please buy me a coffee BTC: 1DWK7vBaxcTC5Wd2nQwLGEoy8xdFVzGKLK  BTG: AWvN1iBqCUqG2tEh3XoVvRbdcGrAzfBBpW
If I was helpful please buy me a burger DGB: DLASV6CUQpGtGSyaVz5FYuu5YxZ17MoGQz
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 21, 2015, 03:48:56 PM
 #4122

While you guys are on this topic....

I plan on buying a Trezor in the next 2 or 3 weeks and was planning on buying 3 but it seems like this is not needed seeing as you can have more than one account on a Trezor.

Is my understanding correct in that you can have say a sort of 'hot' wallet or rather everyday use wallet (with no password) and then say two further wallets each with their own password. If one starts up the Trezor you then only need to enter the relevant password for the wallet you are trying to access?

If the above is correct, is there a limit on the number of wallets you can have on a single Trezor?



Yes, that's correct. Technically, the passphrase is added to the seed to generate the HD seed. Knowing that it's easy to see that one can generate a very large number of different wallets this way (probably even all possible wallets, but not sure about that).

I would call these "wallets", by the way, because "account" is already used inside HD wallets.

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
GenTarkin
Legendary
*
Offline Offline

Activity: 2450
Merit: 1002


View Profile
June 21, 2015, 06:42:00 PM
 #4123

Hey all, I just got a trezor and have a question.

Initially set it up w/ only PIN protection. If I enable password protection and leave some funds in the 'non password protected' accounts as well as the newly created 'password protected account'....

How does the recovery process work in this case? When doing the seed recovery process would I check the box 'password encrypted'(or w/e it is) ... if so would this restore both my 'non password protected' & 'password protected' accounts?(even tho the 'non password protected' accounts have no password?)

You should be able to use both "wallets" in parallel (or rather alternatingly) without using the restore process in between. Depending on which pw you use (empty or "something"), a different wallet is loaded. I don't know exactly how it works with myTrezor (I use electrum), but entering a different password (or no password) should do the trick.

Maybe someone who is doing this with myTrezor could chip in?

It doesn't matter if you set 'password encrypted' during recovery, you can change it later after recovery to access your password protected funds. The password function disabled technically is like entering an empty password so you can only access those funds while you have the feature disabled. Enable the feature and your other funds get accessible with the correct password.

tl-dr: yes it works, it will restore both (all) accounts.

I got ya guys, thanks! I see how it works now =)

Thats pretty badass you can have any number of password'd unique wallets on ur device!
Im guessing the way it works is the seed is simply encrypted w/ a password and the HD tree is generated from the encrypted seed unique to whatever password u use.

GenTarkin's MOD Kncminer Titan custom firmware! v1.0.4! -- !!NO LONGER AVAILABLE!!
Donations: bitcoin- 1Px71mWNQNKW19xuARqrmnbcem1dXqJ3At || litecoin- LYXrLis3ik6TRn8tdvzAyJ264DRvwYVeEw
jackbox
Legendary
*
Offline Offline

Activity: 1246
Merit: 1024



View Profile
June 22, 2015, 02:47:03 AM
 #4124

Hey all, I just got a trezor and have a question.

Initially set it up w/ only PIN protection. If I enable password protection and leave some funds in the 'non password protected' accounts as well as the newly created 'password protected account'....

How does the recovery process work in this case? When doing the seed recovery process would I check the box 'password encrypted'(or w/e it is) ... if so would this restore both my 'non password protected' & 'password protected' accounts?(even tho the 'non password protected' accounts have no password?)

You should be able to use both "wallets" in parallel (or rather alternatingly) without using the restore process in between. Depending on which pw you use (empty or "something"), a different wallet is loaded. I don't know exactly how it works with myTrezor (I use electrum), but entering a different password (or no password) should do the trick.

Maybe someone who is doing this with myTrezor could chip in?

It doesn't matter if you set 'password encrypted' during recovery, you can change it later after recovery to access your password protected funds. The password function disabled technically is like entering an empty password so you can only access those funds while you have the feature disabled. Enable the feature and your other funds get accessible with the correct password.

tl-dr: yes it works, it will restore both (all) accounts.

I got ya guys, thanks! I see how it works now =)

Thats pretty badass you can have any number of password'd unique wallets on ur device!
Im guessing the way it works is the seed is simply encrypted w/ a password and the HD tree is generated from the encrypted seed unique to whatever password u use.

Yes, that is correct but if you forget the password you lose the coins, period. No way to recover them if you cannot remember the password(s).

Buy a Trezor and Protect your BTC, BCH, BTG, DASH, LTC, DGB, ZEC, ETH and ETC from hackers.
If I was helpful please buy me a coffee BTC: 1DWK7vBaxcTC5Wd2nQwLGEoy8xdFVzGKLK  BTG: AWvN1iBqCUqG2tEh3XoVvRbdcGrAzfBBpW
If I was helpful please buy me a burger DGB: DLASV6CUQpGtGSyaVz5FYuu5YxZ17MoGQz
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 22, 2015, 07:37:42 AM
Last edit: June 22, 2015, 07:51:45 AM by molecular
 #4125

Hey all, I just got a trezor and have a question.

Initially set it up w/ only PIN protection. If I enable password protection and leave some funds in the 'non password protected' accounts as well as the newly created 'password protected account'....

How does the recovery process work in this case? When doing the seed recovery process would I check the box 'password encrypted'(or w/e it is) ... if so would this restore both my 'non password protected' & 'password protected' accounts?(even tho the 'non password protected' accounts have no password?)

You should be able to use both "wallets" in parallel (or rather alternatingly) without using the restore process in between. Depending on which pw you use (empty or "something"), a different wallet is loaded. I don't know exactly how it works with myTrezor (I use electrum), but entering a different password (or no password) should do the trick.

Maybe someone who is doing this with myTrezor could chip in?

It doesn't matter if you set 'password encrypted' during recovery, you can change it later after recovery to access your password protected funds. The password function disabled technically is like entering an empty password so you can only access those funds while you have the feature disabled. Enable the feature and your other funds get accessible with the correct password.

tl-dr: yes it works, it will restore both (all) accounts.

I got ya guys, thanks! I see how it works now =)

Thats pretty badass you can have any number of password'd unique wallets on ur device!
Im guessing the way it works is the seed is simply encrypted w/ a password and the HD tree is generated from the encrypted seed unique to whatever password u use.

Yes, that is correct but if you forget the password you lose the coins, period. No way to recover them if you cannot remember the password(s).


No, that's not how it works.

wallet seed = device seed + passphrase

What I call "device seed" here (those are the words you write down) is not encrypted in any way (at least not with the passphrase). The passphrase is sent to the trezor device and simply added to that seed in some way (xor, concatenation + hash or something) and that results in the HD wallet seed used by the device to generate the wallet (addresses, xpub, private keys,...)

But of course it's true: you need the password(s) to access the wallet(s).

EDIT: here's the relevant code in the trezor firmware:

Code:
if (storage.has_passphrase_protection && storage.passphrase_protection && strlen(sessionPassphrase)) {
// decrypt hd node
uint8_t secret[64];
uint8_t salt[12];
memcpy(salt, "TREZORHD", 8);
layoutProgressSwipe("Waking up", 0);
pbkdf2_hmac_sha512((const uint8_t *)sessionPassphrase, strlen(sessionPassphrase), salt, 8, BIP39_PBKDF2_ROUNDS, secret, 64, get_root_node_callback);
aes_decrypt_ctx ctx;
aes_decrypt_key256(secret, &ctx);
aes_cbc_decrypt(sessionRootNode.chain_code, sessionRootNode.chain_code, 32, secret + 32, &ctx);
aes_cbc_decrypt(sessionRootNode.private_key, sessionRootNode.private_key, 32, secret + 32, &ctx);
}
memcpy(node, &sessionRootNode, sizeof(HDNode));

Now I'm not so sure any more Wink

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
AussieHash
Hero Member
*****
Offline Offline

Activity: 692
Merit: 500



View Profile
June 22, 2015, 11:40:47 AM
 #4126

https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#From_mnemonic_to_seed
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 22, 2015, 07:05:17 PM
 #4127


cool. thanks for posting. from that link:

Quote
To create a binary seed from the mnemonic, we use the PBKDF2 function with a mnemonic sentence (in UTF-8 NFKD) used as the password and the string "mnemonic" + passphrase (again in UTF-8 NFKD) used as the salt.

hmmm. Looking at the code I pasted before, it seems to me to me the trezor doesn't use "mnemonic" + passphrase as salt, but "TREZORHD".

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
June 22, 2015, 10:08:47 PM
Last edit: June 22, 2015, 10:21:43 PM by Carlton Banks
 #4128


cool. thanks for posting. from that link:

Quote
To create a binary seed from the mnemonic, we use the PBKDF2 function with a mnemonic sentence (in UTF-8 NFKD) used as the password and the string "mnemonic" + passphrase (again in UTF-8 NFKD) used as the salt.

hmmm. Looking at the code I pasted before, it seems to me to me the trezor doesn't use "mnemonic" + passphrase as salt, but "TREZORHD".

No, you're interpreting that wrong. The salt value is getting defined in the previous line. The line you're referring to is a function call that uses a variable called salt, a string literal with the value "TREZORHD" and an integer literal number 8. Look at the line after it: if you interpret that with the same logic, then the salt is being assigned the integer literal 8. Don't quit your job for software engineering just yet  Cheesy

I've changed my mind. Having read the code in detail, I think you're right, they are using TREZORHD as the salt. More obvious if you look at the differences in this commit: https://github.com/trezor/trezor-mcu/commit/e99aafd94928eb547f7590fdf90116dcb7ef0672

Vires in numeris
AussieHash
Hero Member
*****
Offline Offline

Activity: 692
Merit: 500



View Profile
June 23, 2015, 12:28:40 AM
 #4129

I'm not a programmer, but Trezor firmware for the last few versions updates the secret seed's version number to prevent firmware downgrades from accessing it.

The node part might reflect a static variable for BitID / TrezorConnect
GenTarkin
Legendary
*
Offline Offline

Activity: 2450
Merit: 1002


View Profile
June 24, 2015, 12:49:59 AM
 #4130

Hey all, I just got a trezor and have a question.

Initially set it up w/ only PIN protection. If I enable password protection and leave some funds in the 'non password protected' accounts as well as the newly created 'password protected account'....

How does the recovery process work in this case? When doing the seed recovery process would I check the box 'password encrypted'(or w/e it is) ... if so would this restore both my 'non password protected' & 'password protected' accounts?(even tho the 'non password protected' accounts have no password?)

You should be able to use both "wallets" in parallel (or rather alternatingly) without using the restore process in between. Depending on which pw you use (empty or "something"), a different wallet is loaded. I don't know exactly how it works with myTrezor (I use electrum), but entering a different password (or no password) should do the trick.

Maybe someone who is doing this with myTrezor could chip in?

It doesn't matter if you set 'password encrypted' during recovery, you can change it later after recovery to access your password protected funds. The password function disabled technically is like entering an empty password so you can only access those funds while you have the feature disabled. Enable the feature and your other funds get accessible with the correct password.

tl-dr: yes it works, it will restore both (all) accounts.

I got ya guys, thanks! I see how it works now =)

Thats pretty badass you can have any number of password'd unique wallets on ur device!
Im guessing the way it works is the seed is simply encrypted w/ a password and the HD tree is generated from the encrypted seed unique to whatever password u use.

Yes, that is correct but if you forget the password you lose the coins, period. No way to recover them if you cannot remember the password(s).


No, that's not how it works.

wallet seed = device seed + passphrase

What I call "device seed" here (those are the words you write down) is not encrypted in any way (at least not with the passphrase). The passphrase is sent to the trezor device and simply added to that seed in some way (xor, concatenation + hash or something) and that results in the HD wallet seed used by the device to generate the wallet (addresses, xpub, private keys,...)

But of course it's true: you need the password(s) to access the wallet(s).

EDIT: here's the relevant code in the trezor firmware:

Code:
if (storage.has_passphrase_protection && storage.passphrase_protection && strlen(sessionPassphrase)) {
// decrypt hd node
uint8_t secret[64];
uint8_t salt[12];
memcpy(salt, "TREZORHD", 8);
layoutProgressSwipe("Waking up", 0);
pbkdf2_hmac_sha512((const uint8_t *)sessionPassphrase, strlen(sessionPassphrase), salt, 8, BIP39_PBKDF2_ROUNDS, secret, 64, get_root_node_callback);
aes_decrypt_ctx ctx;
aes_decrypt_key256(secret, &ctx);
aes_cbc_decrypt(sessionRootNode.chain_code, sessionRootNode.chain_code, 32, secret + 32, &ctx);
aes_cbc_decrypt(sessionRootNode.private_key, sessionRootNode.private_key, 32, secret + 32, &ctx);
}
memcpy(node, &sessionRootNode, sizeof(HDNode));

Now I'm not so sure any more Wink

Programming mode aside: I got the gist of it =) Just semantics haha!

GenTarkin's MOD Kncminer Titan custom firmware! v1.0.4! -- !!NO LONGER AVAILABLE!!
Donations: bitcoin- 1Px71mWNQNKW19xuARqrmnbcem1dXqJ3At || litecoin- LYXrLis3ik6TRn8tdvzAyJ264DRvwYVeEw
GenTarkin
Legendary
*
Offline Offline

Activity: 2450
Merit: 1002


View Profile
June 24, 2015, 12:58:30 AM
 #4131

I have to say, Im thoroughly impressed w/ the trezor. Its become the only device / service that I fully trust w/ my bitcoin other than myself.
Ive not yet found anything worthy of that roll, till the trezor.

The idea of making as many hidden wallets I want w/ passwords thrills the hell outta me. Knowing my BTC are secure even in the event of theft / loss and not known to even exist is quite a feat. It could even function in that regard as both hot & cold storage wallets!

Also, knowing the entire thing is recoverable w/ a simple seed. Which, I would gather I could put anywhere, cuz once again, even if someone found it ... if they tried to use it, they would not see any funds unless they knew the exact passwords I used for my wallets.

It works flawlessly w/ my phone & mycelium as well... which is also awesome. Ive started using electrum as my bitcoin-core wallet replacement(took some getting used to but its working out well). Its nice to see a decent amount of addresses for each account in electrum so I know which ones are 'in queue'.
I still run bitcoin-core for full node support & my addresses are in there as watch only mode.

Overall very fucking impressive product! I think anyone serious about BTC should have one.

Its much better than the HW.1 & ledger products which Ive tried HW.1(same as ledger pretty much cept for software) ... they suck in comparison.

GenTarkin's MOD Kncminer Titan custom firmware! v1.0.4! -- !!NO LONGER AVAILABLE!!
Donations: bitcoin- 1Px71mWNQNKW19xuARqrmnbcem1dXqJ3At || litecoin- LYXrLis3ik6TRn8tdvzAyJ264DRvwYVeEw
dsattler
Legendary
*
Offline Offline

Activity: 924
Merit: 1000


View Profile
June 24, 2015, 07:34:19 PM
 #4132

I want to buy a used android tablet to use with the trezor.

Does anybody use a trezor with the mycelium app on a google nexus 7? There are two generations of the nexus 7, both support USB OTG (on-the-go), so it should work.  Huh

Bitcointalk member since 2013! Smiley
chriswilmer
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
June 24, 2015, 08:37:06 PM
 #4133

Any multisig-with-Trezor wallets out there yet? (e.g., Copay with Trezor, multisig-electrum-with-Trezor, multisig on the mytrezor.com page...)
AussieHash
Hero Member
*****
Offline Offline

Activity: 692
Merit: 500



View Profile
June 24, 2015, 08:58:33 PM
 #4134

http://www.reddit.com/r/Bitcoin/comments/38yvli/finally_totally_off_coinbase_feels_good/crza7rj
dnaleor
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
June 25, 2015, 12:11:19 AM
 #4135

I want to buy a used android tablet to use with the trezor.

Does anybody use a trezor with the mycelium app on a google nexus 7? There are two generations of the nexus 7, both support USB OTG (on-the-go), so it should work.  Huh

i tried it multiple times, it works, but you don't have full functionality (as far as I know)
I didn't manage f.e. to create new accounts in a wallet (the sub"wallet" behind a certain password)

You shouldn't fear using it on a desktop though, or on the smartphone you use daily. It's safe on every device Smiley
dsattler
Legendary
*
Offline Offline

Activity: 924
Merit: 1000


View Profile
June 25, 2015, 06:13:36 AM
 #4136

I want to buy a used android tablet to use with the trezor.

Does anybody use a trezor with the mycelium app on a google nexus 7? There are two generations of the nexus 7, both support USB OTG (on-the-go), so it should work.  Huh

i tried it multiple times, it works, but you don't have full functionality (as far as I know)
I didn't manage f.e. to create new accounts in a wallet (the sub"wallet" behind a certain password)

You shouldn't fear using it on a desktop though, or on the smartphone you use daily. It's safe on every device Smiley

Thanks for pointing this out, signing tx with the trezor is safe one every device of course.  Wink
But as an iPhone user I'd like to have an android device as well to test out several apps available only on this platform!

Bitcointalk member since 2013! Smiley
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
June 25, 2015, 02:31:52 PM
 #4137

hey, just got an email Satisfaction Survey with a link.  is it legit?
RustyNomad
Sr. Member
****
Offline Offline

Activity: 336
Merit: 251



View Profile WWW
June 25, 2015, 02:37:21 PM
 #4138

hey, just got an email Satisfaction Survey with a link.  is it legit?

Seems to be, just did it, only asks three or so questions and no personal info required.
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
June 25, 2015, 02:45:56 PM
 #4139

hey, just got an email Satisfaction Survey with a link.  is it legit?

Seems to be, just did it, only asks three or so questions and no personal info required.

you sure you didn't end up downloading something? Wink
maheshmahi
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
June 25, 2015, 03:23:14 PM
 #4140

How a transaction can be in hardware wallet.
Whats is advanced in hardware other than software.
Pages: « 1 ... 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 [207] 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 ... 265 »
  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!