Bitcoin Forum
May 27, 2024, 10:43:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: netWallet, Read Litecoin wallet hosted on a server!  (Read 1096 times)
Simran (OP)
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



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
crazy_rabbit
Legendary
*
Offline Offline

Activity: 1204
Merit: 1001


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!