Pages:
Author

Topic: auction for 1 EBAY share (Read 7346 times)

legendary
Activity: 1288
Merit: 1080
December 22, 2010, 02:59:13 PM
#59
Yeah I know right now there are only two companies, and a grand total of 2 shares (one in each).

But it's just the beginning.

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

Basically all you need is a GnuPG key in order to identify yourself and to authenticate your orders.  All signatures are logged so that you should audit everything which is done.

It has been tested but I would not be suprised if problems would appear.

This does not make compensation :  you transfer ownership of shares.  You have to trust other party to give you the bitcoins you expect.  Later I'll make a compensation service, plus a book order system.
legendary
Activity: 1288
Merit: 1080
December 18, 2010, 08:09:00 PM
#58
PS.  I'm working on a CGI script that will be GnuPG based.  No password would be required to transfer ownership, you would just sign a text saying you give the share.


that sounds like a good idea. Smiley


Unfortunately the code is quite a bit more difficult to write.  Thus, until then the password system will be used.

I did improve the CGI script though.  Now there is a proper form to enter password and hash.  It's also not limited to eBay any more :  DRDGold will be there too.

http://grondilu.freeshell.org/brokerage.cgi
hero member
Activity: 482
Merit: 501
December 18, 2010, 06:09:39 PM
#57
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUuuuuuuuuuuuuuuuuuuuuu
the block was at 3am and I missed it to a goddamn auction sniper.
Gratz tho lets see if there is a market for this.

sorry bober... i was hanging out there... thinking should i or shouldn't i bid... then i saw block 97999, and figured, why not. Smiley
hero member
Activity: 482
Merit: 501
December 18, 2010, 06:08:30 PM
#56
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUuuuuuuuuuuuuuuuuuuuuu
the block was at 3am and I missed it to a goddamn auction sniper.
Gratz tho lets see if there is a market for this.

You can make a bid to nanotube.  I've tried to make it possible to sell the share after this auction.

He owns the password that identifies the owner of the share.  You can buy him this password.

PS.  I'm working on a CGI script that will be GnuPG based.  No password would be required to transfer ownership, you would just sign a text saying you give the share.


that sounds like a good idea. Smiley
legendary
Activity: 1288
Merit: 1080
December 18, 2010, 02:07:43 AM
#55
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUuuuuuuuuuuuuuuuuuuuuu
the block was at 3am and I missed it to a goddamn auction sniper.
Gratz tho lets see if there is a market for this.

You can make a bid to nanotube.  I've tried to make it possible to sell the share after this auction.

He owns the password that identifies the owner of the share.  You can buy him this password.

PS.  I'm working on a CGI script that will be GnuPG based.  No password would be required to transfer ownership, you would just sign a text saying you give the share.
full member
Activity: 308
Merit: 100
December 18, 2010, 01:44:10 AM
#54
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUuuuuuuuuuuuuuuuuuuuuu
the block was at 3am and I missed it to a goddamn auction sniper.
Gratz tho lets see if there is a market for this.
hero member
Activity: 489
Merit: 505
December 17, 2010, 04:03:46 AM
#53
Congratulations nanotube for the first ever share to be bought by BTC ^^
legendary
Activity: 1288
Merit: 1080
December 17, 2010, 03:55:55 AM
#52
I've changed the code a bit so that the log is a bit more explicit.

But I can't see the result until nanotube change the password.  I'm waiting for him to do so Wink
legendary
Activity: 1288
Merit: 1080
December 17, 2010, 03:07:52 AM
#51

Nanotube, I'll PM you the current password once I acknowledge the paiement of 10.01 BTC at the following address :

1NkfLHmCRb7uYMwYiDpgxZwc9naxnxxQSC

payment sent.

Good.  I've PMed you the current password.

Again, I advise you to chose a bitcoin address for your first password.
Then you change it to any other password (not necessarly a bitcoin address), so that your bitcoin address will appear in the log.

http://grondilu.freeshell.org/eBayShare.log

The log is basically a list of all used passwords.

The most recent bitcoin address I will see there will be the one which will collect dividends.

So essentially in order to sell this share, all you have to do is to sell the pasword.
hero member
Activity: 482
Merit: 501
December 17, 2010, 02:48:53 AM
#50

Nanotube, I'll PM you the current password once I acknowledge the paiement of 10.01 BTC at the following address :

1NkfLHmCRb7uYMwYiDpgxZwc9naxnxxQSC

payment sent.
legendary
Activity: 1288
Merit: 1080
December 17, 2010, 01:57:33 AM
#49
Nanotube wins the auction with 10.01 BTC.

I've set up a HTTP service in order to transfer the share.  See CGI script up in this thread.

it can be called "by hand" or with the following program :

Code:
#!/bin/bash

read -sp "Enter current password :"  current

read -sp "Enter new password :"  new1
read -sp "Re-enter new password for confirmation :"  new2

if [[ "$new1" = "$new2" ]]
then
    hash=$(openssl dgst -sha256 <<< "$new2")
    wget -O - -q "http://grondilu.freeshell.org/eBayShare.cgi?passwd=$current&?hash=$hash"
else
    echo "confirmation failed"
fi

When eBay pays a dividend (if it does), then in order to claim it, the owner just has to change the password into a bitcoin address where he wants to receive paiement.
Then he changes it again in order to make it appear in the log.

I'll always use the most recent bitcoin address in the log for paiement.  So if you want to make sure you'll get the dividend, chose a bitcoin address as your first password, and then swich it to any other password.

If you lose your password, theoretically you won't be able to transfer the share anymore.  But you will still receive dividends.

I hope it's clear.

Nanotube, I'll PM you the current password once I acknowledge the paiement of 10.01 BTC at the following address :

1NkfLHmCRb7uYMwYiDpgxZwc9naxnxxQSC



Thanks everyone.
legendary
Activity: 1288
Merit: 1080
December 16, 2010, 11:28:22 PM
#48

As announced, I lock the thread.

The auction continues on freenode, #bitcoin-auction
legendary
Activity: 1288
Merit: 1080
December 16, 2010, 09:49:17 PM
#47
Who needs a form anyway ?

Just provide your password and new hash on url :

http://grondilu.freeshell.org/eBayShare.cgi?passwd=XXXX&hash=AAAAAAAAAAAAAAAA...


Code:
#!/usr/pkg/bin/bash

echo "Content-type: text/html"
echo

if [[ -z "$QUERY_STRING" ]]
then echo "no query string was given"
else
    eval "${QUERY_STRING//&/ }"

    CURRENT_HASH=9790cacbd1dd2f886b3b251f3e3a087cb8484a3d6266a68ad00cc62b294d8960
   
    if [[ ! "${hash,,}" =~ ^[a-z0-9]{64}$ ]]
    then echo "please provide a sha256 hash."
    elif echo -n "$passwd" | openssl dgst -sha256 | grep -q "$CURRENT_HASH"
    then
        echo "Correct password.
"
        sed "s/$CURRENT_HASH/$hash/" $0 > /tmp/$0 &&
        cat /tmp/$0 > $0 &&
        echo "New hash is now $hash."
        echo "$(date) :  $passwd" >> ${0/.cgi/.log}
    else
        echo "Wrong password.  Sorry.
"
        echo "Current hash is still $CURRENT_HASH."
    fi
fi

legendary
Activity: 1288
Merit: 1080
December 16, 2010, 08:56:32 PM
#46
10

bober182 leads at 10 BTC.

I will soon lock this thread and continue the auction on freenode, #bitcoin-auction

there is a webchat place for people not familiar with IRC :

http://webchat.freenode.net
full member
Activity: 308
Merit: 100
December 16, 2010, 08:54:52 PM
#45
Ⓑ10
legendary
Activity: 1288
Merit: 1080
December 16, 2010, 08:44:23 PM
#44
40 blocks to go.

Cdeker still leads at 7.5 BTC

Should I end this auction on IRC ?
legendary
Activity: 1288
Merit: 1080
December 16, 2010, 07:15:10 PM
#43

The password idea is not so bad after all.

I'm planning on making a CGI script on my website, in order to allow the buyer to give the auction to someone else without having to bother me Wink

I suck in HTML forms, but basically it should be a pretty simple bash script :

Code:
#!/bin/bash

echo Content-type: text/html
echo
echo "Grondilu's brokerage"
echo ""

echo "With this form you can give the eBay share to someone else,"
echo "providing you know the current passord, whose sha256 is :"

hash=$(tail -1 ebay-passwd-sha256)
echo "

$hash"

echo '

New hash:
'


Or something like that.




legendary
Activity: 1288
Merit: 1080
December 16, 2010, 06:16:41 PM
#42
At what brokerage is the share being held at? What would the fee be to transfer it to someone else? Would you consider an offer that involved actually transferring the share, if the bidder offered to pay the fees involved?

The share is currently held in my boursorama account.  Boursorama is a famous french online bank (http://www.boursorama.com).   I doubt it is possible to transfer a specific share from one account to another.  Selling the share would cost me almost the price of the share itself, for brokerage fees for US shares are enormous (about 20EUR).   So the answer to your question is no, sorry.
legendary
Activity: 1288
Merit: 1080
December 16, 2010, 06:12:38 PM
#41
7.5 BTC ^^

Cdecker leads at 7.5 BTC
hero member
Activity: 489
Merit: 505
December 16, 2010, 04:17:46 PM
#40
7.5 BTC ^^
Pages:
Jump to: