1 2016-06-25T00:06:30  *** gnubeard has joined #bitcoin-dev
  2 2016-06-25T00:07:17  *** rafale has quit IRC
  3 2016-06-25T00:16:07  *** Chris_Stewart_5 has quit IRC
  4 2016-06-25T00:24:05  *** gnubeard has quit IRC
  5 2016-06-25T00:24:16  *** murch has quit IRC
  6 2016-06-25T00:25:06  *** MoALTz has quit IRC
  7 2016-06-25T00:32:19  *** Hasimir has quit IRC
  8 2016-06-25T00:32:35  *** Hasimir has joined #bitcoin-dev
  9 2016-06-25T00:38:31  *** Giszmo has quit IRC
 10 2016-06-25T00:45:13  *** paul0 has joined #bitcoin-dev
 11 2016-06-25T00:50:05  *** gnubeard has joined #bitcoin-dev
 12 2016-06-25T00:50:39  *** gnubeard has joined #bitcoin-dev
 13 2016-06-25T00:55:04  *** fracting has quit IRC
 14 2016-06-25T00:55:04  *** gnubeard has quit IRC
 15 2016-06-25T00:57:06  *** Belkaar has quit IRC
 16 2016-06-25T00:57:31  *** Belkaar has joined #bitcoin-dev
 17 2016-06-25T01:31:10  *** markus-k_ has joined #bitcoin-dev
 18 2016-06-25T01:34:20  *** markus-k has quit IRC
 19 2016-06-25T01:36:36  *** realz has quit IRC
 20 2016-06-25T01:44:14  *** Starduster_ has joined #bitcoin-dev
 21 2016-06-25T01:46:38  *** fracting has joined #bitcoin-dev
 22 2016-06-25T01:47:48  *** Starduster has quit IRC
 23 2016-06-25T01:51:44  *** herzmeister has quit IRC
 24 2016-06-25T01:52:03  *** herzmeister has joined #bitcoin-dev
 25 2016-06-25T01:52:40  *** CheckDavid has quit IRC
 26 2016-06-25T02:09:33  *** one_zero has joined #bitcoin-dev
 27 2016-06-25T02:29:19  *** cyphase has quit IRC
 28 2016-06-25T02:34:04  *** cyphase has joined #bitcoin-dev
 29 2016-06-25T02:35:05  *** molz has joined #bitcoin-dev
 30 2016-06-25T02:38:03  *** moli has quit IRC
 31 2016-06-25T02:42:01  *** cyphase has quit IRC
 32 2016-06-25T02:44:08  *** justanotheruser has quit IRC
 33 2016-06-25T02:46:06  *** justanotheruser has joined #bitcoin-dev
 34 2016-06-25T02:46:49  *** cyphase has joined #bitcoin-dev
 35 2016-06-25T02:54:37  *** cyphase has quit IRC
 36 2016-06-25T02:55:20  *** Delta_ has joined #bitcoin-dev
 37 2016-06-25T02:59:22  *** Subo1977 has quit IRC
 38 2016-06-25T02:59:26  *** cyphase has joined #bitcoin-dev
 39 2016-06-25T03:08:24  *** cyphase has quit IRC
 40 2016-06-25T03:12:44  *** impulse has quit IRC
 41 2016-06-25T03:14:40  *** cyphase has joined #bitcoin-dev
 42 2016-06-25T03:16:11  *** alferz has quit IRC
 43 2016-06-25T03:22:53  *** alferz has joined #bitcoin-dev
 44 2016-06-25T03:36:31  *** alferz has quit IRC
 45 2016-06-25T03:39:30  *** impulse has joined #bitcoin-dev
 46 2016-06-25T03:41:20  *** alferz has joined #bitcoin-dev
 47 2016-06-25T03:44:16  *** cyphase has quit IRC
 48 2016-06-25T03:49:04  *** cyphase has joined #bitcoin-dev
 49 2016-06-25T04:03:09  *** gnubeard has joined #bitcoin-dev
 50 2016-06-25T04:05:12  *** jtimon has quit IRC
 51 2016-06-25T04:11:16  *** moa has quit IRC
 52 2016-06-25T04:16:42  *** moa has joined #bitcoin-dev
 53 2016-06-25T04:25:27  *** gnubeard has quit IRC
 54 2016-06-25T04:33:24  *** moa has quit IRC
 55 2016-06-25T04:45:02  *** TheSeven has quit IRC
 56 2016-06-25T04:45:11  *** [7] has joined #bitcoin-dev
 57 2016-06-25T05:15:21  *** ThomasV has joined #bitcoin-dev
 58 2016-06-25T05:24:15  *** cyphase has quit IRC
 59 2016-06-25T05:26:51  *** adamg has quit IRC
 60 2016-06-25T05:29:41  *** cyphase has joined #bitcoin-dev
 61 2016-06-25T05:41:15  *** frankenmint has joined #bitcoin-dev
 62 2016-06-25T05:42:24  *** janko33 has joined #bitcoin-dev
 63 2016-06-25T05:43:34  *** fracting1 has joined #bitcoin-dev
 64 2016-06-25T05:44:24  *** priidu has joined #bitcoin-dev
 65 2016-06-25T05:46:03  *** fracting1 has quit IRC
 66 2016-06-25T05:46:54  *** fracting1 has joined #bitcoin-dev
 67 2016-06-25T05:47:17  *** fracting has quit IRC
 68 2016-06-25T05:48:18  *** ThomasV has quit IRC
 69 2016-06-25T05:49:10  *** fracting1 has quit IRC
 70 2016-06-25T05:49:40  *** fracting1 has joined #bitcoin-dev
 71 2016-06-25T05:50:33  *** fracting1 has quit IRC
 72 2016-06-25T05:50:55  *** fracting has joined #bitcoin-dev
 73 2016-06-25T05:53:40  *** fracting has quit IRC
 74 2016-06-25T05:54:10  *** fracting has joined #bitcoin-dev
 75 2016-06-25T05:57:15  *** fracting has quit IRC
 76 2016-06-25T05:57:43  *** fracting has joined #bitcoin-dev
 77 2016-06-25T06:00:47  *** fracting has quit IRC
 78 2016-06-25T06:01:15  *** fracting has joined #bitcoin-dev
 79 2016-06-25T06:03:32  *** fracting has quit IRC
 80 2016-06-25T06:04:00  *** fracting has joined #bitcoin-dev
 81 2016-06-25T06:05:46  *** fracting has quit IRC
 82 2016-06-25T06:06:14  *** fracting has joined #bitcoin-dev
 83 2016-06-25T06:08:08  *** fracting has quit IRC
 84 2016-06-25T06:08:44  *** fracting has joined #bitcoin-dev
 85 2016-06-25T06:10:56  *** fracting has quit IRC
 86 2016-06-25T06:11:27  *** fracting has joined #bitcoin-dev
 87 2016-06-25T06:13:21  *** fracting has quit IRC
 88 2016-06-25T06:13:49  *** fracting has joined #bitcoin-dev
 89 2016-06-25T06:17:04  *** fracting has quit IRC
 90 2016-06-25T06:17:33  *** fracting has joined #bitcoin-dev
 91 2016-06-25T06:19:43  *** fracting has quit IRC
 92 2016-06-25T06:20:15  *** fracting has joined #bitcoin-dev
 93 2016-06-25T06:22:39  *** fracting has quit IRC
 94 2016-06-25T06:23:08  *** fracting has joined #bitcoin-dev
 95 2016-06-25T06:26:13  *** fracting has quit IRC
 96 2016-06-25T06:26:42  *** fracting has joined #bitcoin-dev
 97 2016-06-25T06:29:08  *** fracting has quit IRC
 98 2016-06-25T06:29:37  *** fracting has joined #bitcoin-dev
 99 2016-06-25T06:31:54  *** fracting has quit IRC
100 2016-06-25T06:32:25  *** fracting has joined #bitcoin-dev
101 2016-06-25T06:34:37  *** fracting has quit IRC
102 2016-06-25T06:35:05  *** fracting has joined #bitcoin-dev
103 2016-06-25T06:37:03  *** fracting has quit IRC
104 2016-06-25T06:37:33  *** fracting has joined #bitcoin-dev
105 2016-06-25T06:39:43  *** fracting has quit IRC
106 2016-06-25T06:40:21  *** fracting has joined #bitcoin-dev
107 2016-06-25T06:42:32  *** fracting has quit IRC
108 2016-06-25T06:43:08  *** fracting has joined #bitcoin-dev
109 2016-06-25T06:44:54  *** frankenmint has quit IRC
110 2016-06-25T06:45:16  *** fracting has quit IRC
111 2016-06-25T06:45:46  *** fracting has joined #bitcoin-dev
112 2016-06-25T06:45:46  *** ThomasV has joined #bitcoin-dev
113 2016-06-25T06:47:45  *** fracting has quit IRC
114 2016-06-25T06:48:19  *** fracting has joined #bitcoin-dev
115 2016-06-25T06:50:46  *** fracting has quit IRC
116 2016-06-25T06:51:19  *** fracting has joined #bitcoin-dev
117 2016-06-25T06:53:32  *** fracting has quit IRC
118 2016-06-25T06:54:07  *** fracting has joined #bitcoin-dev
119 2016-06-25T06:56:13  *** fracting has quit IRC
120 2016-06-25T06:56:43  *** fracting has joined #bitcoin-dev
121 2016-06-25T06:58:54  *** fracting has quit IRC
122 2016-06-25T06:59:23  *** fracting has joined #bitcoin-dev
123 2016-06-25T07:01:32  *** fracting has quit IRC
124 2016-06-25T07:02:16  *** fracting has joined #bitcoin-dev
125 2016-06-25T07:04:35  *** fracting has joined #bitcoin-dev
126 2016-06-25T07:06:20  *** fracting has quit IRC
127 2016-06-25T07:06:50  *** fracting has joined #bitcoin-dev
128 2016-06-25T07:07:40  *** ThomasV has quit IRC
129 2016-06-25T07:08:45  *** fracting has quit IRC
130 2016-06-25T07:09:19  *** fracting has joined #bitcoin-dev
131 2016-06-25T07:10:45  *** fracting has quit IRC
132 2016-06-25T07:12:23  *** Burrito has quit IRC
133 2016-06-25T07:13:19  *** gnubeard has joined #bitcoin-dev
134 2016-06-25T07:16:38  *** blueness has joined #bitcoin-dev
135 2016-06-25T07:42:42  *** rnvk has quit IRC
136 2016-06-25T07:45:07  *** spinza has quit IRC
137 2016-06-25T07:56:09  <wumpus> well let's say the *intention* was for the language to be forth-like, e.g. opcodes such as ROLL and PICK and TUCK are from forth https://github.com/bitcoin/bitcoin/blob/master/src/script/script.h#L103
138 2016-06-25T07:57:54  <wumpus> of course there are other languages that compile to stack based bytecodes. But we don't have a high-level language that (de)compiles to/from bitcoin script, so everyone writes them as 'forth' way
139 2016-06-25T07:59:14  <wumpus> it's very uncommon to label a language based on what its bytecode looks like. Python could just as wel use a register-based bytecode without language changes. Java has Dalvik
140 2016-06-25T08:18:52  *** MoALTz has joined #bitcoin-dev
141 2016-06-25T08:27:31  *** cyphase has quit IRC
142 2016-06-25T08:33:02  *** cyphase has joined #bitcoin-dev
143 2016-06-25T08:33:22  *** spinza has joined #bitcoin-dev
144 2016-06-25T08:33:32  *** frankenmint has joined #bitcoin-dev
145 2016-06-25T08:35:51  *** koad has quit IRC
146 2016-06-25T08:39:16  *** frankenmint has quit IRC
147 2016-06-25T08:39:22  *** frankenmint has joined #bitcoin-dev
148 2016-06-25T08:40:22  *** frankenmint has joined #bitcoin-dev
149 2016-06-25T08:43:38  *** stqism is now known as coup_de_shitlord
150 2016-06-25T08:43:38  *** frankenmint has quit IRC
151 2016-06-25T08:43:43  *** coup_de_shitlord is now known as coup
152 2016-06-25T08:44:04  *** coup is now known as stqism
153 2016-06-25T08:44:26  *** ThomasV has joined #bitcoin-dev
154 2016-06-25T08:46:30  *** cyphase has quit IRC
155 2016-06-25T08:50:37  *** cyphase has joined #bitcoin-dev
156 2016-06-25T08:55:07  *** cyphase has quit IRC
157 2016-06-25T08:57:43  *** stqism has quit IRC
158 2016-06-25T08:58:00  *** coup_de_shitlord has joined #bitcoin-dev
159 2016-06-25T08:58:32  *** coup_de_shitlord is now known as stqism
160 2016-06-25T09:00:04  *** Raziel has quit IRC
161 2016-06-25T09:04:44  *** shurnormal has quit IRC
162 2016-06-25T09:16:01  *** Raziel has joined #bitcoin-dev
163 2016-06-25T09:19:38  *** arubi has quit IRC
164 2016-06-25T09:20:34  *** N3TCAT has joined #bitcoin-dev
165 2016-06-25T09:21:31  <N3TCAT> Hey coders , how can I make my own bitcoin api to send bitcoin via web ?
166 2016-06-25T09:22:04  <N3TCAT> should I install bitcoin core and handle requests with web servers
167 2016-06-25T09:22:15  <N3TCAT> ?
168 2016-06-25T09:34:14  *** murch has joined #bitcoin-dev
169 2016-06-25T09:34:42  *** shurnormal has joined #bitcoin-dev
170 2016-06-25T09:41:05  *** N3TCAT has quit IRC
171 2016-06-25T09:42:58  *** gnubeard has quit IRC
172 2016-06-25T10:02:08  *** arubi has joined #bitcoin-dev
173 2016-06-25T10:12:18  *** milo07 has joined #bitcoin-dev
174 2016-06-25T10:20:49  *** ThomasV has quit IRC
175 2016-06-25T10:24:19  *** MoALTz has quit IRC
176 2016-06-25T10:28:52  *** okae has joined #bitcoin-dev
177 2016-06-25T11:19:21  *** impulse has quit IRC
178 2016-06-25T11:20:25  *** ghounds has joined #bitcoin-dev
179 2016-06-25T11:33:34  *** one_zero has quit IRC
180 2016-06-25T11:34:45  *** ghounds has quit IRC
181 2016-06-25T11:36:18  *** JWU42 has quit IRC
182 2016-06-25T11:36:39  *** JWU42 has joined #bitcoin-dev
183 2016-06-25T11:37:40  *** JWU42 has quit IRC
184 2016-06-25T11:39:51  *** JWU42 has joined #bitcoin-dev
185 2016-06-25T12:20:53  *** Burrito has joined #bitcoin-dev
186 2016-06-25T13:00:10  *** MoALTz has joined #bitcoin-dev
187 2016-06-25T13:07:58  *** Giszmo has joined #bitcoin-dev
188 2016-06-25T13:32:46  *** priidu has quit IRC
189 2016-06-25T13:36:24  *** ThomasV has joined #bitcoin-dev
190 2016-06-25T13:39:53  *** rafale has joined #bitcoin-dev
191 2016-06-25T13:47:52  *** lightningbot has joined #bitcoin-dev
192 2016-06-25T13:48:15  *** yena_ has joined #bitcoin-dev
193 2016-06-25T13:48:19  *** a5m0 has quit IRC
194 2016-06-25T13:48:26  *** a5m0_ has joined #bitcoin-dev
195 2016-06-25T13:50:43  *** jdfriedrikson has joined #bitcoin-dev
196 2016-06-25T13:51:12  *** nsh has quit IRC
197 2016-06-25T13:51:13  *** musalbas has quit IRC
198 2016-06-25T13:51:13  *** yena has quit IRC
199 2016-06-25T13:51:13  *** wangbus has quit IRC
200 2016-06-25T13:51:13  *** darlinger has quit IRC
201 2016-06-25T13:51:13  *** murch has quit IRC
202 2016-06-25T13:51:13  *** nskelsey has quit IRC
203 2016-06-25T13:51:14  *** NicolasDorier has quit IRC
204 2016-06-25T13:51:14  *** wpalczynski has quit IRC
205 2016-06-25T13:51:14  *** mariorz has quit IRC
206 2016-06-25T13:51:14  *** stqism has quit IRC
207 2016-06-25T13:51:14  *** hsmiths has quit IRC
208 2016-06-25T13:51:14  *** cashmen has quit IRC
209 2016-06-25T13:51:15  *** int0x27h has quit IRC
210 2016-06-25T13:51:16  *** Nothing4You has quit IRC
211 2016-06-25T13:51:16  *** stalled has quit IRC
212 2016-06-25T13:51:16  *** cysm has quit IRC
213 2016-06-25T13:51:16  *** milo07 has quit IRC
214 2016-06-25T13:51:17  *** RBecker has quit IRC
215 2016-06-25T13:51:17  *** lclc has quit IRC
216 2016-06-25T13:51:17  *** jonasschnelli has quit IRC
217 2016-06-25T13:51:17  *** phantomcircuit has quit IRC
218 2016-06-25T13:51:17  *** ryan-c has quit IRC
219 2016-06-25T13:51:17  *** mturquette has quit IRC
220 2016-06-25T13:51:18  *** BCBot has quit IRC
221 2016-06-25T13:51:18  *** dirus has quit IRC
222 2016-06-25T13:51:19  *** wangbus_ has joined #bitcoin-dev
223 2016-06-25T13:51:19  *** wangbus_ has joined #bitcoin-dev
224 2016-06-25T13:51:23  *** coup_de_shitlord has joined #bitcoin-dev
225 2016-06-25T13:51:29  *** cysm_ has joined #bitcoin-dev
226 2016-06-25T13:51:42  *** MaxSan has joined #bitcoin-dev
227 2016-06-25T13:51:43  *** musalbas has joined #bitcoin-dev
228 2016-06-25T13:51:49  *** nskelsey has joined #bitcoin-dev
229 2016-06-25T13:51:49  *** NicolasDorier_ is now known as NicolasDorier
230 2016-06-25T13:52:06  *** RBecker has joined #bitcoin-dev
231 2016-06-25T13:52:14  *** phantomcircuit has joined #bitcoin-dev
232 2016-06-25T13:52:31  *** mariorz has joined #bitcoin-dev
233 2016-06-25T13:52:44  *** murch has joined #bitcoin-dev
234 2016-06-25T13:52:49  *** int0x27h has joined #bitcoin-dev
235 2016-06-25T13:53:10  *** rnvk has joined #bitcoin-dev
236 2016-06-25T13:53:38  *** lclc has joined #bitcoin-dev
237 2016-06-25T13:54:44  *** cashmen has joined #bitcoin-dev
238 2016-06-25T13:54:58  *** wpalczynski has joined #bitcoin-dev
239 2016-06-25T13:54:59  *** nsh has joined #bitcoin-dev
240 2016-06-25T13:55:03  *** yena_ is now known as yena
241 2016-06-25T13:55:34  *** mturquette has joined #bitcoin-dev
242 2016-06-25T13:56:15  *** Nothing4You has joined #bitcoin-dev
243 2016-06-25T13:56:30  *** rnvk has quit IRC
244 2016-06-25T13:57:06  *** spudowiar has quit IRC
245 2016-06-25T13:58:04  *** Chris_Stewart_5 has joined #bitcoin-dev
246 2016-06-25T13:59:41  *** rnvk has joined #bitcoin-dev
247 2016-06-25T14:00:00  *** ryan-c has joined #bitcoin-dev
248 2016-06-25T14:02:43  *** stalled has joined #bitcoin-dev
249 2016-06-25T14:06:08  *** priidu has joined #bitcoin-dev
250 2016-06-25T14:06:10  *** milo07 has joined #bitcoin-dev
251 2016-06-25T14:06:12  *** spudowiar has joined #bitcoin-dev
252 2016-06-25T14:07:22  *** koad has joined #bitcoin-dev
253 2016-06-25T14:17:44  *** ThomasV has quit IRC
254 2016-06-25T14:21:14  *** b-itcoinssg has joined #bitcoin-dev
255 2016-06-25T14:22:09  *** b-itcoinssg has quit IRC
256 2016-06-25T14:22:41  *** b-itcoinssg has joined #bitcoin-dev
257 2016-06-25T14:28:17  *** jtimon has joined #bitcoin-dev
258 2016-06-25T14:31:31  *** arubi_ has joined #bitcoin-dev
259 2016-06-25T14:31:33  *** arubi has quit IRC
260 2016-06-25T14:31:47  *** arubi_ is now known as arubi
261 2016-06-25T14:36:15  *** gnubeard has joined #bitcoin-dev
262 2016-06-25T14:40:30  *** Ahmed90 has joined #bitcoin-dev
263 2016-06-25T15:22:02  *** Ylbam has joined #bitcoin-dev
264 2016-06-25T15:42:04  *** Belkaar has quit IRC
265 2016-06-25T15:49:27  *** blueness has quit IRC
266 2016-06-25T15:50:53  *** Belkaar has joined #bitcoin-dev
267 2016-06-25T15:51:16  *** jtimon has quit IRC
268 2016-06-25T15:51:37  *** jtimon has joined #bitcoin-dev
269 2016-06-25T15:56:54  *** Belkaar has quit IRC
270 2016-06-25T16:04:42  *** blueness has joined #bitcoin-dev
271 2016-06-25T16:11:35  *** blueness has quit IRC
272 2016-06-25T16:19:33  *** iwilcox has joined #bitcoin-dev
273 2016-06-25T16:23:36  *** hsmiths has joined #bitcoin-dev
274 2016-06-25T16:41:58  *** b-itcoinssg has quit IRC
275 2016-06-25T16:44:34  *** AtashiCon has quit IRC
276 2016-06-25T16:58:57  *** ThomasV has joined #bitcoin-dev
277 2016-06-25T17:00:14  *** sparetire has quit IRC
278 2016-06-25T17:00:27  *** milo07 has quit IRC
279 2016-06-25T17:14:28  *** donghao has joined #bitcoin-dev
280 2016-06-25T17:18:54  *** gnubeard has quit IRC
281 2016-06-25T17:20:35  *** Sosumi has joined #bitcoin-dev
282 2016-06-25T17:26:55  *** blueness has joined #bitcoin-dev
283 2016-06-25T17:38:34  *** gnubeard has joined #bitcoin-dev
284 2016-06-25T17:42:37  *** gnubeard has quit IRC
285 2016-06-25T17:45:07  *** herzmeister has quit IRC
286 2016-06-25T17:45:24  *** herzmeister has joined #bitcoin-dev
287 2016-06-25T17:48:39  *** bsm117532 has quit IRC
288 2016-06-25T17:48:48  *** bsm117532 has joined #bitcoin-dev
289 2016-06-25T17:48:59  <bsm117532> Will having extra data on the stack cause a Bitcoin script to fail?  As in, place some arbitrary data in front of the signatures in scriptSig, using a P2SH address.  This would allow the spender to reveal a secret that wasn't committed to in the P2SH address.
290 2016-06-25T17:49:07  <bsm117532> e.g. after evaluation the top of the stack is "true" but there are other data on the stack.
291 2016-06-25T17:51:58  *** AtashiCon has joined #bitcoin-dev
292 2016-06-25T17:52:33  *** blueness has joined #bitcoin-dev
293 2016-06-25T17:54:48  <jl2012> bsm117532: not in P2SH or bare scriptPubKey, but transactions like that are not standard and normally not mined
294 2016-06-25T17:55:29  <jl2012> and "reveal a secret that wasn't committed to in the P2SH address" is not safe as anyone can mutate the uncommitted data
295 2016-06-25T17:56:16  <jl2012> in segwit, scripts finished with more than one stack items will fail
296 2016-06-25T17:56:19  <bsm117532> jl2012: Arg true, the signature doesn't cover this data.
297 2016-06-25T17:56:42  <bsm117532> jl2012: The other thing to do is put an OP_DROP in the script.
298 2016-06-25T17:57:04  <bsm117532> But yes it could still be mutated...
299 2016-06-25T17:57:19  <bsm117532> Since the script is revealed at that point, someone could mutate it.
300 2016-06-25T17:59:27  <arubi> what do you mean?  if you're using p2sh, and will only reveal the redeemscript when you actually want the transaction to be published, why not put the secret in the scriptpubkey and op_eqal, or same goes for its hash?
301 2016-06-25T18:00:18  <bsm117532> arubi: This is for secret data that you wish to reveal, but is not known at the time the script is initially funded.
302 2016-06-25T18:01:01  <bsm117532> I suppose one can do this with a more complex script: check a signature of the revealed data...so that it can't be mutated.
303 2016-06-25T18:01:15  <arubi> ah, so maybe use op_return and put the data in the output?
304 2016-06-25T18:01:58  <bsm117532> arubi: OP_RETURN is always a possibility, I was exploring alternativs.
305 2016-06-25T18:02:44  <bsm117532> In particular, the data I wish to reveal is associated with a specific output.  OP_RETURN doesn't get associated with another output.
306 2016-06-25T18:03:06  <bsm117532> (It's super complicated -- I'm revealing a pubkey, and proving I control it)
307 2016-06-25T18:03:39  <arubi> it sounds interesting.  do you have a template I could look at?
308 2016-06-25T18:03:58  *** iwilcox has left #bitcoin-dev
309 2016-06-25T18:04:15  <bsm117532> Well I have a smart contract on another network...trying to duplicate its functionality with bitcoin transactions... ;-)
310 2016-06-25T18:04:36  <arubi> it sounds like the pubkey could be arbitrary, unless it was decided upon before you have to prove you control it?
311 2016-06-25T18:05:45  <bsm117532> arubi: Yes the pubkey could be arbitrary.  What I'm trying to do is revoke a compromised key and replace it with a new one.  (could be a bitcoin key, or a non-secp256k1 key used for other purposes)
312 2016-06-25T18:06:38  <arubi> so, you control the key being revoked, and want to assign a new one, right?
313 2016-06-25T18:06:52  <bsm117532> Correct.
314 2016-06-25T18:07:39  <bsm117532> Assume there's a mechanism by which an attacker who compromises my key *can't* submit this transaction.
315 2016-06-25T18:07:51  <arubi> right, so there's a section in sec1-v2.pdf, "Verifiable and Assisted Key Pair Generation and Validation"
316 2016-06-25T18:08:17  *** Pasha has joined #bitcoin-dev
317 2016-06-25T18:08:19  <arubi> it's very interesting.  you can build a transaction that commits to a signature, instead of a public key
318 2016-06-25T18:08:22  *** Cory has quit IRC
319 2016-06-25T18:08:45  <arubi> the r value of the signature comes from some k you have, but the s value can be anything
320 2016-06-25T18:09:26  <arubi> if you have a secret, you could hash it and put it as s
321 2016-06-25T18:10:02  <arubi> sign with k on some arbitrary transaction, which hash the new pubkey going into checksig with the sig
322 2016-06-25T18:10:34  <arubi> there you have the new key.  I can verify r = old key, s = hash(secret)
323 2016-06-25T18:11:07  <arubi> now, I'm not a cryptographer.  I just played around with something similar not too long ago, so it's fresh in my mind
324 2016-06-25T18:11:14  <arubi> this might be completely broken for all I know
325 2016-06-25T18:11:41  <bsm117532> Very interesting.  Thanks for the pointer!
326 2016-06-25T18:11:53  <bsm117532> It will take me some time to digest that...
327 2016-06-25T18:12:03  <arubi> cheers.  do tell what comes from it
328 2016-06-25T18:12:57  <bsm117532> I hadn't been thinking "an authority may wish to contribute to the generation", but rather that I simply want to provide key replacement, as an individual, and using a transaction as the mechanism to replace it.  (So, doesn't need fancy crypto, just a little bit of Script)
329 2016-06-25T18:14:22  <arubi> I think the authority could mean the revoker.  I also think the 'r' value should be a point addition of the revoked pubkey and some secret "master" key which is secure, because you said the old key was compromised
330 2016-06-25T18:16:08  <bsm117532> I'm assuming the old key is compromised, but there are two keys, the second one is used specifically to create the revocation/replacement transaction for the first.
331 2016-06-25T18:16:27  <bsm117532> It's left as an exercise to the reader how to make sure they don't both get compromised at the same time.
332 2016-06-25T18:17:10  <arubi> right, but using the scheme I described, there has to be a third trusted uncompromised key.  if the r value would be just the old key, then an attacker could revoke a key himself
333 2016-06-25T18:17:18  *** Pasha is now known as Cory
334 2016-06-25T18:17:38  <arubi> so a 'revoker' has the authority to revoke a key if he can provide a signature in the form of 'r = (old key + master key), s = hash(secret)', and the public key to verify such a revoke operation (a transaction) is the new public key
335 2016-06-25T18:18:47  <bsm117532> I see.  I question the value of the fancy crypto here, when one could do the same thing using arbitrary, unrelated keys.
336 2016-06-25T18:19:18  <bsm117532> Holding two keys is not a problem for most.  ;-)
337 2016-06-25T18:20:30  <arubi> so, revoke a key the usual way by telling a key directory?
338 2016-06-25T18:20:47  <bsm117532> arubi: Yes, where that key directory is called Bitcoin.
339 2016-06-25T18:21:44  <arubi> oh sure, the only reason I think fancy crypto is needed is because it's hard to prove a valid revocation once the key is compromised
340 2016-06-25T18:22:55  <bsm117532> arubi: I'd say that it's impossible to prove a valid revocation, period.  You can make chains of additional secrets that you hope aren't compromised, but you can't actually know.  Best you can do is require the compromise of multiple secrets, and then it's up to you to create a policy about how to store those secrets.
341 2016-06-25T18:23:42  <bsm117532> If I'm going to trust your revocation method, I might want to audit your key storage protocols.
342 2016-06-25T18:24:00  <bsm117532> But for an individual, imagine this kind of key replacement defining the chain of custody for my coins...
343 2016-06-25T18:25:57  <arubi> I agree that it's turtles all the way down when trust is involved.  there's no perfect method, and there could only be that many factors until it's too cumbersome
344 2016-06-25T18:31:00  <bsm117532> There's nothing new to say about trust really, but what interests me is the ability to have a distributed revocation/replacement mechanism using transactions.  That's new.  CRL's are centralized and rarely checked.
345 2016-06-25T18:31:45  <arubi> blockchains are checked on silly websites and are often spammed :)
346 2016-06-25T18:33:49  <arubi> if everyone are hosting their own key servers, and absolutely everybody tells everybody else about keys, then we have something, but most folks don't run a node
347 2016-06-25T18:34:09  <arubi> they use 3rd party services to query the chain, then we're back to where we started
348 2016-06-25T18:37:35  *** justanotheruser has quit IRC
349 2016-06-25T18:40:15  *** justanotheruser has joined #bitcoin-dev
350 2016-06-25T18:46:16  *** herzmeister has quit IRC
351 2016-06-25T18:46:38  *** herzmeister has joined #bitcoin-dev
352 2016-06-25T18:53:55  *** murch has quit IRC
353 2016-06-25T18:56:59  *** ThomasV has quit IRC
354 2016-06-25T18:59:15  *** Belkaar has joined #bitcoin-dev
355 2016-06-25T19:00:20  *** Belkaar has joined #bitcoin-dev
356 2016-06-25T19:06:17  *** Belkaar has quit IRC
357 2016-06-25T19:06:27  *** Belkaar has joined #bitcoin-dev
358 2016-06-25T19:06:57  *** GAit has joined #bitcoin-dev
359 2016-06-25T19:11:16  *** Belkaar has quit IRC
360 2016-06-25T19:11:29  *** Belkaar has joined #bitcoin-dev
361 2016-06-25T19:12:52  *** GAit has quit IRC
362 2016-06-25T19:19:20  *** molly has joined #bitcoin-dev
363 2016-06-25T19:20:05  *** blueness has quit IRC
364 2016-06-25T19:21:08  *** GAit has joined #bitcoin-dev
365 2016-06-25T19:21:17  *** blueness has joined #bitcoin-dev
366 2016-06-25T19:22:17  *** molz has quit IRC
367 2016-06-25T19:22:38  *** moli has joined #bitcoin-dev
368 2016-06-25T19:24:18  *** molly has quit IRC
369 2016-06-25T19:32:29  *** GAit has quit IRC
370 2016-06-25T19:34:32  *** GAit has joined #bitcoin-dev
371 2016-06-25T19:39:24  *** MaxSan has quit IRC
372 2016-06-25T19:39:54  *** jtimon has quit IRC
373 2016-06-25T19:40:05  *** jtimon has joined #bitcoin-dev
374 2016-06-25T19:44:14  *** ThomasV has joined #bitcoin-dev
375 2016-06-25T19:44:29  *** herzmeister has quit IRC
376 2016-06-25T19:44:47  *** herzmeister has joined #bitcoin-dev
377 2016-06-25T19:59:58  *** donghao has quit IRC
378 2016-06-25T20:03:03  *** ThomasV has quit IRC
379 2016-06-25T20:08:08  *** Giszmo has quit IRC
380 2016-06-25T20:09:33  *** gnubeard has joined #bitcoin-dev
381 2016-06-25T20:12:42  *** sparetire has joined #bitcoin-dev
382 2016-06-25T20:21:43  *** GAit has quit IRC
383 2016-06-25T20:23:34  *** markus-k_ has quit IRC
384 2016-06-25T20:29:43  *** GAit has joined #bitcoin-dev
385 2016-06-25T20:41:32  *** herzmeister has quit IRC
386 2016-06-25T20:41:57  *** herzmeister has joined #bitcoin-dev
387 2016-06-25T20:45:21  *** ThomasV has joined #bitcoin-dev
388 2016-06-25T20:54:41  *** gnubeard has quit IRC
389 2016-06-25T20:56:38  *** blueness has quit IRC
390 2016-06-25T20:59:06  *** blueness has joined #bitcoin-dev
391 2016-06-25T21:24:41  *** adamg has joined #bitcoin-dev
392 2016-06-25T21:25:38  *** ThomasV has quit IRC
393 2016-06-25T21:27:04  *** rafale has quit IRC
394 2016-06-25T21:33:26  *** gnubeard has joined #bitcoin-dev
395 2016-06-25T21:51:07  *** gnubeard has quit IRC
396 2016-06-25T21:58:55  *** janko33 has quit IRC
397 2016-06-25T22:05:02  *** gnubaldo has joined #bitcoin-dev
398 2016-06-25T22:09:04  *** rafale has joined #bitcoin-dev
399 2016-06-25T22:13:38  *** okae has quit IRC
400 2016-06-25T22:23:48  *** blueness has quit IRC
401 2016-06-25T22:24:53  *** blueness has joined #bitcoin-dev
402 2016-06-25T22:27:20  *** gnubaldo has quit IRC
403 2016-06-25T22:28:51  *** Cory has quit IRC
404 2016-06-25T22:29:27  *** Cory has joined #bitcoin-dev
405 2016-06-25T22:42:41  *** CheckDavid has joined #bitcoin-dev
406 2016-06-25T22:52:25  *** arioBarzan has joined #bitcoin-dev
407 2016-06-25T22:55:54  *** deadalnix has joined #bitcoin-dev
408 2016-06-25T22:59:39  *** GAit has quit IRC
409 2016-06-25T23:00:12  <arioBarzan> what is the difference between OP_CHECKLOCKTIMEVERIFY and OP_CHECKSEQUENCEVERIFY ?
410 2016-06-25T23:05:05  *** arioBarzan has left #bitcoin-dev
411 2016-06-25T23:11:12  *** Starduster_ is now known as Starduster
412 2016-06-25T23:38:34  *** arioBarzan has joined #bitcoin-dev
413 2016-06-25T23:40:19  *** arioBarzan has quit IRC
414 2016-06-25T23:59:41  *** herzmeister has quit IRC