Bitcoin Forum
December 18, 2017, 09:39:48 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: netWallet, Read Litecoin wallet hosted on a server!  (Read 988 times)
Simran
Hero Member
*****
Offline Offline

Activity: 714



View Profile WWW
March 20, 2013, 03:28:58 AM
 #1

I've had this idea in my head for awhile, and I've only shared it with 2 people. It's called netWallet, and it's basically having the QT(Or any client that decides to implement this) to read a wallet file from an online server that you can host yourself. It can be anything file name because the file contents are the same.

How I want it to work, you generate a secure unique Wallet URL and Key that's encrypted in AES, you paste the encoded link in the QT and enter the password and the QT will create a connection to the wallet, so it doesn't have to be downloaded. You will host the wallet and a php file that the client will connect to, the client will send the key to the php file for verification and return the wallets contents(Never exposes the actual wallets url, also please rename wallet.dat to something.xD). The QT will never save the Key, and the only possible way for a hacker to steal the wallet.dat info would be to intercept the packets(Unless your hosting it on a SSL site).

I created a small example of generating these unique URLs and Keys in C#:
Key and URL generation:


./netWallet new <url>

Decrypting URL with Key:


./netWallet getlink <encrypted link> <key>

Please note that "wallet.dat" in the pictures will be replaced with "something.php" once I code the php server part of this.

As you can also see that the URL and Key are in BASE64. Reason being me compressing the encrypted key and link bytes to BASE64 so the user can easily copy the info down.

The way I'm able to create the single key(AES requires a key and IV) is me converting the key and IV bytes to BASE64 and adding the LTC char between them(Easier for later parsing), and then converting the whole string into a BASE64 string again.

You can use see the code I used for the images above here: http://pastebin.com/84ir3RtS

It's very simple to implement, so feel free to create your own version in whatever language you please.

If anyone wants to add to this idea, go ahead, it's open to anyone. I'm not very proficient in PHP or C++, so if anyone wants to finish off the PHP server part or even make a simple implementation of to the QT, go for it!


--Simran

*Image Removed*
Donate LTC: LRgbgTa3XNQSEUhnwC6Ye2vjiCV2CNRpib
Donate BTC: 1AGP6xPTRvsAVhsRsBX13NUH6p6LJjyeiA
1513589988
Hero Member
*
Offline Offline

Posts: 1513589988

View Profile Personal Message (Offline)

Ignore
1513589988
Reply with quote  #2

1513589988
Report to moderator
1513589988
Hero Member
*
Offline Offline

Posts: 1513589988

View Profile Personal Message (Offline)

Ignore
1513589988
Reply with quote  #2

1513589988
Report to moderator
1513589988
Hero Member
*
Offline Offline

Posts: 1513589988

View Profile Personal Message (Offline)

Ignore
1513589988
Reply with quote  #2

1513589988
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513589988
Hero Member
*
Offline Offline

Posts: 1513589988

View Profile Personal Message (Offline)

Ignore
1513589988
Reply with quote  #2

1513589988
Report to moderator
1513589988
Hero Member
*
Offline Offline

Posts: 1513589988

View Profile Personal Message (Offline)

Ignore
1513589988
Reply with quote  #2

1513589988
Report to moderator
crazy_rabbit
Legendary
*
Offline Offline

Activity: 1176


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
March 20, 2013, 01:35:00 PM
 #2

Isn't this a bit like what electrum is doing?

more or less retired.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!