Bitcoin Forum

Bitcoin => Project Development => Topic started by: Nefario on June 07, 2011, 04:17:56 PM



Title: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 04:17:56 PM
Important reminder - back up your .blackmarket3.rsa private key file NOW.

I've made quite a few updates over the last week on both the server and python client.

Firstly for the server there is this (http://forum.bitcoin.org/index.php?topic=12979.msg179189).

Client
Motions
With thanks for kokjo for fixing the motions bug. You can now view the contents of all motions without any errors.

List assets
Using the command line client you can see all the assets on the exchange.

Recall
For every who has issued shares they want to recall you can now do this, the recall command will take issued assets out of circulations, the ones in the issuers account.

See your History
Specify your transaction history (using the command line client), see as many entries in bitcoin, asset, and market history as you like.

And finally, the big piece of news, this is what has been keeping me up at night.

Web based client
With much thanks to Jere Jones (who has been well paid for this task)


Start here (http://dev.glbse.com:4567/client/index.html)

If you already have a glbse account you want to login, not register.

Written as a single html page, the web based client performs most (not all) the functionallity of the command line. For the average user/issuer it will cover all their needs, and compared to bmc.py, it's soooo pretty.

And best of all, it handles bitcoin as normal decimal instead of the more difficult to use int64(as is still the case with bmc.py)

Using the web based client

If you already have an account on GLBSE, then you'll probably want to use that.

Firstly get your account number, bmc.py user
Then you will need your unencrypted private key.

Your key is probably not unencrypted so to unencrypt it you must:

RSA file decrypt using openssl
Make sure you're in the same directory as your .blackmarket3.rsa file
Code:
openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
replace mypass with your password

.blackmarket3-non-AES.rsa contains your private key, copy pasta to the textbox and enter your userid, and hit login.

Your private key is not at any time sent to the server.

Register
The secure way to register is to generate your own public-private RSA keypair using openssl(if it's installed on your system), and then copy/paste them in before hitting register.

See here for more info on how to do that (http://www.ghosthack.com/2007/01/openssl-generate-public-private-key.html), but forget the -des3 part from that.

The unsecure method is to have our server do this for you and fill in the fields automatically by pressing the Generate new keypair.

It's handy but remember, all that information is sent in plain text over the internet so anyone listening (ECHELON) will have a copy. You're choice.

And don't lose that information, keep your private key safely stored, and don't lose your user id.

You can start trading with the client right now.

Start here (http://dev.glbse.com:4567/client/index.html)

Oh by the way, private key formating is important.
Code:
-----END RSA PRIVATE KEY-----
Should be on a newline.

p.s. please don't melt my server, be understanding, sometimes the client is a little slow(often the server is slow).

Nefario






Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: REF on June 07, 2011, 04:41:10 PM
I'll need to take a closer look at this later. Good work on the site over the past 2 weeks or so Iv seen you ever active in the development of the site.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: eturnerx on June 07, 2011, 04:46:37 PM
Good work!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 04:46:56 PM
this is what i get back when typing in command line.  yes i used my "name" and "mypass" but want to hide them here:


C:\Users\name>openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
'openssl' is not recognized as an internal or external command,
operable program or batch file.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 04:49:05 PM
this is what i get back when typing in command line.  yes i used my "name" and "mypass" but want to hide them here:


C:\Users\name>openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
'openssl' is not recognized as an internal or external command,
operable program or batch file.

try openssl.exe, or try to put the full path to the openssl executable.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 04:53:22 PM
this is what i get back when typing in command line.  yes i used my "name" and "mypass" but want to hide them here:


C:\Users\name>openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
'openssl' is not recognized as an internal or external command,
operable program or batch file.

try openssl.exe, or try to put the full path to the openssl executable.

in that case do the private key and executable have to be in the same folder?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on June 07, 2011, 04:56:19 PM
Damn !!!

I managed to overwrite my existing .blackmarket3.rsa when I was prepping to try the web client.

What's the process for recovering the account it was attached to ?

I know the user ID and the password. I can also state exactly what the current contents of the folio is. I can also tell you what the deposit address was.


* Can I also get a bug raised to cover the python client shouldn't write the .blackmarket3.rsa file, if one already exists. *


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cuddlefish on June 07, 2011, 05:05:03 PM
Uh. Transferring private keys over plain HTTP? No thanks.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 05:09:04 PM
Uh. Transferring private keys over plain HTTP? No thanks.

If you've already got an account, and have your private key decrypted on your local machine then it's not sent at all.
It's a javascript version of the python client, it signs all messages with your private key, the messages are sent to the server and verified by your public key.

As I said, the key generation is there for convienience, security minded people wont use it, it's optional.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 05:13:10 PM
Damn !!!

I managed to overwrite my existing .blackmarket3.rsa when I was prepping to try the web client.

What's the process for recovering the account it was attached to ?

I know the user ID and the password. I can also state exactly what the current contents of the folio is. I can also tell you what the deposit address was.


* Can I also get a bug raised to cover the python client shouldn't write the .blackmarket3.rsa file, if one already exists. *

Ouch, no process.

The private key is the only way to prove you own an account, the password only encrypted your private key on your local machine.

How much bitcoin did you have in the account?
pm me all your account details.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 05:15:10 PM
Wow, i'm in.  but before i look around, what are the commands to re-encrypt my key?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 05:16:13 PM
one other thing; do i have to do this process everytime i sign in? :-\


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 05:18:49 PM
very nice.  how about "balance"?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on June 07, 2011, 05:19:17 PM
this is what i get back when typing in command line.  yes i used my "name" and "mypass" but want to hide them here:


C:\Users\name>openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
'openssl' is not recognized as an internal or external command,
operable program or batch file.

I had this same problem on my Win 7 machine, but got it fixed.

I dug around my HD and found a directory called "OpenSSL-Win32" inside that there is a directory called "bin". I went in there and found the openssl.exe file. I copied my blackmarket3.rsa file into the bin directory and then just used the same command nefario posted "openssl etc etc" and it worked fine.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on June 07, 2011, 05:20:09 PM
PM sent. Thanks.

Damn !!!

I managed to overwrite my existing .blackmarket3.rsa when I was prepping to try the web client.

What's the process for recovering the account it was attached to ?

I know the user ID and the password. I can also state exactly what the current contents of the folio is. I can also tell you what the deposit address was.


* Can I also get a bug raised to cover the python client shouldn't write the .blackmarket3.rsa file, if one already exists. *

Ouch, no process.

The private key is the only way to prove you own an account, the password only encrypted your private key on your local machine.

How much bitcoin did you have in the account?
pm me all your account details.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on June 07, 2011, 05:20:30 PM
one other thing; do i have to do this process everytime i sign in? :-\

This.


very nice.  how about "balance"?

Mine shows in the upper left corner of my screen.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 05:24:50 PM
one other thing; do i have to do this process everytime i sign in? :-\

This.


very nice.  how about "balance"?

Mine shows in the upper left corner of my screen.

you're right; there it is.
so do we have to reenter previously existing orders?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 05:26:12 PM
so each time we login do we have to retrieve our user id and pgp key?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 05:38:16 PM
wait a minute.  logged out and now can't log back in using same user id and unenrypted private key.  get an "invalid rsa private key" message and then it locks up in "Executing" mode.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 05:40:14 PM
so each time we login do we have to retrieve our user id and pgp key?

Yes, think of it as a long username and password. keep them in a textfile.

And yes you need to re-enter your orders.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 06:00:29 PM
wait a minute.  logged out and now can't log back in using same user id and unenrypted private key.  get an "invalid rsa private key" message and then it locks up in "Executing" mode.

yeah, confirmed problem.  got in initially, looked around, set up a new order, all no prob.

logged off and tried to login again with same user id and unencrypted private key and now i get the above error. :(


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 06:05:46 PM
Make sure your private key formatting is correct.

that before -----END RSA PRIVATE KEY----- has a newline.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 06:15:08 PM
Make sure your private key formatting is correct.

that before -----END RSA PRIVATE KEY----- has a newline.

wait, u mean this:

ajfaskdfjas;f;fadfl7+rqM34GBT4jIJ9dfi3if9llef90glBbYAn6nFpSUVCo954piqre
-----END RSA PRIVATE KEY-----



or this?:

ajfaskdfjas;f;fadfl7+rqM34GBT4jIJ9dfi3if9llef90glBbYAn6nFpSUVCo954piqre

-----END RSA PRIVATE KEY-----


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 06:28:01 PM
Make sure your private key formatting is correct.

that before -----END RSA PRIVATE KEY----- has a newline.

wait, u mean this:

ajfaskdfjas;f;fadfl7+rqM34GBT4jIJ9dfi3if9llef90glBbYAn6nFpSUVCo954piqre
-----END RSA PRIVATE KEY-----



or this?:

ajfaskdfjas;f;fadfl7+rqM34GBT4jIJ9dfi3if9llef90glBbYAn6nFpSUVCo954piqre

-----END RSA PRIVATE KEY-----

It should be the first one.

Also make sure you are using your unencrypted private key.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 06:33:32 PM
Make sure your private key formatting is correct.

that before -----END RSA PRIVATE KEY----- has a newline.

wait, u mean this:

ajfaskdfjas;f;fadfl7+rqM34GBT4jIJ9dfi3if9llef90glBbYAn6nFpSUVCo954piqre
-----END RSA PRIVATE KEY-----



or this?:

ajfaskdfjas;f;fadfl7+rqM34GBT4jIJ9dfi3if9llef90glBbYAn6nFpSUVCo954piqre

-----END RSA PRIVATE KEY-----

It should be the first one.

Also make sure you are using your unencrypted private key.

i am using the first version and its unenrypted. ???
the strange thing is it worked fine initially and i got in and put up an order.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 06:41:41 PM
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,F0CD17928C35A07E24D4B06D934A842D


this is at the beginning of private key.  its still not encrypted is it?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 07, 2011, 06:43:33 PM
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,F0CD17928C35A07E24D4B06D934A842D


this is at the beginning of private key.  its still not encrypted is it?
I'll give you a hint, it has the word "ENCRYPTED" in it  ;)


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 06:51:16 PM
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,F0CD17928C35A07E24D4B06D934A842D


this is at the beginning of private key.  its still not encrypted is it?
I'll give you a hint, it has the word "ENCRYPTED" in it  ;)

precisely why i asked ;)  i thought that since i can now see this huge wall of text that it was no longer encrypted. 

ok, the original command line de-encryption you gave me referenced the private key file with a .rsa extension.  that extension is now gone when i look at it in Windows Explorer.  it's now named .blackmarket3.  how do i modify your original command line?:

openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: boonies4u on June 07, 2011, 07:33:10 PM
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,F0CD17928C35A07E24D4B06D934A842D


this is at the beginning of private key.  its still not encrypted is it?
I'll give you a hint, it has the word "ENCRYPTED" in it  ;)

precisely why i asked ;)  i thought that since i can now see this huge wall of text that it was no longer encrypted. 

ok, the original command line de-encryption you gave me referenced the private key file with a .rsa extension.  that extension is now gone when i look at it in Windows Explorer.  it's now named .blackmarket3.  how do i modify your original command line?:

openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
".blackmarket3-non-AES.rsa" is the location where openssl printed the non-encrypted private key

.blackmarket3.rsa was not over-written
if you wish to get rid of the unencrypted private key... you PROBABLY (don't quote me or jump the gun) securely delete the ".blackmarket3-non-AES.rsa" file


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 07, 2011, 07:47:14 PM
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,F0CD17928C35A07E24D4B06D934A842D


this is at the beginning of private key.  its still not encrypted is it?
I'll give you a hint, it has the word "ENCRYPTED" in it  ;)

precisely why i asked ;)  i thought that since i can now see this huge wall of text that it was no longer encrypted. 

ok, the original command line de-encryption you gave me referenced the private key file with a .rsa extension.  that extension is now gone when i look at it in Windows Explorer.  it's now named .blackmarket3.  how do i modify your original command line?:

openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
".blackmarket3-non-AES.rsa" is the location where openssl printed the non-encrypted private key

.blackmarket3.rsa was not over-written
if you wish to get rid of the unencrypted private key... you PROBABLY (don't quote me or jump the gun) securely delete the ".blackmarket3-non-AES.rsa" file

Thank You Boonie, my man!  geez, i found it in the Recycle Bin after trying to clean up.   ;D


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: filharvey on June 07, 2011, 10:38:08 PM
Thanks, been waiting for the web interface to purchase some shares.

One request, is that you have a list of the active Tracker Symbols.

Phil


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 08, 2011, 03:27:49 PM
Thanks, been waiting for the web interface to purchase some shares.

One request, is that you have a list of the active Tracker Symbols.

Phil

Something like "Assets I'm watching" sort of thing?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 08, 2011, 06:41:57 PM
Holy god...
Fantastic.
Really nice to work with web client.
You made it easy as eating a cake.
Thank you very much.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 08, 2011, 06:49:32 PM
Holy god...
Fantastic.
Really nice to work with web client.
You made it easy as eating a cake.
Thank you very much.

Haha.

This is by far the best compliment I've gotten for the web interface.

Credit to Jere Jones the dev who wrote it for me.

He was good to work with , and I'll work with him again in the future.

The latest command line client does have some functionality that the web client does not.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 08, 2011, 07:27:11 PM
Where is the .blackmarket3.rsa for windows?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 08, 2011, 07:29:31 PM
Where is the .blackmarket3.rsa for windows?

C:\Users\YOURUSERNAME

Is my share rate is 2 btc now????


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 08, 2011, 07:33:05 PM
You ran out of shares?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 08, 2011, 07:39:20 PM
no, still ~200 shares left.
the web cleint says last price is 2.000000 BTC.
ASK is 2.1 btc


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 08, 2011, 07:43:28 PM
But if you are charging 1 BTC how last price is 2?

O.o

Bug?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 08, 2011, 07:52:06 PM
Only Nefario can answer

http://i53.tinypic.com/25gqla0.jpg


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 08, 2011, 08:13:46 PM
Only Nefario can answer

http://i53.tinypic.com/25gqla0.jpg

i fail to see any inconsistencies here?  so the last share sold @ 2 BTC.  your current bid and ask are just spread around that price.  you should be happy about that since as i recall weren't u selling them for 1 BTC?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 08, 2011, 08:17:49 PM
yes, i am selling for 1 btc. but still there are shares left.
before that my share value increased?
I so far heard, share value increases after they sold out.
But there are ~280 left to sell from my issue of 1000 shares.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 08, 2011, 08:45:14 PM
yes, i am selling for 1 btc. but still there are shares left.
before that my share value increased?
I so far heard, share value increases after they sold out.
But there are ~280 left to sell from my issue of 1000 shares.

did u repost your shares up right away?   maybe a share sold for 2 btc before u put up the 280 from the ipo?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 08, 2011, 09:12:43 PM
I don't understand what u saying by put up...

I issued 1000 shares as IPO on May 10 2011 & so far only 720+ sold. & the bitcoin i got was 720+ only.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 08, 2011, 09:30:39 PM
I don't understand what u saying by put up...

I issued 1000 shares as IPO on May 10 2011 & so far only 720+ sold. & the bitcoin i got was 720+ only.


when the new GUI went up yesterday, all old standing orders got cancelled.  unless u put those old ipo shares back up for sale right away, other orders could've gotten executed above 1 BTC.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 08, 2011, 10:35:25 PM
Seemly you actually sold everything.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: vuce on June 08, 2011, 10:41:34 PM
dishwara, there are no outstanding asks at 1 btc, so there looks like at least one share was sold at 2 btc. That's why the last price is 2 btc.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 08, 2011, 10:44:46 PM
Oh... Dishwara, nefario deleted ALL orders...

You have to sell again your outstanding shares for 1 BTC.

:)



Now, back on topic: I cannot login on the site, my rsa is correctly decrypted (I even tested using wrong password to see if it would fail to decrypt), I checked the newline and everthing, but I still cannot login at all.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 09, 2011, 12:51:33 AM
I don't understand what u saying by put up...

I issued 1000 shares as IPO on May 10 2011 & so far only 720+ sold. & the bitcoin i got was 720+ only.


when the new GUI went up yesterday, all old standing orders got cancelled.  unless u put those old ipo shares back up for sale right away, other orders could've gotten executed above 1 BTC.

its actually pretty cool someone bought @2 btc


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 09, 2011, 03:27:02 AM
what is Asset ID?  UBX returns an error in GUI


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 09, 2011, 04:23:33 AM
what is Asset ID?  UBX returns an error in GUI

Works for me, remember you need to be using FireFox or Google Chrome.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 09, 2011, 10:43:38 AM
But if you are charging 1 BTC how last price is 2?

O.o

Bug?

Someone actually bought a single share at 2BTC, and it happens to be the last trade, no bug.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 09, 2011, 11:36:56 AM
I still cannot login!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on June 09, 2011, 12:25:42 PM
I still cannot login!

What problem are you having?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 09, 2011, 12:33:45 PM
I explained about 4 posts ago...

I followed the instructions for the web client, but it do not work.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: vuce on June 09, 2011, 12:48:03 PM
I explained about 4 posts ago...

I followed the instructions for the web client, but it do not work.
I had no problems whatsoever. Are you sure you decrypted .blackmarket3.rsa?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 09, 2011, 12:52:17 PM
Yes, I already wrote that... I even checked decrypting with wrong password (it failed) to see if there was a error somewhere, and checked the newlines, and checked the CR/LF issue between DOS and Unix file styles...

It just refuse to work.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 09, 2011, 01:03:21 PM
Yes, I already wrote that... I even checked decrypting with wrong password (it failed) to see if there was a error somewhere, and checked the newlines, and checked the CR/LF issue between DOS and Unix file styles...

It just refuse to work.

my login won't work on my Mac Firefox but will on my Win7 Firefox.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 09, 2011, 01:13:41 PM
Yes, I already wrote that... I even checked decrypting with wrong password (it failed) to see if there was a error somewhere, and checked the newlines, and checked the CR/LF issue between DOS and Unix file styles...

It just refuse to work.

my login won't work on my Mac Firefox but will on my Win7 Firefox.

Now that is interesting...


I am using Chrome on WinXP

I wonder if the browsers are sending the CR/LF in a different way according to the OS that they are housed...


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 09, 2011, 01:27:52 PM
what is Asset ID?  UBX returns an error in GUI

Works for me, remember you need to be using FireFox or Google Chrome.

i am using FF


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 09, 2011, 01:40:03 PM
Yes, I already wrote that... I even checked decrypting with wrong password (it failed) to see if there was a error somewhere, and checked the newlines, and checked the CR/LF issue between DOS and Unix file styles...

It just refuse to work.

my login won't work on my Mac Firefox but will on my Win7 Firefox.

Now that is interesting...


I am using Chrome on WinXP

I wonder if the browsers are sending the CR/LF in a different way according to the OS that they are housed...

For gods sake, why can't something that should be simple, ACTUALLY be simple.

Why are we cursed with...cross platform differences!!!!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 09, 2011, 01:50:40 PM
I am using google chrome always.
Win 7 , 64 bit. I access all features in web client.

I too got after some time can't able to login, it gave error in a windows with text "object [object]"
Since the decrypt key contains un countable characters, even a mistake with clicking space key will change everything.
So, i deleted the file & again decrypt file & this time before opening, i made it READ ONLY & then opened with notepad & everything is smooth so far.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 09, 2011, 02:09:47 PM
I am using google chrome always.
Win 7 , 64 bit. I access all features in web client.

I too got after some time can't able to login, it gave error in a windows with text "object [object]"
Since the decrypt key contains un countable characters, even a mistake with clicking space key will change everything.
So, i deleted the file & again decrypt file & this time before opening, i made it READ ONLY & then opened with notepad & everything is smooth so far.

I need to make this easier to use!!!!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 09, 2011, 02:19:03 PM
I guess so...

Finding the private key here was kinda a hassle (because in WinXP C:\USERS do not exist... specially in portuguese language edition).


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on June 09, 2011, 03:44:40 PM
I guess so...

Finding the private key here was kinda a hassle (because in WinXP C:\USERS do not exist... specially in portuguese language edition).

To search any file in mountains of files i have, i use locate32 from this site.
http://www.locate32.net/
It is a very small portable program, works faster than windows search.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on June 09, 2011, 04:51:13 PM
Nefario,

when we logout we get taken back to login window with user id and private key still filled in.  this secure data should disappear.  even when i refresh the screen its still all filled in.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 10, 2011, 01:50:14 AM
Nefario,

when we logout we get taken back to login window with user id and private key still filled in.  this secure data should disappear.  even when i refresh the screen its still all filled in.

That's your browsers cache, the private key is never sent to the server.

By the way, were working on a way of making this easier, turning it into a saved html page acceisble through a bookmark.


speeder, could you post the first 3 lines from your private key, that include the RSA header and the line just below it please.

Nefario


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 10, 2011, 12:22:29 PM
That is not my key (I am in another computer right now)

but it looks more or less like that

-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDfnaXDy9v4q8PfV ....
-----END RSA PRIVATE KEY-----



Important to note, it DOES NOT have the "ENCRYPTED" word on it.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 10, 2011, 03:04:44 PM
I have added subticker symbols to the exchange.
You can now have sub ticker symbols.

For example the ticker mineco can have assets with the ticker symbol mineco.july, and mineco.aug and so on.

The symbols work in a way similar to domain names only backwards. The base symbol is first followed by the sub symbol.

Only the owner of the base ticker symbol can add a sub ticker using that ticker.

Using the register ticker, enter the full ticker to set the name. So if you want an asset with the ticker mineco.sept then enter the full name in.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: bitdragon on June 12, 2011, 01:55:52 PM
I have used the open ssl (http://www.ghosthack.com/2007/01/openssl-generate-public-private-key.html) and deleted the -des3 part.

I ran the Private only and the Public from Private-
I now have 2 files, private.pem and public.pem

I registered with the copy/paste of these 2 files and noted the generated userid-

I attempted logging in with my userid and paste of my Private.pem

I get the Executing message followed by a FF error pop up as follows:

http://i52.tinypic.com/28k7qzo.png

I have done something wrong? Can it be my FF version? 3.6.17

many thanks!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Hunterbunter on June 20, 2011, 01:00:41 AM
nice client, couple suggestions:

list all assets on market
search/list asset by ticker


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Tasty Champa on June 22, 2011, 03:51:42 AM
Is the server up?
I'm trying to figure out if the server is down or if I have a problem internally.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on June 22, 2011, 04:10:55 AM
Is the server up?
I'm trying to figure out if the server is down or if I have a problem internally.

The official site says thatthe server is down during reparations.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Tasty Champa on June 22, 2011, 04:37:43 AM
Ah thanks!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 22, 2011, 07:15:22 AM
Yeah, market is down ATM while I beef up security.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 22, 2011, 05:15:30 PM
Hey Nefario,

Are you actually making changes or are are you just checking the security? If making changes, did you find any vulnerabilities or are you just adding security just in case?

Hey Peter, did a code review trying to find areas that might be exploitable, made a few changes(nothing big AFAICT).
And adding security.

Trying to separate and comparmentalise different areas of functionality, kind of defence in depth.

To be honest I'm not an expert in implementing these things, which is one of the reasons it's taken so long.

The other reasons being that moving onto another machine was more work than planned, I'd not documented the setup process.

Coming along though, glbse.com is now all https. Now need to make the changes to the clients.

Will have the system up for maybe a day before I put any bitcoin in it. Just in case.

I'm also having someone check it over.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: boonies4u on June 23, 2011, 03:50:20 AM
Hey Nefario,

Are you actually making changes or are are you just checking the security? If making changes, did you find any vulnerabilities or are you just adding security just in case?

Hey Peter, did a code review trying to find areas that might be exploitable, made a few changes(nothing big AFAICT).
And adding security.

Trying to separate and comparmentalise different areas of functionality, kind of defence in depth.

To be honest I'm not an expert in implementing these things, which is one of the reasons it's taken so long.

The other reasons being that moving onto another machine was more work than planned, I'd not documented the setup process.

Coming along though, glbse.com is now all https. Now need to make the changes to the clients.

Will have the system up for maybe a day before I put any bitcoin in it. Just in case.

I'm also having someone check it over.

Nefario.

Is Doctor Nefario a trusted CA Root Certificate Issuer?  ;)
My browser says the certificate isn't trusted and that the certificate does not match the URL.

But out of curiosity and in all seriousness (on my part, other people may have other reasons), are you going to be getting a different ("trusted") certificate?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Amechan on June 25, 2011, 04:22:26 AM


RSA file decrypt using openssl
Make sure you're in the same directory as your .blackmarket3.rsa file
Code:
openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
replace mypass with your password

.blackmarket3-non-AES.rsa contains your private key, copy pasta to the textbox and enter your userid, and hit login.

Your private key is not at any time sent to the server.

Register
The secure way to register is to generate your own public-private RSA keypair using openssl(if it's installed on your system), and then copy/paste them in before hitting register.

See here for more info on how to do that (http://www.ghosthack.com/2007/01/openssl-generate-public-private-key.html), but forget the -des3 part from that.

The unsecure method is to have our server do this for you and fill in the fields automatically by pressing the Generate new keypair.

It's handy but remember, all that information is sent in plain text over the internet so anyone listening (ECHELON) will have a copy. You're choice.

And don't lose that information, keep your private key safely stored, and don't lose your user id.

You can start trading with the client right now.

Start here (http://dev.glbse.com:4567/client/index.html)

Oh by the way, private key formating is important.
Code:
-----END RSA PRIVATE KEY-----
Should be on a newline.




Non techies die at this point.
Huh?

What? ???


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Amechan on June 25, 2011, 04:40:59 AM
this is what i get back when typing in command line.  yes i used my "name" and "mypass" but want to hide them here:


C:\Users\name>openssl rsa -in .blackmarket3.rsa -out .blackmarket3-non-AES.rsa -passin pass:mypass
'openssl' is not recognized as an internal or external command,
operable program or batch file.

I had this same problem on my Win 7 machine, but got it fixed.

I dug around my HD and found a directory called "OpenSSL-Win32" inside that there is a directory called "bin". I went in there and found the openssl.exe file. I copied my blackmarket3.rsa file into the bin directory and then just used the same command nefario posted "openssl etc etc" and it worked fine.

Solved my problem!

Thanks!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: yunk3r on June 27, 2011, 01:03:41 AM
is there a problem with the generate new key pair when registering on the web because every time i try it i get a blank pop up with an ok button, and when i click that nothing happens.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 27, 2011, 02:03:46 AM
The web client now instead of giving a error message, it just do nothing.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: eturnerx on June 27, 2011, 03:20:19 AM
Amy chance that we can buy/sell fractional amounts of shares?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 27, 2011, 11:53:46 AM
eturnerx fractional shares are not sold fractional on purpose on stock exchanges.


When a company want to make "fractional" shares they just issue trillions of shares (like Brazillian console manufacturer TecToy... each share is right now 0.01 USD)


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: eturnerx on June 27, 2011, 01:56:33 PM
eturnerx fractional shares are not sold fractional on purpose on stock exchanges.
Actually no - it dates back to the issuance to stock certificates. However I have different reasons for asking Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on June 27, 2011, 07:24:15 PM
Amy chance that we can buy/sell fractional amounts of shares?

This would be an opportunity for a mutual fund on the glbse. Call it something like MF, with a subasset for each currently trading stock, e.g. MF.UBX and MF.SIN, and issue shares at, say .000001 btc. Then you can buy shares of the asset you are splitting and divide the dividends among the fund shares.

Did that make sense?

What?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: eturnerx on June 27, 2011, 09:47:26 PM
Amy chance that we can buy/sell fractional amounts of shares?

This would be an opportunity for a mutual fund on the glbse. Call it something like MF, with a subasset for each currently trading stock, e.g. MF.UBX and MF.SIN, and issue shares at, say .000001 btc. Then you can buy shares of the asset you are splitting and divide the dividends among the fund shares.

Did that make sense?
You've spotted my cunning plan.... shhhhh!  ;)

Just wanted to make sure Nefario wasn't going to sweep the rug out under the idea by bringing in fractional share trading.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Hunterbunter on June 28, 2011, 11:21:35 PM
Amy chance that we can buy/sell fractional amounts of shares?

This would be an opportunity for a mutual fund on the glbse. Call it something like MF, with a subasset for each currently trading stock, e.g. MF.UBX and MF.SIN, and issue shares at, say .000001 btc. Then you can buy shares of the asset you are splitting and divide the dividends among the fund shares.

Did that make sense?
You've spotted my cunning plan.... shhhhh!  ;)

Just wanted to make sure Nefario wasn't going to sweep the rug out under the idea by bringing in fractional share trading.

A mutual fund is still a good idea, even with fractional share trading...I think the two should be independent. MF's primarily benefit those who cbf managing their own stocks, so they trust someone who cares. There are others with little capital that would love to put whatever they have in a stock.

I can't think of a reason why bitcoins cannot pioneer the way into fractional stock systems, since dividends are paid out by share % anyway. Buying "1 share for 12 btc" is fairly straightforward, but it's not too much of a stretch to say "buy me 1 btc's worth of the stock", and getting 0.08333 shares from someone who's simply selling. No different to the bitcoin exchange imo.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: FlipPro on June 29, 2011, 08:12:51 PM
I wana put bitcams.com up there but people keep asking me about the certificate? Can you give me an explanation about why it doesn't exist? Great job on the site otherwise.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Rogue Star on June 30, 2011, 12:17:50 AM
I use GLBSE, but am not affiliated with them. GLBSE uses a self-signed certificate, which means GLBSE did not pay a third party to sign the certificate. what this means is that you get a nasty warning from most web browsers because of some of the disadvantages of a self-signed certificate I will explain later. while these disadvantages are a potential risk, a self-signed certificate CAN be secure and IS safer than not having a certificate. a self-signed certificate allows you to communicate with the site securely without the cost associated of a trusted certificate authority.

that said the disadvantages of a self-signed certificate are:
-you must trust the certificate that you are presented is good (you can add it as a permanent exception, which will be used by your browser for future comparison)
-you must trust that when the certificate changes that it was not changed by a malicious third party such that they can eavesdrop on or from the secure connection with the site

compared to a trusted certificate where
-you must trust that a disinterested third party (trusted by your browser) trusts the certificate AND that the site and the third party have not been compromised
-you must trust that when the certificate changes that the disinterested third party (trusted by your browser) trusts the certificate AND that the site and the third party have not been compromised

EDIT:
there are ways to get free trusted certificates, so those are definitely worth looking at


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on June 30, 2011, 03:53:01 AM
I wana put bitcams.com up there but people keep asking me about the certificate? Can you give me an explanation about why it doesn't exist? Great job on the site otherwise.

Good question about the self signed cert.

I threw that up after the Mt.Gox fiasco, didn't wan't to wait at the time for a cert authority to get back to me with it.

With the crisis over(taking glbse down to harden it) I now have time to get around to fixing these issues, so we're going to get a signed cert.

From a security point of view, self signed is actually better(I think) but it throws up that horrible warning. I know what the warning is and normally click through but others might not.

Also a big update on the web client is on the way later today.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 01, 2011, 02:24:41 PM
Update of the webclient is now live, now it allows you to securely keep the keys for multiple accounts stored on your local machine in the browser.

https://glbse.com/client/glbse/index.html

The old client is available here if you prefer.

https://glbse.com/client/glbse_old/index.html

If there are any issues post them in any one of these threads, I'm watching them.

http://forum.bitcoin.org/index.php?topic=13055.80

http://forum.bitcoin.org/index.php?topic=19853.0

I appologise to anyone who didn't get your issues fixed in a timely manner over the last week, that is totally my fault.

Currently I'm the only one who is in a possition to resolve those issues, and was traveling for a few days. This is something We're hoping to resolve as we go forward.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 01, 2011, 08:30:31 PM
Nice work.
But, when i try to see the tally in motions, a window showing Executing appears & it doesn't show the votes.
Just only Executing is displayed for hours & nothing happens.

Also master password or main password is showing characters instead of *** or dots. make it hidden behind asterisk


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on July 02, 2011, 02:30:41 AM
I still cannot use it :(

My key:


-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA9YUSAeRE4xCVMfOhqtrCR16mrKJqO6OzYSgU9Ilkb8qvEW49

...

EvJAJ9AAsBOzIBuW+ofZq9C4RCJnR8d5F58eZ6OKFFM5cyZwFJsHL+JN8F7n5bsP
o9ulSof9bKwnQSfm56Ih4hTgvo6gARGSjoF9BYpfcBTQXLjlKtOTsQ==
-----END RSA PRIVATE KEY-----


And I still cannot login at all :( It says the key is incorrect.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 02, 2011, 03:26:19 AM
I still cannot use it :(

My key:


-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA9YUSAeRE4xCVMfOhqtrCR16mrKJqO6OzYSgU9Ilkb8qvEW49

...

EvJAJ9AAsBOzIBuW+ofZq9C4RCJnR8d5F58eZ6OKFFM5cyZwFJsHL+JN8F7n5bsP
o9ulSof9bKwnQSfm56Ih4hTgvo6gARGSjoF9BYpfcBTQXLjlKtOTsQ==
-----END RSA PRIVATE KEY-----


And I still cannot login at all :( It says the key is incorrect.

Are there any shares/bitcoin in your account?

How long has it been like this(I seem to remember you had the same issue before with the older web client)?

Are you able to create a new account and use that(with this client you can easily manage multiple accounts)?

What browser and OS are you using?

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 02, 2011, 03:31:01 AM
Nice work.
But, when i try to see the tally in motions, a window showing Executing appears & it doesn't show the votes.
Just only Executing is displayed for hours & nothing happens.

Also master password or main password is showing characters instead of *** or dots. make it hidden behind asterisk
I'll see about making that change.

Just so we're clear, the private keys are stored in the browsers local db using html5 and encrypted using AES with a password derived key, you can inspect the source, it's all there in Javascript, the private key never goes to the server.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on July 02, 2011, 03:48:13 AM
Yay!

I found the issue...

The user key had a extra invisible character (probably a space or a alt + 255)


>.<


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 02, 2011, 03:53:38 AM
Yay!

I found the issue...

The user key had a extra invisible character (probably a space or a alt + 255)


>.<

So this was whitespace or something like that after the keytext or within the keytext?

Please confirm if that was the case and I'll see what can be done to prevent that happening in the future.

Also just to let uses know we seem to be having some issues with voting at the moment.

Is anyone else having trouble seeing their orders, bitcoin/market/asset histories?

Nefario.



Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: speeder on July 02, 2011, 04:10:52 AM
It was a whitespace after it. Or something like that.

I did again a new bmc.py user copied all characters carefully (to not copy whitespace) and tried again, and THEN it worked.


Also for some reason, I spent a good time trying the user id "speeder", I forgot the user id was a string and for some reason it is not clear what the user id is.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 02, 2011, 06:07:48 AM
It was a whitespace after it. Or something like that.

I did again a new bmc.py user copied all characters carefully (to not copy whitespace) and tried again, and THEN it worked.


Also for some reason, I spent a good time trying the user id "speeder", I forgot the user id was a string and for some reason it is not clear what the user id is.

OK, the new interface should make that easier for people, at most a password to remember (if they have one at all)


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: whirlpool on July 02, 2011, 06:08:32 PM
I'm having trouble reaching the "Orders" page, Assets History, and withdrawing funds from the account.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 02, 2011, 06:58:31 PM
OK, that will be my first priority in the morning, fix orders/asset history etc ASAP. It's 3am here so I need to sleep.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 03, 2011, 04:41:21 PM
https://glbse.com/client/glbse/index.html

i don't get this new page.  what are we supposed to do with it?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 03, 2011, 07:07:56 PM
https://glbse.com/client/glbse/index.html

i don't get this new page.  what are we supposed to do with it?
It gives SSL errors & clicking proceed opens the page with out problems.
Using google chrome.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 04, 2011, 05:45:26 PM
Client's updated, fixed a few issues with withdrawls and other things.

SSL error is because it's a self signed cert, you can click through without any worries.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 04, 2011, 05:47:07 PM
http://charts.glbse.com/markets/

says "Out of coins"

or

"Unhandled Exception
An unhandled exception was thrown by the application."


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 04, 2011, 05:47:23 PM
Client's updated, fixed a few issues with withdrawls and other things.

SSL error is because it's a self signed cert, you can click through without any worries.

what does "Set Password" mean? as well as checkbox "do not protect password"?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 04, 2011, 06:02:35 PM
Client's updated, fixed a few issues with withdrawls and other things.

SSL error is because it's a self signed cert, you can click through without any worries.

what does "Set Password" mean? as well as checkbox "do not protect password"?

The way it works is your browser will store your private keys for you, locally using html5. You have the option of having them stored encrypted, which would require a password to access them (in a readable manner) or leave them as plain text.

You can then have as many accounts as you like, it's now easy to manage multiple accounts.

There is also a backup and restore option to move your keys off that particular machine, and those backups can be encrypted or in plain text.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 04, 2011, 06:10:17 PM
so as an existing acct owner, do i want to Add existing acct or Import existing acct?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 04, 2011, 07:08:10 PM
so as an existing acct owner, do i want to Add existing acct or Import existing acct?

Hmm, that's something that needs to be changed to something more obvious.

You add an existing account, the import is if you've saved it to a backup textfile.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 04, 2011, 07:17:00 PM
ok, accessing just fine.  nice layout.

why does my user id display differently in the GUI than from what i have stored locally?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 04, 2011, 07:30:17 PM
ok, accessing just fine.  nice layout.

why does my user id display differently in the GUI than from what i have stored locally?

I've no idea, is it a problem?
I mean is it the same id displayed differently (bigger text?) or a different id?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 04, 2011, 07:33:54 PM
ok, accessing just fine.  nice layout.

why does my user id display differently in the GUI than from what i have stored locally?

I've no idea, is it a problem?
I mean is it the same id displayed differently (bigger text?) or a different id?

its totally different.

not a problem except that when i thought i lost my user id last week, i hunted down a Google page cache of GLBSE that had the changed (incorrect) user id in it.  used in combination with my private key, i couldn't open my acct and i freaked out until i realized that it wasn't the real user id.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 04, 2011, 07:35:52 PM
i too see different id.
DISHWARA acc key is 762ea30xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb6a1ce

But i see 47df92xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx583328c97 in top.

same for other acc also. the key i got from dos mode is different than , key displayed on acc in web client.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 04, 2011, 07:38:36 PM
i too see different id.
DISHWARA acc key is 762ea30xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb6a1ce

But i see 47df92xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx583328c97 in top.

same for other acc also. the key i got from dos mode is different than , key displayed on acc in web client.

i see the exact same user id:   "But i see 47df92xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx583328c97 in top. "


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 04, 2011, 07:41:06 PM
i too see different id.
DISHWARA acc key is 762ea30xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb6a1ce

But i see 47df92xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx583328c97 in top.

same for other acc also. the key i got from dos mode is different than , key displayed on acc in web client.

i see the exact same user id

hmmmm, let me check this out.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: elk-tamer on July 04, 2011, 11:53:19 PM
Cancelling orders isn't working for me. I get the list of orders, click on the "cancel" button/image and nothing happens.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 05, 2011, 05:26:50 AM
The user id issues been fixed, also cancel orders and transfer problems.
Still working on voting.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: elk-tamer on July 05, 2011, 05:57:18 AM
The user id issues been fixed, also cancel orders and transfer problems.
Still working on voting.
It's working for me now. Cheers.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 05, 2011, 07:06:01 AM
No problem.

Still working on voting, such an odd error.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 07, 2011, 05:19:43 AM
Voting is up and running, give it a try.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: elk-tamer on July 07, 2011, 05:22:16 AM
I'm getting a message about not having enough unreserved assets, cancel another order when i try to sell, even though I have no outstanding orders


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 07, 2011, 08:14:40 AM
I am creating an order to buy DISHWARA @ 0.550000 BTC & my order cannot be created & giving a pop message with object[object] as error.
But i can able to buy from already asked amount.
Why is that?

This happens only when buy price is 0.550000.
It doesn't happen when buy price is 0.500 or 0.59 or 0.600


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 07, 2011, 10:10:56 AM
I am creating an order to buy DISHWARA @ 0.550000 BTC & my order cannot be created & giving a pop message with object[object] as error.
But i can able to buy from already asked amount.
Why is that?

This happens only when buy price is 0.550000.
It doesn't happen when buy price is 0.500 or 0.59 or 0.600

Still happening?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 07, 2011, 10:27:35 AM
yes, still happening. only for price 0.5500....


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 07, 2011, 01:43:56 PM
yes, still happening. only for price 0.5500....

OK guys there is a problem with the webclient.
It's a JavaScript float issue.

Dishwara, although you're typing in 0.55000, what is actually being sent to the server is 55000000.00000001

This wont be fixed in the webclient for maybe 12 hours.

It's a pretty serious problem I think, one that for some reason has only come now(which is strange because it's also there on the first web client).

I'm closing the market for the next 12 hours until it's done.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 07, 2011, 01:52:04 PM
LOL!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 07, 2011, 04:29:36 PM
55000000 BTC to buy a share - may be in my next birth.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 07, 2011, 04:59:43 PM
55000000 BTC to buy a share - may be in my next birth.

I like your sense of humor.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 08, 2011, 05:34:44 AM
Market is back open, number problem has been fixed.

Sorry for the delay and downtime.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on July 12, 2011, 02:48:55 AM
I get 28 bitcent, but I dont know from what assent. How can I know?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 12, 2011, 03:03:42 AM
I get 28 bitcent, but I dont know from what assent. How can I know?

I'm working on this today.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 16, 2011, 06:59:36 AM
I tried to access my account today by giving password, it gave me a lengthy error that some procedure are missing(i didnt notice it fully), then i pressed "GO" & it logged me in. But there is no accounts. So, i added my accounts with id & key & checked asset DISHWARA.
In twitter it is displayed as sell:1@10000000:DISHWARA:1310782590 & sell:1@45000000:DISHWARA:1310782256.
But when i checked in asset DISHWARA its not there.
Is site working wrongly or some one hacked?


I sent you a pm, for which i didn't got any reply.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 16, 2011, 10:59:39 AM
I tried to access my account today by giving password, it gave me a lengthy error that some procedure are missing(i didnt notice it fully), then i pressed "GO" & it logged me in. But there is no accounts. So, i added my accounts with id & key & checked asset DISHWARA.
In twitter it is displayed as sell:1@10000000:DISHWARA:1310782590 & sell:1@45000000:DISHWARA:1310782256.
But when i checked in asset DISHWARA its not there.
Is site working wrongly or some one hacked?


I sent you a pm, for which i didn't got any reply.

I didn't get a pm.

I'm checking now.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 17, 2011, 10:06:08 AM
I resent you pm.
Now when i try to access my account, i get [object Object] error & balance shows retrieving always.
Clicking the circular arrow gives [object Object] pop up message.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on July 17, 2011, 08:05:53 PM
I use terminal glbse, but the balance get an HTML error:

Quote
  <p id="explanation">You're seeing this error because you have
enabled the <code>show_exceptions</code> setting.</p>


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on July 18, 2011, 02:57:29 PM
Why can't I see my balance?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: brendio on July 19, 2011, 12:03:55 PM
Why can't I see my balance?
+1


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 19, 2011, 01:50:01 PM
i cannot get in using my password that i setup around 3 wks ago.

i can get in "Adding an Existing Account" by inserting my user id and private key.

when i do get in my balance says "Retrieving..." with a refresh arrow.

when i click on Balance i get the "[object Object]" error everyone else gets.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 19, 2011, 01:57:42 PM
attempted orders returns error [object Object].


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: sal002 on July 19, 2011, 01:59:51 PM
I get the same "error [object Object]."  I am trying to withdrawal and get the same.  Seems the client is broken and there is no way to withdrawal.  Anyone else see this?  Is there another method?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on July 19, 2011, 06:24:01 PM
Nefario should be back online within a day and will hopefully be able to resolve this quickly once he is.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: sal002 on July 20, 2011, 02:14:39 AM
I haven't been able to withdrawal for a few weeks - chalked it up to all the upgrades, but wouldlove to see it fixed!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: cypherdoc on July 21, 2011, 05:44:57 AM
is there no one else associated with glbse that can get this fixed so the rest of us can resume trading and access our accts?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on July 21, 2011, 05:47:49 AM
Where is Nefario?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on July 21, 2011, 05:53:21 AM
is there no one else associated with glbse that can get this fixed so the rest of us can resume trading and access our accts?

Unfortunately, not really at this time.

I have copies of a bunch of the server/development passwords etc, but I'm not a coder or involved with development. I've got them so I can find someone else to fill Nefario's shoes in the event something happens to him. Obviously not an ideal situation, and it's an issue we've discussed internally and recognize as a problem, but haven't been able to resolve yet. Annoyingly some error has cropped up at basically the worst time as Nefario is in transition moving between countries.



Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 21, 2011, 08:24:36 AM
Hi,

I'm just after getting back online, I'm working on this now.

I'll keep you updated.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on July 21, 2011, 09:08:58 AM
Alright folks, everything is back up and running. Bitcoind crashed on the server so anything to do with balances etc got choked. Should be running fine now.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 21, 2011, 06:09:07 PM
The python client worked for an hour or so 8 hours back but now seems bust again. Has bitcoind crashed again ?


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: notme on July 21, 2011, 06:25:00 PM
The python client worked for an hour or so 8 hours back but now seems bust again. Has bitcoind crashed again ?

Errno::ECONNREFUSED: Connection refused - connect(2)

...Looks that way


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: ColdHardMetal on July 21, 2011, 06:26:39 PM
Looks like the same error to me. 3:30am Nefario time so it'll be at least a little while before he gets to it.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 21, 2011, 06:55:20 PM
No problem for me. I'm not in any rush - just wanted to make sure you were aware.

Looks like the same error to me. 3:30am Nefario time so it'll be at least a little while before he gets to it.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on July 21, 2011, 10:38:04 PM
The error persists.

If you need, this is my user d4d66c97ee7e1adb70d81233cdc6d669edc3cca3da89be018efbc429ab58a331


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 22, 2011, 07:37:53 AM
Back up, again bitcoind had died.

I'll make sure to have this taken care of so it's not a problem in the future, in the meantime I will be watching it like a hawk.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: josell on July 23, 2011, 03:12:19 AM
Yeah! All works fine now. Than you, Nefario!


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: notme on July 23, 2011, 08:57:56 AM
http://charts.glbse.com/markets/

Out of coins.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 23, 2011, 09:07:48 AM
http://charts.glbse.com/markets/

Out of coins.

thanks for the heads up, I'll get on that ASAP.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 24, 2011, 11:20:41 AM
http://charts.glbse.com/markets/

Out of coins.

thanks for the heads up, I'll get on that ASAP.


Yeah that was a problem with bitcoincharts, he's got that working now.

Also, I'm happy to announce that for the web client, bitcoin history now shows which asset has paid a dividends.

All the history pages (bitcoin,asset,market) now show 15 entries instead of the default 5.

Please clear your browser cache and reload the webclient to use.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 24, 2011, 12:57:30 PM
I have updated BMC Tools to reflect this change ... http://forum.bitcoin.org/index.php?topic=31174.msg394368

http://charts.glbse.com/markets/

Out of coins.

thanks for the heads up, I'll get on that ASAP.


Yeah that was a problem with bitcoincharts, he's got that working now.

Also, I'm happy to announce that for the web client, bitcoin history now shows which asset has paid a dividends.

All the history pages (bitcoin,asset,market) now show 15 entries instead of the default 5.

Please clear your browser cache and reload the webclient to use.

Nefario.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 24, 2011, 01:10:24 PM
Much appreciated Ben.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 28, 2011, 12:16:53 PM
We've now got an SSL Auth signed cert, no more nasty warnings  :D


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 28, 2011, 03:50:07 PM
If you're using the command line client check this.
http://forum.bitcoin.org/index.php?topic=32569.0


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 29, 2011, 03:09:25 PM
Anyone else seeing the following error ? ...

ben@ben-laptop2:~/bitcoin_stuff/bmc/black-market-client$ ./bmc.py balance
Enter passphrase:
Server error: server certificate verification failed. CAfile: server.crt CRLfile: none.

This is with a fresh local clone of the git project, as per below.


If you're using the command line client check this.
http://forum.bitcoin.org/index.php?topic=32569.0


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Rogue Star on July 30, 2011, 10:30:58 PM
Anyone else seeing the following error ? ...
from what I can tell it's because openssl doesn't trust the certificate. I tried adding it to the windows trust store and that certainly did not help. i didn't try very hard, but I wasn't able to find the necessary openssl command. looking at the crt file, I didn't see a trust chain in it, so that might explain why it's not trusted.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 31, 2011, 02:17:07 AM
The ssl cert (that's in the git project) isn't used now and the client has been changed to not verify ssl certificates. Try to get the latest version of bmc.py, Ive tried the client on debian and it works.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Rogue Star on July 31, 2011, 07:17:42 AM
The ssl cert (that's in the git project) isn't used now and the client has been changed to not verify ssl certificates. Try to get the latest version of bmc.py, Ive tried the client on debian and it works.
okay i stand corrected. it was a case of PEBKAC, apparently I still don't fully understand git. the latest commits weren't showing up in the tortoise-git log and doing fetches didn't help either. one of the descriptions of pull I had read made me hesitant to try that again. it's working for me with the latest commits from july 28. thanks.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 04:25:51 PM
Yep, the latest set of changes allow the client to work, without any verification of the SSL certificates.

However, I am interested in getting SSL certificate verification in the client working again, as that is important, particularly for software for trading.

I've spent some time researching and believe I have a reason for the problem ...

pycurl utilises libgnutls. We can utilise gnutls-cli to check what's going on when GnuTLS is used to connect to glbse.com server ...

ben@ben-laptop2:~/bitcoin_stuff/bmc/new_test/black-market-client$ gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt glbse.com
Processed 142 CA certificate(s).
Resolving 'glbse.com'...
Connecting to '195.200.253.239:443'...
- Ephemeral Diffie-Hellman parameters
 - Using prime: 1024 bits
 - Secret key: 1023 bits
 - Peer's public key: 1023 bits
- Certificate type: X.509
 - Got a certificate list of 3 certificates.
 - Certificate[0] info:
  - subject `serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij,C=IE,O=glbse.com,OU=GT03597358,OU=See www.rapidssl.com/resources/cps (c)11,OU=Domain Control Validated - RapidSSL(R),CN=glbse.com', issuer `C=US,O=GeoTrust\, Inc.,CN=RapidSSL CA', RSA key 2048 bits, signed using RSA-SHA, activated `2011-07-26 20:43:11 UTC', expires `2012-07-28 13:33:05 UTC', SHA-1 fingerprint `06b65248bef97357fb9dfd648671261ee7f4ed9c'
 - Certificate[1] info:
  - subject `C=US,O=GeoTrust Inc.,OU=Domain Validated SSL,CN=GeoTrust DV SSL CA', issuer `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA', RSA key 2048 bits, signed using RSA-SHA, activated `2010-02-26 21:32:31 UTC', expires `2020-02-25 21:32:31 UTC', SHA-1 fingerprint `bae30b15dbb1544cf194d076b75b7bb9e3d6b760'
 - Certificate[2] info:
  - subject `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA', issuer `C=US,O=Equifax,OU=Equifax Secure Certificate Authority', RSA key 2048 bits, signed using RSA-SHA, activated `2002-05-21 04:00:00 UTC', expires `2018-08-21 04:00:00 UTC', SHA-1 fingerprint `7359755c6df9a0abc3060bce369564c8ec4542a3'
- The hostname in the certificate matches 'glbse.com'.
- Peer's certificate is NOT trusted
- Version: TLS1.0
- Key Exchange: DHE-RSA
- Cipher: AES-128-CBC
- MAC: SHA1
- Compression: NULL
*** Verifying server certificate failed...


This suggests the reason for the failure is a missing certificate in the chain presented by the glbse.com server.

So chain presented as a result of negotiation for GnuTLS is as follows ...

server certificate ...
subject `serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij,C=IE,O=glbse.com,OU=GT03597358,OU=See www.rapidssl.com/resources/cps (c)11,OU=Domain Control Validated - RapidSSL(R),CN=glbse.com'
issuer `C=US,O=GeoTrust\, Inc.,CN=RapidSSL CA'

intermediate certificate 1 ...
subject `C=US,O=GeoTrust Inc.,OU=Domain Validated SSL,CN=GeoTrust DV SSL CA'
issuer `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA'

intermediate certificate 2 ...
subject `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA'
issuer `C=US,O=Equifax,OU=Equifax Secure Certificate Authority'

So the chain is broken between the server certificate and intermediate certificate 1.

I believe that if the certificate with ...

subject `C=US,O=GeoTrust\, Inc.,CN=RapidSSL CA'
issuer `C=US,O=GeoTrust Inc.,OU=Domain Validated SSL,CN=GeoTrust DV SSL CA'

... is inserted into the presented chain between the server certificate and current intermediate certificate 1, then no additional certificates will need to be shipped with the client, as the `C=US,O=Equifax,OU=Equifax Secure Certificate Authority' certificate is present in the "standard" ca certificate bundle provided with most OSes.

This should just be a matter of configuration on the glbse.com server.

Same result can be concluded from an equivalent command for openssl ...

ben@ben-laptop2:~/bitcoin_stuff/bmc/new_test/black-market-client$ openssl s_client -CAfile /etc/ssl/certs/ca-certificates.crt -connect glbse.com:443
CONNECTED(00000003)
depth=0 /serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij/C=IE/O=glbse.com/OU=GT03597358/OU=See www.rapidssl.com/resources/cps (c)11/OU=Domain Control Validated - RapidSSL(R)/CN=glbse.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij/C=IE/O=glbse.com/OU=GT03597358/OU=See www.rapidssl.com/resources/cps (c)11/OU=Domain Control Validated - RapidSSL(R)/CN=glbse.com
verify error:num=27:certificate not trusted
verify return:1
depth=0 /serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij/C=IE/O=glbse.com/OU=GT03597358/OU=See www.rapidssl.com/resources/cps (c)11/OU=Domain Control Validated - RapidSSL(R)/CN=glbse.com
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
 0 s:/serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij/C=IE/O=glbse.com/OU=GT03597358/OU=See www.rapidssl.com/resources/cps (c)11/OU=Domain Control Validated - RapidSSL(R)/CN=glbse.com
   i:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
 1 s:/C=US/O=GeoTrust Inc./OU=Domain Validated SSL/CN=GeoTrust DV SSL CA
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
 2 s:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
   i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIEvDCCA6SgAwIBAgIDApP8MA0GCSqGSIb3DQEBBQUAMDwxCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLjEUMBIGA1UEAxMLUmFwaWRTU0wgQ0Ew
HhcNMTEwNzI2MjA0MzExWhcNMTIwNzI4MTMzMzA1WjCB2TEpMCcGA1UEBRMgaWhi
ZUx2VTA4d0RjOFI5TDhXbkN4L3A4TlNscjMxaWoxCzAJBgNVBAYTAklFMRIwEAYD
VQQKEwlnbGJzZS5jb20xEzARBgNVBAsTCkdUMDM1OTczNTgxMTAvBgNVBAsTKFNl
ZSB3d3cucmFwaWRzc2wuY29tL3Jlc291cmNlcy9jcHMgKGMpMTExLzAtBgNVBAsT
JkRvbWFpbiBDb250cm9sIFZhbGlkYXRlZCAtIFJhcGlkU1NMKFIpMRIwEAYDVQQD
EwlnbGJzZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDvA02I
8K86MzXzTMsSTkKquowPDvhBy+1PC+Dh0cEgRuVKY2VrG0RjVNph4oLRc8qoG/zp
6pKvNqXw2WJQnfLe2vIi6R8RF9XOihrb4Mt1Wx10sfQI5pj4pnwfb25PYm6iPQ3N
cp3V5J3Mh/ZLQROI8HEY+f6hbNFqD4dRmxjC6/fwhAEPOKWzbfgFAQvlcHUEsnfp
UuwlDAjlh4u9XWDKt7UCet0B0KGZeoIGOBTg0yd/6oxsC1pwUnK/wYymvm7Wg+C3
uW2JqcVJUhENQV0ug7V4XB2m3ZOsAJcxuCnpfYUvANEuVxuQtpqLzBh/IOMWpR45
s8uoiZmy0MwA3xs3AgMBAAGjggEnMIIBIzAfBgNVHSMEGDAWgBRraT1qGEJK3Y8C
ZTn9NSSGeJEWMDAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEG
CCsGAQUFBwMCMBQGA1UdEQQNMAuCCWdsYnNlLmNvbTBDBgNVHR8EPDA6MDigNqA0
hjJodHRwOi8vcmFwaWRzc2wtY3JsLmdlb3RydXN0LmNvbS9jcmxzL3JhcGlkc3Ns
LmNybDAdBgNVHQ4EFgQUP/o+0sHdsz2OVB4Jb75h3IkgIr8wDAYDVR0TAQH/BAIw
ADBJBggrBgEFBQcBAQQ9MDswOQYIKwYBBQUHMAKGLWh0dHA6Ly9yYXBpZHNzbC1h
aWEuZ2VvdHJ1c3QuY29tL3JhcGlkc3NsLmNydDANBgkqhkiG9w0BAQUFAAOCAQEA
oI0xm1JOZCCzJb0IXfu2q9aCm7BYNGqAvLyYddqBVNqGgiM5T4xiA1u+wKCHly+Y
dXn/WD90fTCvMyImTBDlWniJ5NurV7cPEQl7PhDZArwMPIyeRmeZRL4ir8glDGHg
3BK3v7do8H4v+JqmV832M5nn0gQnIKYH5q4Iiq7gE7Q8Nv4v9bTAu4TanGQzWM0+
SLYnBblYE/zS4mDPsw5fY63UOsTBw6/88KHFxzaNxQ7qgejn9lHkbNyHHiJSXz8K
jZ34Ns9xn0QpTPdjWc4O6bE2jTq0oD5GknU5tOds706hmI6BcOvuX+wCE0n19XgB
s+8uPV4vn6oGHedQ4G+AMw==
-----END CERTIFICATE-----
subject=/serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij/C=IE/O=glbse.com/OU=GT03597358/OU=See www.rapidssl.com/resources/cps (c)11/OU=Domain Control Validated - RapidSSL(R)/CN=glbse.com
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 3840 bytes and written 319 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : DHE-RSA-AES256-SHA
    Session-ID: 811D3E85204DFA23243755401CB5D600C3B25F15369B1F82D1355AEF9A5BC38E
    Session-ID-ctx:
    Master-Key: 19C2F072E2A174ADD41A9164FB5AD9C1811001A8796B4A8BDC65A1CEE28C9C3D0F9832FF5677627 CC1F737CBDB5F11D5
    Key-Arg   : None
    Start Time: 1312129418
    Timeout   : 300 (sec)
    Verify return code: 21 (unable to verify the first certificate)



Thoughts ???

The ssl cert (that's in the git project) isn't used now and the client has been changed to not verify ssl certificates. Try to get the latest version of bmc.py, Ive tried the client on debian and it works.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 04:30:03 PM
Compare with Google ...

ben@ben-laptop2:~/bitcoin_stuff/bmc/new_test/black-market-client$ openssl s_client -CAfile /etc/ssl/certs/ca-certificates.crt -connect encrypted.google.com:443
CONNECTED(00000003)
depth=2 /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
verify return:1
depth=1 /C=US/O=Google Inc/CN=Google Internet Authority
verify return:1
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
verify return:1
---
Certificate chain
 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
   i:/C=US/O=Google Inc/CN=Google Internet Authority
 1 s:/C=US/O=Google Inc/CN=Google Internet Authority
   i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFCDCCBHGgAwIBAgIKPlKuxgADAAAsXDANBgkqhkiG9w0BAQUFADBGMQswCQYD
VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu
dGVybmV0IEF1dGhvcml0eTAeFw0xMTA3MTMwNTUwNDhaFw0xMjA3MTMwNjAwNDha
MGYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N
b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRUwEwYDVQQDFAwqLmdv
b2dsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANolbE9Pl1R3CLfX
FMXlZJoIvv2548Ksuv4TWfna37sre4Ng7V3vVpwRT0oQteVPGUyiHj/HCqThg3Jz
TNUCFMwhYruXHLtCDO8bcJdvQzTsOKxtYNiopPW3817gbEkuHGhRxCTZtGXFu2Qa
TuQi8BRMzfxUNHPlNvZQAHaR0BadAgMBAAGjggLbMIIC1zAdBgNVHQ4EFgQUTNjK
1Y39on/YBjL7JosCkSI+oJswHwYDVR0jBBgwFoAUv8Aw6/VDET5nup6R+/xq2uNr
EiQwWwYDVR0fBFQwUjBQoE6gTIZKaHR0cDovL3d3dy5nc3RhdGljLmNvbS9Hb29n
bGVJbnRlcm5ldEF1dGhvcml0eS9Hb29nbGVJbnRlcm5ldEF1dGhvcml0eS5jcmww
ZgYIKwYBBQUHAQEEWjBYMFYGCCsGAQUFBzAChkpodHRwOi8vd3d3LmdzdGF0aWMu
Y29tL0dvb2dsZUludGVybmV0QXV0aG9yaXR5L0dvb2dsZUludGVybmV0QXV0aG9y
aXR5LmNydDAhBgkrBgEEAYI3FAIEFB4SAFcAZQBiAFMAZQByAHYAZQByMIIBqwYD
VR0RBIIBojCCAZ6CDCouZ29vZ2xlLmNvbYIKZ29vZ2xlLmNvbYILKi5hdGdnbC5j
b22CDSoueW91dHViZS5jb22CC3lvdXR1YmUuY29tggsqLnl0aW1nLmNvbYIPKi5n
b29nbGUuY29tLmJygg4qLmdvb2dsZS5jby5pboILKi5nb29nbGUuZXOCDiouZ29v
Z2xlLmNvLnVrggsqLmdvb2dsZS5jYYILKi5nb29nbGUuZnKCCyouZ29vZ2xlLnB0
ggsqLmdvb2dsZS5pdIILKi5nb29nbGUuZGWCCyouZ29vZ2xlLmNsggsqLmdvb2ds
ZS5wbIILKi5nb29nbGUubmyCDyouZ29vZ2xlLmNvbS5hdYIOKi5nb29nbGUuY28u
anCCCyouZ29vZ2xlLmh1gg8qLmdvb2dsZS5jb20ubXiCDyouZ29vZ2xlLmNvbS5h
coIPKi5nb29nbGUuY29tLmNvgg8qLmdvb2dsZS5jb20udm6CDyouZ29vZ2xlLmNv
bS50coINKi5hbmRyb2lkLmNvbYIUKi5nb29nbGVjb21tZXJjZS5jb20wDQYJKoZI
hvcNAQEFBQADgYEAs5zPchwKQuQNN1h+fPdcSUrzSFFXZ5VettWXTbTNKsikctEK
b6cFJKuFqaDa/e7pvxqvVckPRW58sRBpNZTyjbS9XUPHACAVq5f20sPo/Oo47pf/
oMq/xUN7RdgOn+oCoRZO856maRUT2WhrBNAKdZ7RqLihUP7zW+33i6c6Gzc=
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
issuer=/C=US/O=Google Inc/CN=Google Internet Authority
---
No client certificate CA names sent
---
SSL handshake has read 2144 bytes and written 307 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : RC4-SHA
    Session-ID: 5269009FC24EF94B0C80BE4C78369CAC34793554D0E09C90F1F3FD4471DACCA9
    Session-ID-ctx:
    Master-Key: D2F3F86EF29FA4F2A8675476E3546664D85DD819542104AB6F861C590CCC48CD98F4F5131918902 05F80D7CC7284A295
    Key-Arg   : None
    Start Time: 1312129735
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 04:31:56 PM
Or Yahoo, with a longer chain ...


ben@ben-laptop2:~/bitcoin_stuff/bmc/new_test/black-market-client$ openssl s_client -CAfile /etc/ssl/certs/ca-certificates.crt -connect login.yahoo.com:443
CONNECTED(00000003)
depth=3 /C=US/O=GTE Corporation/OU=GTE CyberTrust Solutions, Inc./CN=GTE CyberTrust Global Root
verify return:1
depth=2 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
verify return:1
depth=1 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
verify return:1
depth=0 /C=US/ST=CA/L=Sunnyvale/O=Yahoo! Inc./CN=login.yahoo.com
verify return:1
---
Certificate chain
 0 s:/C=US/ST=CA/L=Sunnyvale/O=Yahoo! Inc./CN=login.yahoo.com
   i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
 1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
   i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
 2 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
   i:/C=US/O=GTE Corporation/OU=GTE CyberTrust Solutions, Inc./CN=GTE CyberTrust Global Root
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGOzCCBSOgAwIBAgIQD1hJQVLDNUtt6+cgnnJuZzANBgkqhkiG9w0BAQUFADBm
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSUwIwYDVQQDExxEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
ZSBDQS0zMB4XDTEwMTIyMTAwMDAwMFoXDTEzMDEwMzIzNTk1OVowXjELMAkGA1UE
BhMCVVMxCzAJBgNVBAgTAkNBMRIwEAYDVQQHEwlTdW5ueXZhbGUxFDASBgNVBAoU
C1lhaG9vISBJbmMuMRgwFgYDVQQDEw9sb2dpbi55YWhvby5jb20wgZ8wDQYJKoZI
hvcNAQEBBQADgY0AMIGJAoGBALTxKoODwdPNbM4FrhBYCsIJVm/EtiqQxgHZFBcR
FR8jAKUTXG2rMlkgiAoDp5duez+omwAoULLt9UlRVe6NqBuDxjDcniUeMYyudwzi
ua5EzZGKFryr8kyfhrKz15V4HwDBI1weDHmLDSwuU2jKpUTR1b2jid3o/B95Fd1Z
aUTZAgMBAAGjggNvMIIDazAfBgNVHSMEGDAWgBRQ6nOJ2yn7EI+e5QEg1N55mUiD
9zAdBgNVHQ4EFgQUZwtdzLsVHOGRRhaepLJCXmrYCWMwPgYDVR0RBDcwNYIPbG9n
aW4ueWFob28uY29tgg5tYWlsLnlhaG9vLmNvbYISb3ZpLm1haWwueWFob28uY29t
MHsGCCsGAQUFBwEBBG8wbTAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNl
cnQuY29tMEUGCCsGAQUFBzAChjlodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20v
RGlnaUNlcnRIaWdoQXNzdXJhbmNlQ0EtMy5jcnQwDgYDVR0PAQH/BAQDAgWgMAwG
A1UdEwEB/wQCMAAwZQYDVR0fBF4wXDAsoCqgKIYmaHR0cDovL2NybDMuZGlnaWNl
cnQuY29tL2NhMy0yMDEwaS5jcmwwLKAqoCiGJmh0dHA6Ly9jcmw0LmRpZ2ljZXJ0
LmNvbS9jYTMtMjAxMGkuY3JsMIIBxgYDVR0gBIIBvTCCAbkwggG1BgtghkgBhv1s
AQMAATCCAaQwOgYIKwYBBQUHAgEWLmh0dHA6Ly93d3cuZGlnaWNlcnQuY29tL3Nz
bC1jcHMtcmVwb3NpdG9yeS5odG0wggFkBggrBgEFBQcCAjCCAVYeggFSAEEAbgB5
ACAAdQBzAGUAIABvAGYAIAB0AGgAaQBzACAAQwBlAHIAdABpAGYAaQBjAGEAdABl
ACAAYwBvAG4AcwB0AGkAdAB1AHQAZQBzACAAYQBjAGMAZQBwAHQAYQBuAGMAZQAg
AG8AZgAgAHQAaABlACAARABpAGcAaQBDAGUAcgB0ACAAQwBQAC8AQwBQAFMAIABh
AG4AZAAgAHQAaABlACAAUgBlAGwAeQBpAG4AZwAgAFAAYQByAHQAeQAgAEEAZwBy
AGUAZQBtAGUAbgB0ACAAdwBoAGkAYwBoACAAbABpAG0AaQB0ACAAbABpAGEAYgBp
AGwAaQB0AHkAIABhAG4AZAAgAGEAcgBlACAAaQBuAGMAbwByAHAAbwByAGEAdABl
AGQAIABoAGUAcgBlAGkAbgAgAGIAeQAgAHIAZQBmAGUAcgBlAG4AYwBlAC4wHQYD
VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMA0GCSqGSIb3DQEBBQUAA4IBAQBa
Ykl7g9l5hQQzV7XtIdpuNZrTLlJ5y1JUg/GmEbZ7b1kHhBErnibJ3VxgUxA1WUoC
SowYMxCv6E3no+AVe/dJsT3uORihPYyBYM1ST1cto3W/LN2oFCmVQ+PPO7Xje9NE
ZzcHOGHKIBDpA+mggT/Rypntbp9gZX3vuZ51ewxWmfm6w+s17G8kC8gVEyaxtTtV
EEJJquWwLQm5IonuGzMfT93ajAY04aNrJSUg4tzwlsBM6opebNP51jvr2xwecV22
YFFWlT2IK/Hgt5sShRLF87RfM/gfjSCi8g3a0p3CbXeBigaypv/MEGUkcWkfGxwn
fPjh72mmPGC70nR7ikji
-----END CERTIFICATE-----
subject=/C=US/ST=CA/L=Sunnyvale/O=Yahoo! Inc./CN=login.yahoo.com
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
---
No client certificate CA names sent
---
SSL handshake has read 4474 bytes and written 319 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : AES256-SHA
    Session-ID:
    Session-ID-ctx:
    Master-Key: D8C808E8BCD16151231DFCEBC6AF1A8AACBA5B464AB5EB8DF5B7DF07C5E0BF7C1F42AF61328907B 8B2E94971760D3B35
    Key-Arg   : None
    Start Time: 1312129871
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 04:46:49 PM
I went checking on RapidSSL site for the relevant intermediate CA certificate and found an "installation checker" ... https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&id=SO9556

If you test glbse.com with that "installation checker", it confirms there is an invalid chain and details what resolution is required - you actually just need to replace your current intermediate certificate 1 with the one they provide in the report.

http://img694.imageshack.us/img694/2599/screenshot6xx.png

Download the required certificate from here - https://knowledge.rapidssl.com/library/VERISIGN/ALL_OTHER/David%20A./Rapidssl/Secondary%20Intermediate.txt

I had problems just copying and pasting from that text box of the "installation checker".

Your chain will then be ...

server certificate ...
subject `serialNumber=ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij,C=IE,O=glbse.com,OU=GT03597358,OU=See www.rapidssl.com/resources/cps (c)11,OU=Domain Control Validated - RapidSSL(R),CN=glbse.com'
issuer `C=US,O=GeoTrust\, Inc.,CN=RapidSSL CA'

intermediate certificate 1 ...
subject `C=US,O=GeoTrust\, Inc.,CN=RapidSSL CA'
issuer `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA'

intermediate certificate 2 ...
subject `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA'
issuer `C=US,O=Equifax,OU=Equifax Secure Certificate Authority'


Give me a yell once you've done that and I test it out for you.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: dishwara on July 31, 2011, 04:46:59 PM
Ben Walsh (beamer) better use web client.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: wumpus on July 31, 2011, 04:57:48 PM
We've now got an SSL Auth signed cert, no more nasty warnings  :D
Except for the warning (in Chrome) that "Your connection to glbse.com is encrypted with 256-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the behavior of the page."

The certificate is OK, though.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 05:01:42 PM
The web client is fine for humans, but I am developing applications to extend GLBSE functionality and utilise it as a backend for other services - so verification that those applications are really talking to the server they expect to be is very important.

Ben Walsh (beamer) better use web client.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 05:07:57 PM
Seconded.

One step at a time ;O)

I think it is just the twitter feed which is unsecured. Should just be a case of replacing the http://search.twitter.com URLs with https://search.twitter.com

Link to the Market Charts might also be a problem. I'd need access to the server itself to test.

We've now got an SSL Auth signed cert, no more nasty warnings  :D
Except for the warning (in Chrome) that "Your connection to glbse.com is encrypted with 256-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the behavior of the page."

The certificate is OK, though.



Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Ben Walsh (beamer) on July 31, 2011, 05:33:32 PM
Something which does puzzle me still is the chain presented to web browsers (I've checked with Chrome and Firefox) is as follows ...

server certificate ...
Subject : CN = glbse.com, OU = Domain Control Validated - RapidSSL(R), OU = See www.rapidssl.com/resources/cps (c)11, OU = GT03597358, O = glbse.com, C = IE, serialNumber = ihbeLvU08wDc8R9L8WnCx/p8NSlr31ij
Issuer : CN = RapidSSL CA, O = GeoTrust, Inc., C = US

intermediate certificate ...
Subject : CN = RapidSSL CA, O = GeoTrust, Inc., C = US
Issuer : CN = GeoTrust Global CA, O = GeoTrust Inc., C = US

root certificate ...
Subject : CN = GeoTrust Global CA, O = GeoTrust Inc., C = US
Issuer : CN = GeoTrust Global CA, O = GeoTrust Inc., C = US

... and that appears trusted by them. However, that isn't the chain presented to openssl and gnutls - is this because they are negotiating differently from the browsers ?


I note that the chains presented to web browsers for https://encrypted.google.com and https://login.yahoo.com matches the chains presented to openssl and gnutls. Weird.


Seconded.

One step at a time ;O)

I think it is just the twitter feed which is unsecured. Should just be a case of replacing the http://search.twitter.com URLs with https://search.twitter.com

Link to the Market Charts might also be a problem. I'd need access to the server itself to test.

We've now got an SSL Auth signed cert, no more nasty warnings  :D
Except for the warning (in Chrome) that "Your connection to glbse.com is encrypted with 256-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the behavior of the page."

The certificate is OK, though.



Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on July 31, 2011, 11:50:31 PM
I'm using nginx as a ssl frontend and have different servers behind(none of them doing ssl). The main purpose of having ssl is to protect peoples glbse forums passwords (please if you have a forum account have a unique password, don' reuse passwords).

GLBSE clients (both web and command line) send no useful or itentiffying information so there is no need for ssl for that, actually the entire server database could be stolen and it would still provide no more information than a bunch of transaction records, some bitcoin addresses and a big list of public keys. OK I'd like for all that information to stay private but still, thats your limit of personal data exposure when using GLBSE.

We dont keep emails or anything else. Oh we do keep access logs, i.e. so we can debug any problems and normal http logs.

With regards the Chrome warning, thats because we've got links to non-ssl resources on the home page (the feedback form for example, possibly even the twitter feed stuff).

Ben, you can go ahead and not worry about verification of the ssl cert for development ATM, I'll get that fixed by Friday (god I hate ssl certs).


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Rogue Star on August 01, 2011, 03:23:58 AM
With regards the Chrome warning, thats because we've got links to non-ssl resources on the home page (the feedback form for example, possibly even the twitter feed stuff).
as I mentioned earlier in the thread I'm certain it is just the twitter feed, at least with respect to firefox. it's pretty low priority in any case. having a redirect for the www sub-domain to primary domain would be a smidgeon higher on the list for trivial issues.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on August 01, 2011, 03:26:30 AM
With regards the Chrome warning, thats because we've got links to non-ssl resources on the home page (the feedback form for example, possibly even the twitter feed stuff).
as I mentioned earlier in the thread I'm certain it is just the twitter feed, at least with respect to firefox. it's pretty low priority in any case. having a redirect for the www sub-domain to primary domain would be a smidgeon higher on the list for trivial issues.

Yeah the www. redirect is a pain in the ASS.

My http server redirects all http traffic to https first, need to add www. to be redirected to non www before it does a https redirect.

I tried just doing the redirect as a cname in dns but hasn't worked.


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Rogue Star on August 01, 2011, 04:29:05 AM
Yeah the www. redirect is a pain in the ASS.

My http server redirects all http traffic to https first, need to add www. to be redirected to non www before it does a https redirect.

I tried just doing the redirect as a cname in dns but hasn't worked.
I've dealt with redirects that were similar in complexity. it shouldn't be too hard if you are using apache, you just need to use the rewrite engine in the .htaccess file, i think.

using google I would say you'd want something like this. just for reference i altered the following example (http://muffinresearch.co.uk/archives/2006/08/20/redirecting-subdomains-to-directories-in-apache/) which seemed to be close enough to be workable
Code:
ServerAlias *.glbse.com
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.* [NC]
RewriteCond %{HTTP_HOST} ^([^\.]+)\.glbse\.com
RewriteCond /var/www/vhosts/glbse.com/httpdocs/ -d
RewriteRule ^(.*) /%1/$1 [L]


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Nefario on August 01, 2011, 04:54:46 AM
Using nginx


Title: Re: GLBSE's latest updates (an early Christmas present for non-techies)
Post by: Rogue Star on August 01, 2011, 05:41:34 AM
Using nginx
Ahh, sorry, well it doesn't seem to change much. If anything it looks a bit easier. There is a http rewrite module (http://wiki.nginx.org/HttpRewriteModule) for nginx

The most robust rule that applies is probably something like this
Code:
if ($args ^~ post=100){
  server_name www.glbse.com;
  rewrite ^ http://glbse.com/new-address.html? permanent;
}

The wiki says using try files are a good idea, so you might need to look into that if you want better scalability. HTH. Hopefully I didn't miss any other obvious information you've already stated.