Bitcoin Forum
November 03, 2024, 03:27:52 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: A Browser Based Cryptocurrency Client [real devs only please]  (Read 2628 times)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
November 14, 2013, 09:28:29 PM
 #21

have you worked much with WebRTC?

Not much, just played a little. This tech is still too raw.
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 14, 2013, 09:31:06 PM
 #22

have you worked much with WebRTC?

Not much, just played a little. This tech is still too raw.

I was looking at this also: http://www.pjsip.org/pjnath/docs/html/

it's a Java library that uses the same set of protocols for NAT traversal as WebRTC.

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 14, 2013, 09:34:55 PM
 #23

I would double check all your assumptions here.  The problem of connecting two people behind NAT is non-trivial.  I think what this article is talking about is a simple Browser API for connecting to other people who are connected to the server.  You haven't taken the server out of the equation, although you might hide some of the complexities of this arrangement.

http://webrtchacks.com/an-intro-to-webrtcs-natfirewall-problem/

I can only hope that at some point you will realize this has nothing to do with cryptography.



Crypto is part of the problem, interacting with the p2p network is another.

Seems that the javascript crypto space is inhabited by various individuals hacking out their own ideas and not much organization or collaboration, which is strange because browser-based crypto is very commonly requested by the development community.

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
moderate
Member
**
Offline Offline

Activity: 98
Merit: 10

nearly dead


View Profile
November 14, 2013, 09:40:17 PM
 #24

I would double check all your assumptions here.  The problem of connecting two people behind NAT is non-trivial.  I think what this article is talking about is a simple Browser API for connecting to other people who are connected to the server.  You haven't taken the server out of the equation, although you might hide some of the complexities of this arrangement.

http://webrtchacks.com/an-intro-to-webrtcs-natfirewall-problem/

I can only hope that at some point you will realize this has nothing to do with cryptography.

Seems that the javascript crypto space is inhabited by various individuals hacking out their own ideas and not much organization or collaboration, which is strange because browser-based crypto is very commonly requested by the development community.

Start reading here http://www.matasano.com/articles/javascript-cryptography/
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
November 14, 2013, 09:50:18 PM
 #25

I can only hope that at some point you will realize this has nothing to do with cryptography.

I didn't notice this.

Yes, I do know that p2p has nothing to do with cryptography. But it's essential for decentralized cryptocurrency.
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 14, 2013, 09:52:25 PM
 #26

I can only hope that at some point you will realize this has nothing to do with cryptography.

I didn't notice this.

Yes, I do know that p2p has nothing to do with cryptography. But it's essential for decentralized cryptocurrency.

he's just got some bone to pick, I would ignore him.

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
moderate
Member
**
Offline Offline

Activity: 98
Merit: 10

nearly dead


View Profile
November 14, 2013, 09:56:52 PM
 #27

I can only hope that at some point you will realize this has nothing to do with cryptography.

I didn't notice this.

Yes, I do know that p2p has nothing to do with cryptography. But it's essential for decentralized cryptocurrency.

he's just got some bone to pick, I would ignore him.

You can ignore me as much as you please, just don't fuck the users with this broken tool you are planning. Hope you read the previous link.
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 14, 2013, 10:10:25 PM
 #28

I can only hope that at some point you will realize this has nothing to do with cryptography.

I didn't notice this.

Yes, I do know that p2p has nothing to do with cryptography. But it's essential for decentralized cryptocurrency.

he's just got some bone to pick, I would ignore him.

You can ignore me as much as you please, just don't fuck the users with this broken tool you are planning. Hope you read the previous link.

this project offers client side encryption for Gmail and it works completely in the web browser: https://chrome.google.com/webstore/detail/mymail-crypt-for-gmail/jcaobjhdnlpmopmjhijplpjhlplfkhba

a Browser based Cryptocurrency client would have similar security considerations.

keep trolling...

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
moderate
Member
**
Offline Offline

Activity: 98
Merit: 10

nearly dead


View Profile
November 14, 2013, 10:12:35 PM
 #29

I can only hope that at some point you will realize this has nothing to do with cryptography.

I didn't notice this.

Yes, I do know that p2p has nothing to do with cryptography. But it's essential for decentralized cryptocurrency.

he's just got some bone to pick, I would ignore him.

You can ignore me as much as you please, just don't fuck the users with this broken tool you are planning. Hope you read the previous link.

a Browser based Cryptocurrency client would have similar security considerations.

Do you even understand why cryptocat moved to a plugin model ? Gosh, you are hopeless. I'm leaving you alone now.
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 14, 2013, 10:16:59 PM
 #30

I can only hope that at some point you will realize this has nothing to do with cryptography.

I didn't notice this.

Yes, I do know that p2p has nothing to do with cryptography. But it's essential for decentralized cryptocurrency.

he's just got some bone to pick, I would ignore him.

You can ignore me as much as you please, just don't fuck the users with this broken tool you are planning. Hope you read the previous link.

a Browser based Cryptocurrency client would have similar security considerations.

Do you even understand why cryptocat moved to a plugin model ? Gosh, you are hopeless. I'm leaving you alone now.

if you have such a rich background in javascript based crypto browser security, why don't you tell us who you are so we can review your past accomplishments?

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
eb3full
VIP
Full Member
*
Offline Offline

Activity: 198
Merit: 101


View Profile
November 14, 2013, 11:19:29 PM
 #31

You could probably compile OpenSSL (or maybe entire portions of bitcoind) into javascript using emscripten. I still personally believe any browser-based wallets are flawed unless the signing is occurring on a physical device in control of the user. All of the technologies needed for a browser-based wallet (WebRTC etc.) are there though.

"With four parameters I can fit an elephant, and with five I can make him wiggle his trunk." John von Neumann
buy me beer: 1HG9cBBYME4HUVhfAqQvW9Vqwh3PLioHcU
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 14, 2013, 11:47:34 PM
Last edit: November 15, 2013, 12:14:25 AM by bluemeanie1
 #32

You could probably compile OpenSSL (or maybe entire portions of bitcoind) into javascript using emscripten.

that sounds pretty ambitious.  

the stanford library I posted appears to have all the basic Crypto functions you need to use Bitcoin..

http://www-cs-students.stanford.edu/~tjw/jsbn/

I still personally believe any browser-based wallets are flawed unless the signing is occurring on a physical device in control of the user. All of the technologies needed for a browser-based wallet (WebRTC etc.) are there though.

just to be clear, I am suggesting that the signing and key management happen IN THE BROWSER.  This is possible given the technologies I described in the OP.  This is not a "web wallet", instead a "browser based wallet".  There are a few extra security considerations, but you are in control of your keys and generally conforms to the same security model as the regular Bitcoin client.


Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
eb3full
VIP
Full Member
*
Offline Offline

Activity: 198
Merit: 101


View Profile
November 15, 2013, 05:10:44 AM
 #33

There are a few extra security considerations, but you are in control of your keys and generally conforms to the same security model as the regular Bitcoin client.

Other browser plugins or browser exploits would make it incredibly unsafe even if the client itself was secure. It's a step backward to hand the browser any control over authentication of transactions.

"With four parameters I can fit an elephant, and with five I can make him wiggle his trunk." John von Neumann
buy me beer: 1HG9cBBYME4HUVhfAqQvW9Vqwh3PLioHcU
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 15, 2013, 05:12:39 AM
 #34

There are a few extra security considerations, but you are in control of your keys and generally conforms to the same security model as the regular Bitcoin client.

Other browser plugins or browser exploits would make it incredibly unsafe even if the client itself was secure. It's a step backward to hand the browser any control over authentication of transactions.

But a step forward in deployment costs.

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
jago25_98
Hero Member
*****
Offline Offline

Activity: 900
Merit: 1000


Crypto Geek


View Profile WWW
November 15, 2013, 01:00:54 PM
 #35

Stating the obvious here,
 but Mandrik from the client side blockchain.info might have a comment or 2 regarding browser security. Might be worth a PM once you have some more concrete ideas

Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 15, 2013, 07:17:30 PM
 #36

Stating the obvious here,
 but Mandrik from the client side blockchain.info might have a comment or 2 regarding browser security. Might be worth a PM once you have some more concrete ideas

thanks, but I think blockchain.info is a traditional web app?  Haven't used it much really.  He may have valuable advice, but the architecture I'm suggesting has few counterparts, here is one:  https://chrome.google.com/webstore/detail/mymail-crypt-for-gmail/jcaobjhdnlpmopmjhijplpjhlplfkhba

Im somewhat versed in web app security.

thanks, bm



Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 15, 2013, 07:28:28 PM
 #37

here is a handy image I just made:


Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
November 15, 2013, 07:36:43 PM
 #38

Why do u need to store ECC keys? Use a secret phrase asked upon login to get a master key. Other keys can be derived from the master.

PS: What that server in the picture for?
bluemeanie1 (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 257


bluemeanie


View Profile WWW
November 15, 2013, 07:39:50 PM
 #39

Why do u need to store ECC keys? Use a secret phrase asked upon login to get a master key. Other keys can be derived from the master.

PS: What that server in the picture for?

that's 'brand X', the web wallet.  Im proposing the scenario on the right.

Just who IS bluemeanie?    On NXTautoDAC and a Million Stolen NXT

feel like your voice isn't being heard? PM me.   |   stole 1M NXT?
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
November 15, 2013, 07:45:09 PM
 #40

that's 'brand X', the web wallet.  Im proposing the scenario on the right.

A secret phrase is enough to reconstruct thousands of ECC keys.
Pages: « 1 [2] 3 »  All
  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!