Pages:
Author

Topic: Anonymous Internet Banking Project (Read 9107 times)

sr. member
Activity: 440
Merit: 251
January 25, 2011, 09:55:26 PM
#38
fellowtraveler:

I will be using OT in my project (using ruby on rails), I've been playing around with the demo client and server alittle and think it's just right.

However, when trying to get the bindings for ruby to build I was having some difficulty. I had ruby 1.9.2 built, and for openssl had it link to 1.0.0c openssl. But OT wouldn't build the ruby bindings.

Any tips, I am not a c cpp person, just a lazy and slow scripter.

Also a question about markets, this is one area I didn't play around with. What happens to the spread when a transaction occurs?

Actually I'm very happy you are on the bitcoin forums, you certainly know who will be the early adopters. Also any time frame for stocks and contracts that pay dividends will be supported ?

Nefario:  I already wrote you back on Github but I thought I'd post here in case anyone else was curious...

Open Transactions' Makefile is looking for 1.0.0a, but you have 1.0.0c installed.
I need to update my Makefiles, but I don't want to do that until I get a chance to install 1.0.0c and test it myself.
Until I get a chance to do that, you can edit the files yourself and let me know if it works?
I'll have this updated in the next few days I'm sure.

Here are the exact lines:
Makefile:118:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
OTLib/Makefile:106:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
testwallet/Makefile:134:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
testwallet/Makefile.API:134:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
transaction/Makefile:126:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
util/otcreatemint/Makefile:112:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
util/signcontract/Makefile:113:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a


I have been testing on Linux for a few days...

Here's the final answer to this issue (at least it worked for me)

It turns out that "apt-get install libssl-dev" does not actually install the OpenSSL version 1.0.0c.
I also tried "apt-get -t experimental install libssl-dev" as well as "apt-get install openssl" and various combinations.

Bottom line?  I ALWAYS ended up with version 0.9.8… which is the wrong version for OT.

YOU NEED TO INSTALL OPENSSL 1.0.0c BY HAND.  (It's not hard.) 

Here are the exact instructions to build and install OpenSSL 1.0.0c AND Open Transactions on linux:

Quote
wget http://www.openssl.org/source/openssl-1.0.0c.tar.gz
tar -xf openssl-1.0.0c.tar.gz
cd openssl-1.0.0c
./config
make
sudo make install

cd ..

git clone http://github.com/FellowTraveler/Open-Transactions.git
cd Open-Transactions

make rpc (TO BUILD THE TEST CLIENT)

-OR-

make clean
make ruby  (TO BUILD THE RUBY API)

legendary
Activity: 1288
Merit: 1080
January 21, 2011, 11:46:00 AM
#37
My stuff is back on line :

http://grondilu.freeshell.org/brokerage.cgi


I've just tested and it works.

I still have to add the possibility for anyone to add his own asset, though.  But meanwhile, tell me if you want a testshare.
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
January 20, 2011, 08:34:05 PM
#36
Try I2P, that was actualy designed for hidden services and offers a much better solution regarding speed, availability and security.

If you're unfamiliar with it you can get quick-started on http://portable-i2p.blogspot.com  (windows)

I use debian GNU/linux.

I should indeed look into i2p, but somehow I can't find any clear straitforward howto for installation on debian.


First install the OpenJDK

apt-get install openjdk-6-jre-headless

create the directory you want to have i2p installed, cd to that directory.
wget http://mirror.i2p2.de/i2pinstall_0.8.2.exe
then to run the install on the command line
java -jar i2pinstall_0.8.2.exe -console

this should install it, then just cd to the newly created i2p directory,
./i2prouter start
and you are now connected to i2p
assuming it's on your local machine point your browser at 127.0.0.1:7657 and you should get the console.

Then you need to set up a proxy to use i2p when you see a .i2p address, foxyproxy is best if you are using firefox.

The rest is available on the i2p websites.

Easy actually, and the more of your connection you share the faster you will be able to connect to other hidden services.

How does I2P work in China, Nefario?  I read that Tor has been effectively blocked there...

So the i2p website and other related domains are blocked. And i2p itself is prevented from bootstrapping as a result of that. However if you can get some kind of proxy address you may be able to get someones netdb folder. Once you have this you're able to connect, really all you need is the contents of netdb. But it is very very slow. I think a high traffic server needs to be operating inside China connected to i2p for things to be able to speed up.
sr. member
Activity: 434
Merit: 252
youtube.com/ericfontainejazz now accepts bitcoin
January 20, 2011, 04:57:27 AM
#35
Try I2P, that was actualy designed for hidden services and offers a much better solution regarding speed, availability and security.

If you're unfamiliar with it you can get quick-started on http://portable-i2p.blogspot.com  (windows)

I use debian GNU/linux.

I should indeed look into i2p, but somehow I can't find any clear straitforward howto for installation on debian.


First install the OpenJDK

apt-get install openjdk-6-jre-headless

create the directory you want to have i2p installed, cd to that directory.
wget http://mirror.i2p2.de/i2pinstall_0.8.2.exe
then to run the install on the command line
java -jar i2pinstall_0.8.2.exe -console

this should install it, then just cd to the newly created i2p directory,
./i2prouter start
and you are now connected to i2p
assuming it's on your local machine point your browser at 127.0.0.1:7657 and you should get the console.

Then you need to set up a proxy to use i2p when you see a .i2p address, foxyproxy is best if you are using firefox.

The rest is available on the i2p websites.

Easy actually, and the more of your connection you share the faster you will be able to connect to other hidden services.

How does I2P work in China, Nefario?  I read that Tor has been effectively blocked there...
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
January 19, 2011, 11:43:19 PM
#34
Try I2P, that was actualy designed for hidden services and offers a much better solution regarding speed, availability and security.

If you're unfamiliar with it you can get quick-started on http://portable-i2p.blogspot.com  (windows)

I use debian GNU/linux.

I should indeed look into i2p, but somehow I can't find any clear straitforward howto for installation on debian.


First install the OpenJDK

apt-get install openjdk-6-jre-headless

create the directory you want to have i2p installed, cd to that directory.
wget http://mirror.i2p2.de/i2pinstall_0.8.2.exe
then to run the install on the command line
java -jar i2pinstall_0.8.2.exe -console

this should install it, then just cd to the newly created i2p directory,
./i2prouter start
and you are now connected to i2p
assuming it's on your local machine point your browser at 127.0.0.1:7657 and you should get the console.

Then you need to set up a proxy to use i2p when you see a .i2p address, foxyproxy is best if you are using firefox.

The rest is available on the i2p websites.

Easy actually, and the more of your connection you share the faster you will be able to connect to other hidden services.
legendary
Activity: 1288
Merit: 1080
January 19, 2011, 10:45:16 PM
#33
Doesn't I2P work simply out of the box as it is a java app ?

Does it ?   Like Freenet ?

If so, I really don't want to use it.  I don't like java.
legendary
Activity: 1470
Merit: 1006
Bringing Legendary Har® to you since 1952
January 19, 2011, 01:11:35 PM
#32
Try I2P, that was actualy designed for hidden services and offers a much better solution regarding speed, availability and security.

If you're unfamiliar with it you can get quick-started on http://portable-i2p.blogspot.com  (windows)

I use debian GNU/linux.

I should indeed look into i2p, but somehow I can't find any clear straitforward howto for installation on debian.


Doesn't I2P work simply out of the box as it is a java app ?
I remember setting it up some time ago, and i could swear it worked without any configuration.

I lost interest in it, as it is meant to be a closed network of nodes, unlike TOR, which interferes with the "normal" internet by default.
legendary
Activity: 1288
Merit: 1080
January 18, 2011, 12:08:30 PM
#31
Try I2P, that was actualy designed for hidden services and offers a much better solution regarding speed, availability and security.

If you're unfamiliar with it you can get quick-started on http://portable-i2p.blogspot.com  (windows)

I use debian GNU/linux.

I should indeed look into i2p, but somehow I can't find any clear straitforward howto for installation on debian.
legendary
Activity: 1937
Merit: 1001
January 18, 2011, 11:44:43 AM
#30
The idea could be very usefull.

Tor hidden services are horribly slow, also it seems to completely lose connectivity overall every once in a while??

Try I2P, that was actualy designed for hidden services and offers a much better solution regarding speed, availability and security.

If you're unfamiliar with it you can get quick-started on http://portable-i2p.blogspot.com  (windows)
legendary
Activity: 1288
Merit: 1080
January 17, 2011, 07:37:22 AM
#29
Why not, go ahead.
SDF would be neater through.

I don't like talking on SDF actually.

Anyway, I can't use freeshell.org for this project, since it has only openssl 0.9.8q and I don't have arpa rights that I may need to compile a more recent version.  It's also possible that even with arpa rights I couldn't compile.  What can you suggest ?

I'm on IRC right now, on freenode #bitcoin-dev
newbie
Activity: 53
Merit: 0
January 17, 2011, 07:32:00 AM
#28
Why not, go ahead.
SDF would be neater through.
legendary
Activity: 1288
Merit: 1080
January 17, 2011, 07:23:48 AM
#27
So OK, write me to rider at SDF e-mail, we'll see what can be done.

Can't we do this here ?
newbie
Activity: 53
Merit: 0
January 17, 2011, 05:49:06 AM
#26
So OK, write me to rider at SDF e-mail, we'll see what can be done.
sr. member
Activity: 440
Merit: 251
January 17, 2011, 05:03:58 AM
#25
fellowtraveler:

I will be using OT in my project (using ruby on rails), I've been playing around with the demo client and server alittle and think it's just right.

However, when trying to get the bindings for ruby to build I was having some difficulty. I had ruby 1.9.2 built, and for openssl had it link to 1.0.0c openssl. But OT wouldn't build the ruby bindings.

Any tips, I am not a c cpp person, just a lazy and slow scripter.

Also a question about markets, this is one area I didn't play around with. What happens to the spread when a transaction occurs?

Actually I'm very happy you are on the bitcoin forums, you certainly know who will be the early adopters. Also any time frame for stocks and contracts that pay dividends will be supported ?

Nefario:  I already wrote you back on Github but I thought I'd post here in case anyone else was curious...

Open Transactions' Makefile is looking for 1.0.0a, but you have 1.0.0c installed.
I need to update my Makefiles, but I don't want to do that until I get a chance to install 1.0.0c and test it myself.
Until I get a chance to do that, you can edit the files yourself and let me know if it works?
I'll have this updated in the next few days I'm sure.

Here are the exact lines:
Makefile:118:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
OTLib/Makefile:106:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
testwallet/Makefile:134:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
testwallet/Makefile.API:134:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
transaction/Makefile:126:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
util/otcreatemint/Makefile:112:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
util/signcontract/Makefile:113:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
legendary
Activity: 1288
Merit: 1080
January 16, 2011, 10:47:59 AM
#24
Wow. So your SW is pretty UNIX-wayish, huh?
Good. I may get it to you. Any special requirements? What about bandwidth?

I don't think I need much bandwith.  I doubt I'll have many clients at the beginning. 
newbie
Activity: 53
Merit: 0
January 16, 2011, 10:45:16 AM
#23
Wow. So your SW is pretty UNIX-wayish, huh?
Good. I may get it to you. Any special requirements? What about bandwidth?
legendary
Activity: 1288
Merit: 1080
January 16, 2011, 10:44:13 AM
#22
I may offer you hosting for the project. What do you need?

I need a web server which accepts bash CGI script, and which have tools such as bc, dc, sed, awk, xxd.  And also a recent version of openssl.  I know openssl 1.0.0c works fine.  openssl 0.9.8q doesn't.
newbie
Activity: 53
Merit: 0
January 16, 2011, 10:41:59 AM
#21
I may offer you hosting for the project. What do you need?
legendary
Activity: 1288
Merit: 1080
January 16, 2011, 10:14:05 AM
#20

Anyway I have already written a bash CGI that does what I wanted.

Basically the owner of an asset is identified by a bitcoin address.   Thanks to dirtyfilthy, it is possible to extract a bitcoin private key from the wallet, and thus to sign a transaction using openssl.  Using a bitcoin address as an identifier makes it much easier for stocks (dividends just have to be paid on this bitcoin address).

Unfortunately I have to wait until I get a better web hosting solution to show it to the world.

The source code is already available on github though :

http://github.com/grondilu/bitcoin-bash-tools
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
January 16, 2011, 06:11:25 AM
#19
fellowtraveler:

I will be using OT in my project (using ruby on rails), I've been playing around with the demo client and server alittle and think it's just right.

However, when trying to get the bindings for ruby to build I was having some difficulty. I had ruby 1.9.2 built, and for openssl had it link to 1.0.0c openssl. But OT wouldn't build the ruby bindings.

Any tips, I am not a c cpp person, just a lazy and slow scripter.

Also a question about markets, this is one area I didn't play around with. What happens to the spread when a transaction occurs?

Actually I'm very happy you are on the bitcoin forums, you certainly know who will be the early adopters. Also any time frame for stocks and contracts that pay dividends will be supported ?
Pages:
Jump to: