diff --git a/_posts/2016-05-03-satoshisignature.md b/_posts/2016-05-03-satoshisignature.md new file mode 100644 index 0000000..9b23975 --- /dev/null +++ b/_posts/2016-05-03-satoshisignature.md @@ -0,0 +1,95 @@ +--- +title: Why Wright's proof is a fake +date: 2016-05-03 +author: pesceWanda +layout: post +categories: + - PesceWanda +tags: + - bitcoin + - wright + - scam + - satoshi nakamoto scam +--- +I explained in my previous [post](http://francescomecca.eu/pescewanda/2016/04/17/wright-nakamoto/) (in italian) that the signature that Wright provided as a public proof is in fact invalid. +I want to explain briefly how you could check this claim. +The key in Wright's [post](http://www.drcraigwright.net/jean-paul-sartre-signing-significance/) is this: + +``` +------------------------- Signature File ------------------------- +MEUCIQDBKn1Uly8m0UyzETObUSL4wYdBfd4ejvtoQfVcNCIK4AIgZmMsXNQWHvo6KDd2Tu6euEl1 +3VTC3ihl6XUlhcU+fM4= +------------------------- End Signature -------------------------- +``` + +Now we can use some bash utilities: + +- base64, that translates encoded ASCII text; +- hexdump, that displays hexadecimal contents from the input; +- cut, used to remove the binary part of the input; +- tr, used to delete spaces and carriage return from the input; + +``` +base64 -d <<<'MEUCIQDBKn1Uly8m0UyzETObUSL4wYdBfd4ejvtoQfVcNCIK4AIgZmMsXNQWHvo6KDd2Tu6euEl13VTC3ihl6XUlhcU+fM4=' | hexdump -C| cut -b 11-60| tr -d ' \n' + +3045022100c12a7d54972f26d14cb311339b5122f8c187417dde1e8efb6841f55c34220ae0022066632c5cd4161efa3a2837764eee9eb84975dd54c2de2865e9752585c53e7cce +``` + +Let's analyze the command one by one: + +- `base64 -d` decodes the redirected string, the output is some gibberish characters so I won't display them here; +- `hexdump -C` is used with a pipe to convert to hexadecimal: + +``` +00000000 30 45 02 21 00 c1 2a 7d 54 97 2f 26 d1 4c b3 11 |0E.!..*}T./&.L..| +00000010 33 9b 51 22 f8 c1 87 41 7d de 1e 8e fb 68 41 f5 |3.Q"...A}....hA.| +00000020 5c 34 22 0a e0 02 20 66 63 2c 5c d4 16 1e fa 3a |\4"... fc,\....:| +00000030 28 37 76 4e ee 9e b8 49 75 dd 54 c2 de 28 65 e9 |(7vN...Iu.T..(e.| +00000040 75 25 85 c5 3e 7c ce |u%..>|.| +``` + +- cut -b 11-60 displays only the character from column 11 to 60: + +``` +30 45 02 21 00 c1 2a 7d 54 97 2f 26 d1 4c b3 11 +33 9b 51 22 f8 c1 87 41 7d de 1e 8e fb 68 41 f5 +5c 34 22 0a e0 02 20 66 63 2c 5c d4 16 1e fa 3a +28 37 76 4e ee 9e b8 49 75 dd 54 c2 de 28 65 e9 +75 25 85 c5 3e 7c ce +``` + +- `tr -d ' \n'` is used to delete spaces and carriage return from the output so that is shown in one line and gives us the final result: + +``` +3045022100c12a7d54972f26d14cb311339b5122f8c187417dde1e8efb6841f55c34220ae0022066632c5cd4161efa3a2837764eee9eb84975dd54c2de2865e9752585c53e7cce +``` + +There is also another cleartext string at the beginning of Wright's post: + +``` +$ base64 -d <<<'IFdyaWdodCwgaXQgaXMgbm90IHRoZSBzYW1lIGFzIGlmIEkgc2lnbiBDcmFpZyBXcmlnaHQsIFNhdG9zaGkuCgo=' +Wright, it is not the same as if I sign Craig Wright, Satoshi. +``` + +Now let's head to blockchain.info. +Blockchain.info has a little [utility] (https://blockchain.info/decode-tx) to get hexadecimal informations out of a transaction on the blockchain, so let's use it to get the related info about this transaction: + +[tx/828ef3b079f9c23829c56fe86e85b4a69d9e06e5b54ea597eef5fb3ffef509fe](https://blockchain.info/tx/828ef3b079f9c23829c56fe86e85b4a69d9e06e5b54ea597eef5fb3ffef509fe) +[tx/828ef3b079f9... in hexadecimal](https://blockchain.info/tx/828ef3b079f9c23829c56fe86e85b4a69d9e06e5b54ea597eef5fb3ffef509fe?format=hex) + +As you can see the entire output of the first bash command, that is +``` +3045022100c12a7d54972f26d14cb311339b5122f8c187417dde1e8efb6841f55c34220ae0022066632c5cd4161efa3a2837764eee9eb84975dd54c2de2865e9752585c53e7cce +``` +is contained in: +``` +"script":"483045022100c12a7d54972f26d14cb311339b5122f8c187417dde1e8efb6841f55c34220ae0022066632c5cd4161efa3a2837764eee9eb84975dd54c2de2865e9752585c53e7cce01" +``` +except for the 48 at the beginning and the 01 at the end. + +That is a signature hash: +this [page](https://en.bitcoin.it/wiki/List_of_address_prefixes) explains that the 48 is just a decimal prefix given to uncompressed transactions, and the 01 at the end is just a SIGHASH_ALL [code](https://bitcoin.org/en/glossary/signature-hash) that flags the end of the signature. + +## So, is it a fake? +Yes, indeed. +At the end, I ask, why would you choose anything else than the easiest and most conclusive way to prove something? diff --git a/_posts/2016-05-03-wright-nakamoto.md b/_posts/2016-05-03-wright-nakamoto.md index 6da8f37..48c6b93 100644 --- a/_posts/2016-05-03-wright-nakamoto.md +++ b/_posts/2016-05-03-wright-nakamoto.md @@ -72,3 +72,9 @@ Charlie Lee, il creatore dei Litecoin su medium ci ha dato una [dimostrazione](h Non abbiamo bisogno di colloqui privati, laptop nuovi di fabbrica e screenshot di script. Nei primi blocchi, i genesis blocks, rimangono registatrate un numero sufficiente di chiavi pubbliche appartenenti al creatore della blockchain. Chiunque dichiari di essere Satoshi deve poter firmare un messaggio utilizzando una di quelle chiavi. Questo è quello che il creatore dei Litecoin mostra in 4 righe. Ogni altra prova è discutibile e non necessaria. + +## EDIT 22:12 +Su Twitter il profilo ufficiale di Electrum [scrive](https://mobile.twitter.com/ElectrumWallet/status/727366861592076288): +>Note: There was no download of a signature file of electrum (.asc file) from a UK IP on Apr 7th. + +Questo significa che il 7 Aprile, quando Wright ha mostrato a Gavin le sue chiavi utilizzando Electrum, nessuna delle due parti si è preoccupata di verificare che il client fosse autentico. Questo invalida ulteriormente tutte le affermazioni di Gavin. diff --git a/_site/404.html b/_site/404.html index bb760c3..9d19cea 100644 --- a/_site/404.html +++ b/_site/404.html @@ -100,6 +100,10 @@ + + + + diff --git a/_site/about/index.html b/_site/about/index.html index 308ca48..3d599e4 100644 --- a/_site/about/index.html +++ b/_site/about/index.html @@ -100,6 +100,10 @@ + + + + diff --git a/_site/archive/index.html b/_site/archive/index.html index 93bd50e..c655e4b 100644 --- a/_site/archive/index.html +++ b/_site/archive/index.html @@ -100,6 +100,10 @@ + + + + @@ -128,6 +132,7 @@

Blog Posts

diff --git a/_site/index.php/archives/23.html b/_site/index.php/archives/23.html index d4ae624..3842234 100644 --- a/_site/index.php/archives/23.html +++ b/_site/index.php/archives/23.html @@ -100,6 +100,10 @@ + + + + @@ -178,6 +182,15 @@

Related Posts

diff --git a/_site/index.php/archives/27.html b/_site/index.php/archives/27.html index 05900bd..0d38c37 100644 --- a/_site/index.php/archives/27.html +++ b/_site/index.php/archives/27.html @@ -100,6 +100,10 @@ + + + + @@ -201,6 +205,15 @@ Truecrypt permette di creare un volume crittografico che si presenta come un fil

Related Posts

diff --git a/_site/index.php/archives/32.html b/_site/index.php/archives/32.html index 3c2dbc1..634530d 100644 --- a/_site/index.php/archives/32.html +++ b/_site/index.php/archives/32.html @@ -100,6 +100,10 @@ + + + + @@ -760,6 +764,15 @@

Related Posts

diff --git a/_site/index.php/archives/36.html b/_site/index.php/archives/36.html index 9601a1d..bb2e1a0 100644 --- a/_site/index.php/archives/36.html +++ b/_site/index.php/archives/36.html @@ -100,6 +100,10 @@ + + + + @@ -185,6 +189,15 @@

Related Posts

diff --git a/_site/index.php/archives/37.html b/_site/index.php/archives/37.html index f8d9305..641b4cf 100644 --- a/_site/index.php/archives/37.html +++ b/_site/index.php/archives/37.html @@ -100,6 +100,10 @@ + + + + @@ -161,6 +165,15 @@

Related Posts

diff --git a/_site/index.php/archives/44.html b/_site/index.php/archives/44.html index 522b97b..098c664 100644 --- a/_site/index.php/archives/44.html +++ b/_site/index.php/archives/44.html @@ -100,6 +100,10 @@ + + + + @@ -277,6 +281,15 @@

Related Posts

diff --git a/_site/index.php/archives/46.html b/_site/index.php/archives/46.html index b0d88e8..e8244e8 100644 --- a/_site/index.php/archives/46.html +++ b/_site/index.php/archives/46.html @@ -100,6 +100,10 @@ + + + + @@ -198,6 +202,15 @@ Alcuni Related Posts diff --git a/_site/index.php/archives/47.html b/_site/index.php/archives/47.html index c81d4b2..f13fdb6 100644 --- a/_site/index.php/archives/47.html +++ b/_site/index.php/archives/47.html @@ -100,6 +100,10 @@ + + + + @@ -152,6 +156,15 @@ L’opera si trova a Berlino.

Related Posts

diff --git a/_site/index.php/archives/51.html b/_site/index.php/archives/51.html index 16e7c11..5b8c1d3 100644 --- a/_site/index.php/archives/51.html +++ b/_site/index.php/archives/51.html @@ -100,6 +100,10 @@ + + + + @@ -206,6 +210,15 @@

Related Posts

diff --git a/_site/index.php/archives/55.html b/_site/index.php/archives/55.html index a440bd9..ce58027 100644 --- a/_site/index.php/archives/55.html +++ b/_site/index.php/archives/55.html @@ -100,6 +100,10 @@ + + + + @@ -154,6 +158,15 @@ L’attacco avviene attraverso l’uso di codice Javascript e analizza l

Related Posts

diff --git a/_site/index.php/archives/57.html b/_site/index.php/archives/57.html index 4e54264..4532978 100644 --- a/_site/index.php/archives/57.html +++ b/_site/index.php/archives/57.html @@ -100,6 +100,10 @@ + + + + @@ -242,6 +246,15 @@

Related Posts

diff --git a/_site/index.php/archives/60.html b/_site/index.php/archives/60.html index 66ac34e..6788920 100644 --- a/_site/index.php/archives/60.html +++ b/_site/index.php/archives/60.html @@ -100,6 +100,10 @@ + + + + @@ -164,6 +168,15 @@ Secondo alcuni amministartori del sito, tra cui OptimusCrime, Boneless vendette

Related Posts

diff --git a/_site/index.php/archives/66.html b/_site/index.php/archives/66.html index eefc23f..020cb17 100644 --- a/_site/index.php/archives/66.html +++ b/_site/index.php/archives/66.html @@ -100,6 +100,10 @@ + + + + @@ -213,6 +217,15 @@

Related Posts

diff --git a/_site/index.php/archives/67.html b/_site/index.php/archives/67.html index e346125..d0b9f75 100644 --- a/_site/index.php/archives/67.html +++ b/_site/index.php/archives/67.html @@ -100,6 +100,10 @@ + + + + @@ -182,6 +186,15 @@ In questo modo ed attraverso i cookie Facebook riesce a riunire la maggior parte

Related Posts

diff --git a/_site/index.php/archives/70.html b/_site/index.php/archives/70.html index f1cc10a..bb78897 100644 --- a/_site/index.php/archives/70.html +++ b/_site/index.php/archives/70.html @@ -100,6 +100,10 @@ + + + + @@ -231,6 +235,15 @@

Related Posts

diff --git a/_site/index.php/archives/73.html b/_site/index.php/archives/73.html index 97b47ea..935166a 100644 --- a/_site/index.php/archives/73.html +++ b/_site/index.php/archives/73.html @@ -100,6 +100,10 @@ + + + + @@ -154,6 +158,15 @@ Il payload è un tipo di shellcode, ovvero un piccolo pezzo di codice, che sfrut

Related Posts

diff --git a/_site/index.php/archives/78.html b/_site/index.php/archives/78.html index 18d1573..98f5b01 100644 --- a/_site/index.php/archives/78.html +++ b/_site/index.php/archives/78.html @@ -100,6 +100,10 @@ + + + + @@ -156,6 +160,15 @@

Related Posts

diff --git a/_site/index.php/archives/82.html b/_site/index.php/archives/82.html index 15b8daf..15450f1 100644 --- a/_site/index.php/archives/82.html +++ b/_site/index.php/archives/82.html @@ -100,6 +100,10 @@ + + + + @@ -206,6 +210,15 @@

Related Posts

diff --git a/_site/index.php/archives/85.html b/_site/index.php/archives/85.html index ea74153..6234597 100644 --- a/_site/index.php/archives/85.html +++ b/_site/index.php/archives/85.html @@ -100,6 +100,10 @@ + + + + @@ -193,6 +197,15 @@ I dati sono la risposta economica a: “Iscriviti, e’ gratis e lo sarà se

Related Posts

diff --git a/_site/index.php/archives/87.html b/_site/index.php/archives/87.html index 86167d4..99ab0c9 100644 --- a/_site/index.php/archives/87.html +++ b/_site/index.php/archives/87.html @@ -100,6 +100,10 @@ + + + + @@ -183,6 +187,15 @@

Related Posts

diff --git a/_site/index.php/archives/9.html b/_site/index.php/archives/9.html index 97e52f4..a03d3ba 100644 --- a/_site/index.php/archives/9.html +++ b/_site/index.php/archives/9.html @@ -100,6 +100,10 @@ + + + + @@ -172,6 +176,15 @@ echo Complete.

Related Posts

diff --git a/_site/index.php/archives/90.html b/_site/index.php/archives/90.html index a164e74..413e7a5 100644 --- a/_site/index.php/archives/90.html +++ b/_site/index.php/archives/90.html @@ -100,6 +100,10 @@ + + + + @@ -143,6 +147,15 @@

Related Posts

diff --git a/_site/index.php/archives/99.html b/_site/index.php/archives/99.html index 8df85a1..1a9619d 100644 --- a/_site/index.php/archives/99.html +++ b/_site/index.php/archives/99.html @@ -100,6 +100,10 @@ + + + + @@ -185,6 +189,15 @@

Related Posts

diff --git a/_site/page2/index.html b/_site/page2/index.html index f8b1480..634bf02 100644 --- a/_site/page2/index.html +++ b/_site/page2/index.html @@ -100,6 +100,10 @@ + + + + @@ -125,6 +129,45 @@
+
+

+ + The Buridan's donkey in python + +

+ + + +

During the final weeks of my exam session I started reading a bit about python 3 using an excellent book: Dive into Python. +When I noted that python uses the Mersenne Twister PRNG as well I decided to write another version of my Buridan's donkey program.

+ +
    import random, sys
+
+    if __name__ == '__main__':
+        args = list()
+        if not sys.stdin.isatty():
+            for line in sys.stdin:
+                if line[-1] is '\n':
+                    line = line[:-1]
+                args.append(line)
+        else:
+            args = sys.argv[1:]
+        argRange = len(args)
+        for i in range(argRange):
+            print(str(i+1) + '.', args.pop(random.randrange(0, len(args))))
+ +

This script works in a different way than the one in c++. +Rather than shuffling a list made by the entries in the arguments, it pops randomly one entry from the list till the list is empty.

+ +

Not satisfied enough, I wrote also a telegram bot using the telebot library that works as the script above but inside the telegram app. +The bot can be added to your contact list by simply searching for @duridan_donkey_bot (yes, a typo!)

+ +

All the code is opensource and can be found on my github page.

+ +

Francesco Mecca

+ +
+

@@ -388,27 +431,6 @@ perl-cleaner --all

-
-

- - Addio Blogspot - -

- - - -

Ho deciso di abbandonare Blogspot per le stesse ragioni per cui ho smesso di utilizzare i servizi Google due anni fa: privacy e controllo.

- -

Ora il blog e` disponibile a questo indirizzo ed e` fisicamente sul mio Raspberry PI che utilizza Raspbian + WordPress.

- -

 

- -

 

- -

 

- -
-