Silk Road forums
Discussion => Security => Topic started by: jameslink2 on October 03, 2012, 10:36 pm
-
I have a raspberry pi I am working with, Doing some tor and bitcoin work on it.
So far I have it up on the network, I have Tor, Bitcoind, JSON-PHP, apache, and gpg2 installed. Tor is configured and working with a hidden service pointing to apache. I can call up the webpage and am starting to work on a php web interface to the new bitcoin functions.
Is anyone interested in me going into detail as to the setup, configuration, and workings?
-
I am!
I was just wondering about how could I have an other puter to utilise an airgap, I didn't know that Pi is capable to run those things.
-
You should configure and sell these.
-
I went through the various distros of Linux for it tell I found one that worked for what I was wanting to do. This one is ArchLinux
I added webmin to the unit to give me a management interface via the web. Then configured apache with php for use as a hidden service via tor. Right now it prompts for a login and when you log in it displays your user name.
http://xfq5l5p4g3eyrct7.onion/view.php?image=068b957dbe4c13e46a72703fa120945f.jpg
Webmin Interface
http://xfq5l5p4g3eyrct7.onion/view.php?image=d3b8131dd5685cc3a18970e48a6591a5.jpg
I still have to configure the bitcoin client to work with tor and develop a wallet interface via the json rpc calls between php and the bitcoin daemon. I have a lot of that done from earlier tinkering so it should go fast as I can reuse a lot of the code.
The end goal for this one is to create a small bitcoin wallet system that is web interfaced via tor. Something you could hook up and use out of the box or plug in at grandma's house attached to her internet then access via the onion address from anywhere. This is more of a private tor wallet than something you would share with others.
As to selling them, Not sure that anyone would buy them due to the trust of putting your money on something you got from someone on SR. However I may toss the image up for others to play with once I have it set up.
-
very cool ! You got a fan here!
-
Is anyone interested in me going into detail as to the setup, configuration, and workings?
Yes, very much so. I was just thinking of something like this after watching the TORwallet situation. I would love to see the image once you've completed it.
-
I would also like to see this, and thank you for sharing!
-
Well, I have the basic interface put together. It lets you control multiple accounts on the bitcoin daemon, send and receive coins, change the address, backup the wallet as well as several other functions.
However I ran into a major problem that I may not be able to get around.
Seems the bitcoind daemon is overloading the system and causing the daemon to crash. This is because the blockchain is over 2g in size and the thing is trying to download the whole chain. This is a major issue as the clients that do not download the whole chain also do not accept JSON RPC calls so I can not interface them to the web interface.
I am not back to checking into the scalability issues and seeing if there is a way around it.
-
Well, it looks like there is no solution that would allow me to build the webpage on it beyond starting a bitcoind daemon on a system some where and allowing rpc calls to it.
I am back to checking OS's in an attempt to move on to another project. As of right now, the state of linux distributions for the Raspberry Pi is VERY Alpha.
Arch linux has issues with updating, something to do with needing a new version of glibc and /lib having files not owned by the package manager. I could go into a lot of detail on this and exactly what the issue is but I am not sure it is needed here.
Raspbian (debian Wheezy) needs to be updated to do much of anything from the repos and doing so breaks it, so it no longer boots.
Fedora Core has the stuff in repo but there are lots of missing dependencies and I found it almost impossible to install anything from the repos.
Most of the distributions do not have a sufficient apps repo to provide the applications I am looking for.
At the moment I am testing pwnpi which is a debian Squeeze distro, I am hoping to have better luck.
I hate to say it but I may have to build a custom image from scratch.