Author Topic: Possible log in to this forum with BTS id?  (Read 5885 times)

0 Members and 1 Guest are viewing this topic.

Offline kenCode

  • Hero Member
  • *****
  • Posts: 2283
    • View Profile
    • Agorise
Its usimg protocol like oauth... Are therr any oauth extemsions (facebook login) for chrome? If so it would be easy...

Cool, let's do it!! I've posted a Poll here: https://bitsharestalk.org/index.php?topic=15461.0
kenCode - Decentraliser @ Agorise
Matrix/Keybase/Hive/Commun/Github: @Agorise
www.PalmPay.chat

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
is that ready?
http://cryptosmith.info/  is ready to  login  with bts id!!!!!!!!!!!!!!!!!!!!
http://cryptosmith.info/index.php?controller=authentication&back=history
Yup i integrated the prestashop social plugin with bitshares login

 +5% +5% +5%
 
Is there any way we could tweak the plugin, create a Chrome extension out of it? One that would retain the private key locally only of course,  and allow us to start surfing .p2p websites? I'd love to see wallet.bitshares.p2p or even www.bitshares.dac ...
https://bitsharestalk.org/index.php?topic=15283.msg197053#msg197053
Its usimg protocol like oauth... Are therr any oauth extemsions (facebook login) for chrome? If so it would be easy...
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline kenCode

  • Hero Member
  • *****
  • Posts: 2283
    • View Profile
    • Agorise
is that ready?
http://cryptosmith.info/  is ready to  login  with bts id!!!!!!!!!!!!!!!!!!!!
http://cryptosmith.info/index.php?controller=authentication&back=history
Yup i integrated the prestashop social plugin with bitshares login

 +5% +5% +5%
 
Is there any way we could tweak the plugin, create a Chrome extension out of it? One that would retain the private key locally only of course,  and allow us to start surfing .p2p websites? I'd love to see wallet.bitshares.p2p or even www.bitshares.dac ...
https://bitsharestalk.org/index.php?topic=15283.msg197053#msg197053
 
kenCode - Decentraliser @ Agorise
Matrix/Keybase/Hive/Commun/Github: @Agorise
www.PalmPay.chat

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
is that ready?

http://cryptosmith.info/  is ready to  login  with bts id!!!!!!!!!!!!!!!!!!!!

http://cryptosmith.info/index.php?controller=authentication&back=history

Yup i integrated the prestashop social plugin with bitshares login
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile

I finished it, then had problems with the wallet crashing.  I think manually unlocking and leaving the wallet unlocked is a better solution which may enable it to work.  I also now need to remove the robohashes from the code now.  Then once that is done, Bitsapphire can install it if they wish.  I planned on finishing this out this week, regardless of whether the wallet crashes or not. 

SMF has a hack of a plugin system.  Literally there are just places in the code where you hook into.  You add buttons by regular-expressions, etc.  Things like Drupal etc would likely be much simpler as they're a lot more architected with plugins in mind.

The problem in this thread seemed to disappear, so I am not sure what was going on.

Yup it was pretty fun to do... now I got loginradius who's thinking about integration of bitshares login... talking to CEO, got myself an unlimited development license :P we'll see how it goes.

Idea is that you would install a loginradius plugin for your system (hopefully one for SMF) and off you go.

Yea Drupal is my go to CMS and what I base projects off.  Wordpress is meh.  Problem with Drupal is trying to figure out what version you wish to install... 6,7 or 8. 

SMF literally has you add functions that are called at certain points in the code.  Thats where you modify things.  The registration system is very monolithic.  Long functions that do a ton of things.  If you replace the function you are risking breaking things in security updates or version upgrades.

Yea i ended up supporting both 6 and 7.. drupal 8 is out? I like prestashop, magento and xcart aswell.. i did some other work for prestashop too regarding bitasset price updating its pretty cool to use too.

« Last Edit: March 23, 2015, 08:02:49 pm by jsidhu »
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile

I finished it, then had problems with the wallet crashing.  I think manually unlocking and leaving the wallet unlocked is a better solution which may enable it to work.  I also now need to remove the robohashes from the code now.  Then once that is done, Bitsapphire can install it if they wish.  I planned on finishing this out this week, regardless of whether the wallet crashes or not. 

SMF has a hack of a plugin system.  Literally there are just places in the code where you hook into.  You add buttons by regular-expressions, etc.  Things like Drupal etc would likely be much simpler as they're a lot more architected with plugins in mind.

The problem in this thread seemed to disappear, so I am not sure what was going on.

Yup it was pretty fun to do... now I got loginradius who's thinking about integration of bitshares login... talking to CEO, got myself an unlimited development license :P we'll see how it goes.

Idea is that you would install a loginradius plugin for your system (hopefully one for SMF) and off you go.

Yea Drupal is my go to CMS and what I base projects off.  Wordpress is meh.  Problem with Drupal is trying to figure out what version you wish to install... 6,7 or 8. 

SMF literally has you add functions that are called at certain points in the code.  Thats where you modify things.  The registration system is very monolithic.  Long functions that do a ton of things.  If you replace the function you are risking breaking things in security updates or version upgrades.

I speak for myself and only myself.

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile

I finished it, then had problems with the wallet crashing.  I think manually unlocking and leaving the wallet unlocked is a better solution which may enable it to work.  I also now need to remove the robohashes from the code now.  Then once that is done, Bitsapphire can install it if they wish.  I planned on finishing this out this week, regardless of whether the wallet crashes or not. 

SMF has a hack of a plugin system.  Literally there are just places in the code where you hook into.  You add buttons by regular-expressions, etc.  Things like Drupal etc would likely be much simpler as they're a lot more architected with plugins in mind.

The problem in this thread seemed to disappear, so I am not sure what was going on.

Yup it was pretty fun to do... now I got loginradius who's thinking about integration of bitshares login... talking to CEO, got myself an unlimited development license :P we'll see how it goes.

Idea is that you would install a loginradius plugin for your system (hopefully one for SMF) and off you go.
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile

I finished it, then had problems with the wallet crashing.  I think manually unlocking and leaving the wallet unlocked is a better solution which may enable it to work.  I also now need to remove the robohashes from the code now.  Then once that is done, Bitsapphire can install it if they wish.  I planned on finishing this out this week, regardless of whether the wallet crashes or not. 

SMF has a hack of a plugin system.  Literally there are just places in the code where you hook into.  You add buttons by regular-expressions, etc.  Things like Drupal etc would likely be much simpler as they're a lot more architected with plugins in mind.

The problem in this thread seemed to disappear, so I am not sure what was going on.
I speak for myself and only myself.

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Use bitshares id  login authentication technology has matured or not?
Have you seen my drupal and prestashop demos?

Next step is to include more profile data and also somehow try to see if its possible through a webwallet.. Or if not if its possible to doit in the current browser without opening new one
« Last Edit: March 23, 2015, 05:25:13 am by jsidhu »
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline BunkerChainLabs-DataSecurityNode

Use bitshares id  login authentication technology has matured or not?

With some API programming there is enough existing code to make it happen.

It's ultimately up to the delegate bts:bitsapphire though.. they are the ones that run this forum. So it's up to them to make improvements and upgrades.
+-+-+-+-+-+-+-+-+-+-+
www.Peerplays.com | Decentralized Gaming Built with Graphene - Now with BookiePro and Sweeps!
+-+-+-+-+-+-+-+-+-+-+

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
Use bitshares id  login authentication technology has matured or not?

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Yes it is apache. I use a command lsof to match up open file handles to processes.  There is another problem where the wallet had the ports locked up by the OS after quitting but it isn't the problem.  My problem has only happened once, I just realized how annoying it is because even when I stopped apached the port was not immediately available.  So if the wallet dies and tries to bind to that port and there is this weird race condition where the easybitcoin php lib keeps it from binding... then wallet can never start. THere is also a chance that the options for the socket creation in the wallet constrain it too much. It has to be fixed in php but if there were other suggestions to put in the readme file.. that could be considered a solution, but this is a php project that interacts with RPC and SMF.

I have a list of php options that might would fix it in a different manner, but it really isn't a show stopper.  Just a bit puzzling.  Anyway, it will likely just be made an issue on github and i'll consider it done.
Looks like the cause of your problem is out of my knowledge.. Wish you good luck anyway.
BitShares committee member: abit
BitShares witness: in.abit

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
CURLOPT_LOCALPORT has a random value by default. I checked the easybitcoin code and didn't find the option, so it should be ok.

Are you sure the port is bond by apache, but not the wallet itself (or previous instance of the wallet)? Is the problem only happens when restarting the wallet? In my Linux box, after a wallet quits, the ports will still be unavailable for some time, with some connections remain 'TIME_WAIT' state. You can check it with 'netstat -an | grep YOUR_PORT'. I don't know if it's a bug of the wallet or it's a feature of Linux though (whether the wallet properly closes all connections before quit). If it's a feature of Linux, it's possible to tweak via 'sysctl' utility:
Code: [Select]
sysctl net.ipv4.tcp_tw_reuse = 1
sysctl net.ipv4.tcp_tw_recycle = 1

EDIT:
Be careful while tweaking kernel options. It may cause other problems occasionally.

I do appreciate your indepth checking because I'm a bit of a loss how to fix it properly... but I was thinking this over dinner and I'll probably just leave it alone after recreating it again and making sure.  I need to ask itnom if the wallet will run on the same machine.  I imagine it won't, but I really don't know. 

Yes it is apache. I use a command lsof to match up open file handles to processes.  There is another problem where the wallet had the ports locked up by the OS after quitting but it isn't the problem.  My problem has only happened once, I just realized how annoying it is because even when I stopped apached the port was not immediately available.  So if the wallet dies and tries to bind to that port and there is this weird race condition where the easybitcoin php lib keeps it from binding... then wallet can never start. THere is also a chance that the options for the socket creation in the wallet constrain it too much. It has to be fixed in php but if there were other suggestions to put in the readme file.. that could be considered a solution, but this is a php project that interacts with RPC and SMF.

I have a list of php options that might would fix it in a different manner, but it really isn't a show stopper.  Just a bit puzzling.  Anyway, it will likely just be made an issue on github and i'll consider it done.
« Last Edit: January 24, 2015, 04:49:50 am by gamey »
I speak for myself and only myself.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
CURLOPT_LOCALPORT has a random value by default. I checked the easybitcoin code and didn't find the option, so it should be ok.

Are you sure the port is bond by apache, but not the wallet itself (or previous instance of the wallet)? Is the problem only happens when restarting the wallet? In my Linux box, after a wallet quits, the ports will still be unavailable for some time (2 minutes by default), with some connections remain 'TIME_WAIT' state. You can check it with 'netstat -an | grep YOUR_PORT'. I don't know if it's a bug of the wallet or it's a feature of Linux though (whether the wallet properly closes all connections before quit). If it's a feature of Linux, it's possible to tweak via 'sysctl' utility:
Code: [Select]
sysctl net.ipv4.tcp_tw_reuse = 1
sysctl net.ipv4.tcp_tw_recycle = 1

EDIT:
Be careful while tweaking kernel options. It may cause other problems occasionally.

EDIT again:
If you have iptables/netfilter loaded into the kernel, you may have interest to try:
Code: [Select]
sysctl net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 1
It means every connection will stay in 'TIME_WAIT' state for only one second. Again, be careful.

Another solution could be wait for 2 minutes after the wallet quits, before a restart.
Or change the listening port number every time (and let the php program know it).

BTW does anybody know whether it's necessary for the wallet to check connections in TIME_WAIT state before bind/listen to the port?
« Last Edit: January 24, 2015, 04:56:05 am by abit »
BitShares committee member: abit
BitShares witness: in.abit