News for hackers. Stuff that matters.
Re:Reddit has shut down its nascent cryptocurrency project by yafujifide on Monday February 02, 2015 @12:39PM (#8985426)
There is no working javascript full node. I believe the future of bitcoin is brighter if there are many independent implementations of bitcoin running as full nodes.

I want bitcoin running in a browser because browsers work on every platform and can bring bitcoin to more people. Also keep in mind that reddit is primarily a website, to using javascript is a pretty appropriate first choice of language for bitcoin stuff.

Can you do serious crypto in C? Only if you know what you're doing and don't screw up. Same goes for javascript.

Re:Reddit has shut down its nascent cryptocurrency project by Sir_Cmpwn on Monday February 02, 2015 @01:02PM (#8985575)
>Can you do serious crypto in C? Only if you know what you're doing and don't screw up. Same goes for javascript.

Overall I am sympathetic to your cause, but this raises alarms. JavaScript crypto is nonsense, you could have the implementation silently replaced with a naughty one at the hosts leisure.

EDIT: To respond to all of you at once - everything I've seen so far says that he was aiming for JS in the browser. Did I miss something?

Re:Reddit has shut down its nascent cryptocurrency project by yafujifide on Monday February 02, 2015 @01:11PM (#8985640)
That has nothing to do with javascript-the-language, but rather the way the web works. Obviously even with https, javascript delivered by a web server has a vulnerability whereby the web server may be compromised, which is outside of the users control. Any javscript delivered by a web server should be executed with that understanding. i.e., delivering a wallet from a web server is probably not the right thing to do. Note that javascript can also be run in the form of a browser extension, server-side node, node-webkit, apache cordova, etc. Javascript-the-language is not intrinsically vulnerable to a compromised webserver.
Re:Reddit has shut down its nascent cryptocurrency project by Sir_Cmpwn on Monday February 02, 2015 @01:14PM (#8985658)
It's fair to say that JavaScript-the-language is not intrinsically vulnerable to this, but how else are you planning on delivering the JavaScript to clients? I may be misinterpreting your goals.
Re:Reddit has shut down its nascent cryptocurrency project by yafujifide on Monday February 02, 2015 @01:29PM (#8985771)
Not in the form of a webapp. It would have been a browser extension and/or mobile.
Re:Reddit has shut down its nascent cryptocurrency project by Sir_Cmpwn on Monday February 02, 2015 @01:34PM (#8985805)
Thanks for clarifying.
Re:Reddit has shut down its nascent cryptocurrency project by tptacek on Monday February 02, 2015 @01:54PM (#8985973)
This seems pretty much correct.
Re:Reddit has shut down its nascent cryptocurrency project by jsprogrammer on Monday February 02, 2015 @06:46PM (#8987926)
A usable browser implementation of a wallet could be secured fairly well and if it gained any popularity would put pressure on browser makers to deliver better solutions.
Re:Reddit has shut down its nascent cryptocurrency project by geofft on Monday February 02, 2015 @01:09PM (#8985628)
That's also true of C with an auto-update framework. That's also true of closed-source C.

There are plenty of ways to avoid that particular trap of JS crypto (or more specifically web crypto). Bundling it inside an extension comes to mind.

All that said, I'm not even convinced this attack is within the threat model of Redditcoin, given that it's resources for a specific website that is also the JS origin.

Re:Reddit has shut down its nascent cryptocurrency project by matthewmacleod on Monday February 02, 2015 @01:08PM (#8985619)
That's not really the case - yes, crypto in the browser is possibly nonsense, but crypto under e.g. Node.js is anything but.
Re:Reddit has shut down its nascent cryptocurrency project by michaelchisari on Monday February 02, 2015 @01:08PM (#8985620)
We're not talking about client-side javascript, are we? I assumed he meant node.js/server side.
Re:Reddit has shut down its nascent cryptocurrency project by yafujifide on Monday February 02, 2015 @01:28PM (#8985761)
Yes exactly. I think people who are not whatsoever involved in the javascript world assume that javscript means "delivered by a webserver", which is just not necessarily true.
Re:Reddit has shut down its nascent cryptocurrency project by Sir_Cmpwn on Monday February 02, 2015 @01:35PM (#8985812)
For what it's worth, I (the acuser) am super familiar with JavaScript, I just thought you were making a web app. Sorry to cause confusion.
Re:Reddit has shut down its nascent cryptocurrency project by jonpaul on Monday February 02, 2015 @01:08PM (#8985622)
> JavaScript crypto is nonsense

What makes you think this?

Re:Reddit has shut down its nascent cryptocurrency project by stream_fusion on Monday February 02, 2015 @03:34PM (#8986747)
npm can use server-side resources.

But where do you store the 25GB blockchain in a client-side full-node implementation?

Isn't this just an implementation only for Node?

Re:Reddit has shut down its nascent cryptocurrency project by yafujifide on Monday February 02, 2015 @04:28PM (#8987116)
I don't think anyone is going to run a full node in a browser any time soon, but if they do, IndexedDB.