Bitcoin Forum
December 14, 2024, 06:31:35 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 [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 ... 265 »
  Print  
Author Topic: [ESHOP launched] Trezor: Bitcoin hardware wallet  (Read 966227 times)
stick
Sr. Member
****
Offline Offline

Activity: 441
Merit: 268



View Profile
October 29, 2014, 05:26:32 PM
 #3121

Has anyone successfully compiled the bootloader? It seems something wrong with the dependence in the Makefiles, because it complains /serialno.c:32: undefined reference to `desig_get_unique_id' Thanks.

it is not a trezor issue, but rather a bug in libopencm3 code for f2 family. fix:

diff --git a/lib/stm32/f2/Makefile b/lib/stm32/f2/Makefile
index 9291668..74d97e7 100644
--- a/lib/stm32/f2/Makefile
+++ b/lib/stm32/f2/Makefile
@@ -34,7 +34,7 @@ CFLAGS                = -Os -g \
 # ARFLAGS      = rcsv
 ARFLAGS                = rcs
 
-OBJS           = gpio.o rcc.o
+OBJS           = gpio.o rcc.o desig.o
 
 OBJS            += crc_common_all.o dac_common_all.o dma_common_f24.o \
                    gpio_common_all.o gpio_common_f0234.o i2c_common_all.o \

GreatBug
Sr. Member
****
Offline Offline

Activity: 629
Merit: 252



View Profile
October 30, 2014, 02:26:32 PM
 #3122

I'm seeing a different error:

Code:

bootloader.o: In function `show_unofficial_warning':
/home/user/Documents/tbootloader/trezor-mcu/bootloader/bootloader.c:55: undefined reference to `__stack_chk_fail'
/home/user/Documents/tbootloader/trezor-mcu/bootloader/bootloader.c:55: undefined reference to `__stack_chk_guard'
bootloader.o: In function `load_app':
/home/user/Documents/tbootloader/trezor-mcu/bootloader/bootloader.c:63: undefined reference to `__stack_chk_fail'
/home/user/Documents/tbootloader/trezor-mcu/bootloader/bootloader.c:63: undefined reference to `__stack_chk_guard'
...
many snipped
...

/home/user/Documents/tbootloader/trezor-mcu//libtrezor.a(fonts.o): In function `fontStringWidth':
/home/user/Documents/tbootloader/trezor-mcu/gen/fonts.c:118: undefined reference to `__stack_chk_fail'
/home/user/Documents/tbootloader/trezor-mcu/gen/fonts.c:118: undefined reference to `__stack_chk_guard'
collect2: error: ld returned 1 exit status
make: *** [bootloader.elf] Error 1


on Ubuntu 14.04 64-bit
stick
Sr. Member
****
Offline Offline

Activity: 441
Merit: 268



View Profile
October 30, 2014, 02:52:58 PM
 #3123

I'm seeing a different error:

Remove -fstack-protector-all \ line in file Makefile.include ...

GreatBug
Sr. Member
****
Offline Offline

Activity: 629
Merit: 252



View Profile
October 30, 2014, 03:13:09 PM
 #3124

Is the stack protector enabled in the shipping version?

Why is the modification necessary to compile?
stick
Sr. Member
****
Offline Offline

Activity: 441
Merit: 268



View Profile
October 30, 2014, 04:58:55 PM
 #3125

Why is the modification necessary to compile?

Because stack protector was not enabled in bootloader until now.

GreatBug
Sr. Member
****
Offline Offline

Activity: 629
Merit: 252



View Profile
October 30, 2014, 05:45:55 PM
 #3126

Why is the modification necessary to compile?

Because stack protector was not enabled in bootloader until now.

I don't understand.  Can you please explain?
stick
Sr. Member
****
Offline Offline

Activity: 441
Merit: 268



View Profile
October 30, 2014, 06:02:17 PM
 #3127

I don't understand.  Can you please explain?

I just pushed a commit* which enables stack protector for bootloader as well. It was not enabled up until now. I have not tested it yet, though, but the code can be compiled without any changes.

* https://github.com/trezor/trezor-mcu/commit/58ecfdcab0a2653be32a9d9895d815380ce4f84f

cor
Full Member
***
Offline Offline

Activity: 121
Merit: 100



View Profile WWW
October 31, 2014, 09:02:29 PM
 #3128



Here: https://www.buytrezor.com/
until Monday only!

Happy Bitcoin Anniversary!  Wink


AussieHash
Hero Member
*****
Offline Offline

Activity: 692
Merit: 500



View Profile
November 01, 2014, 06:01:00 AM
 #3129

GreenAddress can be used with a key generated offline on the hardware wallet (not in the app) so this allows you to pair it with any key.

I've just received my HW1 and confirm that indeed you can either write the greenaddress.crx generated mnemonic to HW1, or independently generate a seed on the HW1 instead.

This first step can be done offline, connecting only for the 2fa stage, although if HW1 works as it should, the seed should presumably never leak to the online machine (assuming you have a cold offline machine for the powercycle seed backup)

Bring on Trezor 2of2 multisig support !
Valzador
Hero Member
*****
Offline Offline

Activity: 1316
Merit: 503


View Profile
November 01, 2014, 07:17:52 AM
 #3130

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1014

Let's talk governance, lipstick, and pigs.


View Profile
November 01, 2014, 07:43:10 AM
 #3131

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
Valzador
Hero Member
*****
Offline Offline

Activity: 1316
Merit: 503


View Profile
November 01, 2014, 07:49:57 AM
 #3132

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

How does it know how to clone it?

What if I make 4 other accounts on my trezor.
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1014

Let's talk governance, lipstick, and pigs.


View Profile
November 01, 2014, 08:31:27 AM
 #3133

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

How does it know how to clone it?

What if I make 4 other accounts on my trezor.
I don't know what you mean by account. The Trezor doesn't contain accounts. It contains a wallet filled with addresses. The website has your account. The Trezor can only load one wallet at a time
If you lose your Trezor you will want to clone the wallet from the seed so you at least get your bitcoins back. You have to do that yourself.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
November 01, 2014, 08:42:55 AM
 #3134

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

How does it know how to clone it?

What if I make 4 other accounts on my trezor.
I don't know what you mean by account. The Trezor doesn't contain accounts. It contains a wallet filled with addresses. The website has your account. The Trezor can only load one wallet at a time
If you lose your Trezor you will want to clone the wallet from the seed so you at least get your bitcoins back. You have to do that yourself.

There's is a "account" moniker in the key derivation scheme.

All accounts are derived from the seed.

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

Activity: 1736
Merit: 1014

Let's talk governance, lipstick, and pigs.


View Profile
November 01, 2014, 08:53:39 AM
 #3135

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

How does it know how to clone it?

What if I make 4 other accounts on my trezor.
I don't know what you mean by account. The Trezor doesn't contain accounts. It contains a wallet filled with addresses. The website has your account. The Trezor can only load one wallet at a time
If you lose your Trezor you will want to clone the wallet from the seed so you at least get your bitcoins back. You have to do that yourself.

There's is a "account" moniker in the key derivation scheme.

All accounts are derived from the seed.

Interesting choice of monikers. Very bank. Cannotes third party security. Most clients use the term wallet. Why did you choose account?

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
btchip
Hero Member
*****
Offline Offline

Activity: 623
Merit: 500

CTO, Ledger


View Profile WWW
November 01, 2014, 12:18:38 PM
 #3136

Interesting choice of monikers. Very bank. Cannotes third party security. Most clients use the term wallet. Why did you choose account?

as molecular said, https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#the-default-wallet-layout

blossbloss
Jr. Member
*
Offline Offline

Activity: 50
Merit: 1


View Profile
November 01, 2014, 01:32:49 PM
 #3137

Still trying to wrap my head around HD wallets.  When I use Trezor for sending and receiving funds, does it automatically ensure that I use private keys only once per addess for signing transactions?  In other words, does the Traezor manage the creation and use of addresses so that I never reuse one?
Thanks
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
November 01, 2014, 02:37:27 PM
 #3138

Still trying to wrap my head around HD wallets.  When I use Trezor for sending and receiving funds, does it automatically ensure that I use private keys only once per addess for signing transactions?  In other words, does the Traezor manage the creation and use of addresses so that I never reuse one?
Thanks

How is the trezor going to keep you from reusing an address? It gives you an unlimited amount of addresses, but it's your responsibility to use a fresh one for every payment reception.

Mytrezor wallet helps with this by displaying a fresh one on receive tab afaik.

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

Activity: 1762
Merit: 1011


View Profile
November 01, 2014, 08:39:18 PM
 #3139

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

How does it know how to clone it?

What if I make 4 other accounts on my trezor.
I don't know what you mean by account. The Trezor doesn't contain accounts. It contains a wallet filled with addresses. The website has your account. The Trezor can only load one wallet at a time
If you lose your Trezor you will want to clone the wallet from the seed so you at least get your bitcoins back. You have to do that yourself.

There's is a "account" moniker in the key derivation scheme.

All accounts are derived from the seed.

Interesting choice of monikers. Very bank. Cannotes third party security. Most clients use the term wallet. Why did you choose account?

Other coins, for instance, Monero, are also using the term "account" instead of "wallet", for various practical reasons.
Erdogan
Legendary
*
Offline Offline

Activity: 1512
Merit: 1005



View Profile
November 01, 2014, 09:12:06 PM
 #3140

Wait, if my 24 word seed can bring back my coins, doesn't that mean my private keys are held somewhere?
That's why it's called a seed and not a passphrase. Your keys come from the seed and your seed can clone them if they are lost.

How does it know how to clone it?

What if I make 4 other accounts on my trezor.
I don't know what you mean by account. The Trezor doesn't contain accounts. It contains a wallet filled with addresses. The website has your account. The Trezor can only load one wallet at a time
If you lose your Trezor you will want to clone the wallet from the seed so you at least get your bitcoins back. You have to do that yourself.

There's is a "account" moniker in the key derivation scheme.

All accounts are derived from the seed.

Interesting choice of monikers. Very bank. Cannotes third party security. Most clients use the term wallet. Why did you choose account?

Other coins, for instance, Monero, are also using the term "account" instead of "wallet", for various practical reasons.

It's unfortunate that they called it account, because it connotes with bank account.... but, a bank account is really a bank deposit account. Account really means some numbers that you track, and deposit means that you have given your money away. So it is not really bad to call it an account (as in BIP-0032). It is a way to arrange your numbers.

Gives us a splendid pretext to argue what an account really is, and what a deposit really is.

Pages: « 1 ... 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 [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 ... 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!