Bitcoin Forum
May 28, 2024, 01:52:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Scan QR to Login  (Read 1196 times)
bredy (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 01, 2015, 09:52:08 PM
 #1

https://qrlogin.novacisko.cz/img/qrlogofb.png

QRlogin:

The brand new way to identify the user. The user have to simply scan QR code by his smart-phone and after a few seconds he is identified. This system can replace traditional username+password identification. It is also more secure, than password. Very fast for tablets or devices without a physical keyword (tablet+phone)

https://qrlogin.novacisko.cz

Main features

 * Secure way to identify the user
 * Built on Bitcoin cryptographic libraries. The identity is actually a bitcoin address
 * The private key is stored in the handheld device, never leaves the device unless the user requests.
 * Each site have separate identity and the private key
 * Easy to use: The user just scan the QR code using the ordinary QR scanner
 * No special application needed: Just QR scanner and standard browser
 * It should work on all platforms (Android+iOS+Win)
 * It uses OAuth 2.0 protocol. It should be easy to integrate QRlogin to any internet site that already integrates Google/Facebook login
 * Project is complete open-source hosted on github: https://github.com/ondra-novak/qrlogin
 * Because there is no extra application needed, every site can have its own server built from the sources. Users still using their QR scanner regardless on where is (on which URL) is authorization service located. Keys of each service are isolated from others inside of the handheld device (it is generic feature of localstorage of the browser)
 * The user can backup and restore his keys. Keys can be also transfered from one device to another without participation of the server (scanning the QR code)

Please leave any criticism or ideas below.
Skunk Fu
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 03, 2015, 06:46:57 PM
 #2

https://qrlogin.novacisko.cz/img/qrlogofb.png

QRlogin:

The brand new way to identify the user. The user have to simply scan QR code by his smart-phone and after a few seconds he is identified. This system can replace traditional username+password identification. It is also more secure, than password. Very fast for tablets or devices without a physical keyword (tablet+phone)

https://qrlogin.novacisko.cz

Main features

 * Secure way to identify the user
 * Built on Bitcoin cryptographic libraries. The identity is actually a bitcoin address
 * The private key is stored in the handheld device, never leaves the device unless the user requests.
 * Each site have separate identity and the private key
 * Easy to use: The user just scan the QR code using the ordinary QR scanner
 * No special application needed: Just QR scanner and standard browser
 * It should work on all platforms (Android+iOS+Win)
 * It uses OAuth 2.0 protocol. It should be easy to integrate QRlogin to any internet site that already integrates Google/Facebook login
 * Project is complete open-source hosted on github: https://github.com/ondra-novak/qrlogin
 * Because there is no extra application needed, every site can have its own server built from the sources. Users still using their QR scanner regardless on where is (on which URL) is authorization service located. Keys of each service are isolated from others inside of the handheld device (it is generic feature of localstorage of the browser)
 * The user can backup and restore his keys. Keys can be also transfered from one device to another without participation of the server (scanning the QR code)

Please leave any criticism or ideas below.

Sorry, I don't understand how this works.

You go to login page,
Click on login with QR,
A QR appears on your monitor,
You scan it with you phone....

How does it confirm with the server?
NyeFe
Hero Member
*****
Offline Offline

Activity: 699
Merit: 500


View Profile
May 03, 2015, 08:54:49 PM
 #3

Clef would more attractive for business applications https://getclef.com same method, thought with 62+ thousand organisations using it with their users

MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
PremiumCodeX
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 531


Metaverse 👾 Cyberweapons


View Profile
May 03, 2015, 09:19:20 PM
 #4

Useful code and thank you for sharing it us! Since anyone can read its source code, actually I have only one question about the project. Although I haven't fully explored your whole project yet, I wonder how is it better than the other similar projects out there?

Clef would more attractive for business applications https://getclef.com same method, thought with 62+ thousand organisations using it with their users

I can recommend the same, though. An organisation I was into was using Clef and users were satisfied with it.

[TUTORIAL] How to steal $350 000?
Best OS for recovering stolen BTCs.
Visit our FREE Bitcointalk thread.
Kprawn
Legendary
*
Offline Offline

Activity: 1904
Merit: 1073


View Profile
May 04, 2015, 06:58:17 AM
 #5

This is not criticism, I would rather ask some questions to get clarity on the whole concept.

1. What stops other people to use your QR Code? { Or is this randomly created everytime you login? }
2. Do you retrieve a single QR Code from a central online server to enable you to login. {External site?}
3. Is this for login into web sites on the internet, or for a alternative authentication for your notebook etc...
4. How is this protected? {Malware / Trojan Horse} The QR code send, could be intercepted by a hacker. {spoofed}

It's a viable option for lazy people, if it can be secured, but I would not trust a external 3rd party to have access to all my QR codes for every site I access.

Or is this a App running on each site, that generate a QR code as a alternative to the conventional username and password?

THE FIRST DECENTRALIZED & PLAYER-OWNED CASINO
.EARNBET..EARN BITCOIN: DIVIDENDS
FOR-LIFETIME & MUCH MORE.
. BET WITH: BTCETHEOSLTCBCHWAXXRPBNB
.JOIN US: GITLABTWITTERTELEGRAM
MrDjAK
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
May 06, 2015, 06:14:43 AM
 #6

Look nice
btchip
Hero Member
*****
Offline Offline

Activity: 623
Merit: 500

CTO, Ledger


View Profile WWW
May 06, 2015, 01:04:51 PM
 #7

Clef would more attractive for business applications https://getclef.com same method, thought with 62+ thousand organisations using it with their users

People concerned about security should stay the hell away from proprietary solutions, especially in Bitcoin space.


PremiumCodeX
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 531


Metaverse 👾 Cyberweapons


View Profile
May 06, 2015, 01:36:51 PM
 #8

This is not criticism, I would rather ask some questions to get clarity on the whole concept.

1. What stops other people to use your QR Code? { Or is this randomly created everytime you login? }
2. Do you retrieve a single QR Code from a central online server to enable you to login. {External site?}
3. Is this for login into web sites on the internet, or for a alternative authentication for your notebook etc...
4. How is this protected? {Malware / Trojan Horse} The QR code send, could be intercepted by a hacker. {spoofed}

It's a viable option for lazy people, if it can be secured, but I would not trust a external 3rd party to have access to all my QR codes for every site I access.

Or is this a App running on each site, that generate a QR code as a alternative to the conventional username and password?


I am interested in the same summary as well and in addition how is my question about why is it better / other than other similar projects?

Clef would more attractive for business applications https://getclef.com same method, thought with 62+ thousand organisations using it with their users

People concerned about security should stay the hell away from proprietary solutions, especially in Bitcoin space.



Even though the organisation I said did not experience problems used Clef, the same general wisdom you said was one of the reason it has switched to another solution.

[TUTORIAL] How to steal $350 000?
Best OS for recovering stolen BTCs.
Visit our FREE Bitcointalk thread.
bredy (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 06, 2015, 06:06:21 PM
 #9

https://youtu.be/GoSdT2UoCl4
bredy (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 06, 2015, 06:25:55 PM
Last edit: May 06, 2015, 07:22:55 PM by bredy
 #10

This is not criticism, I would rather ask some questions to get clarity on the whole concept.

1. What stops other people to use your QR Code? { Or is this randomly created everytime you login? }
2. Do you retrieve a single QR Code from a central online server to enable you to login. {External site?}
3. Is this for login into web sites on the internet, or for a alternative authentication for your notebook etc...
4. How is this protected? {Malware / Trojan Horse} The QR code send, could be intercepted by a hacker. {spoofed}

It's a viable option for lazy people, if it can be secured, but I would not trust a external 3rd party to have access to all my QR codes for every site I access.

Or is this a App running on each site, that generate a QR code as a alternative to the conventional username and password?

1. QR codes are random for every login. QR code contains "challenge". There is an private key in your device (a smartphone) stored. The private key is generated (randomly) at the first time you use the QR Login for particular site. Every site has different key.

2. The QR code (challenge) is generated by javascript using secure random number generator
3. It is for login into the web sites, similar service as OpenID, Facebook login, Google login, etc.
4. There is a private key and the corresponding public key. The private key is stored in your device and should never leave it (unless you explicitly want). The application (downloaded from the qrlogin site as html+js) uses the private key to sign challenge. Then the signature is transfered to the "auth" site an then through the redirect to the service provider. The service provider can calculate the public key from the signature or it can use standard OAuth 2.0 token exchange to retrieve the public key (Public key is then transformed to the bitcoin address, which can be used as an unique user's ID). The service provider can use both ways to receive the public key to ensure, that signer posses the correct private key.

You can object, that qrlogin site is in my possession, so I can modify it to track and store all private keys for evil purposes. But you still have the option to run own site, because source code of qrlogin is open source under the MIT licence hosted on the GitHub. See the link above (in OP).


s2
Full Member
***
Offline Offline

Activity: 198
Merit: 123


View Profile
May 07, 2015, 01:52:43 PM
 #11

Excellent work and great sharing it up.  I was thinking about writing something like this before as I'm on a mission to never use passwords since people never remember them or use unsafe ones anyhow.
Jeremycoin
Legendary
*
Offline Offline

Activity: 1022
Merit: 1003


𝓗𝓞𝓓𝓛


View Profile
May 07, 2015, 03:24:34 PM
 #12

I have a question, how if someone lost his phone? Is there any other way to restore the QR Login for reuse.

faucet used to be profitable
bredy (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 07, 2015, 06:15:15 PM
 #13

I have a question, how if someone lost his phone? Is there any other way to restore the QR Login for reuse.

Recently "backup" feature has been introduced  (in v1.1).

https://youtu.be/x3AOj-iXQzY (backup)
https://youtu.be/UdKR2dzhbRw (restore)

You can turn on subtitles for translation of the labels. The current version already has labels translated.



In the development branch, there is already prepared a feature "print key" that will allow you to print your key as QR code (like a paper wallet) using the printer connected to  your personal computer (no cable needed, just internet, browser and QR scanner). The key is always transferred in encrypted form using 8000 cycles of HMAC-SHA256 of your password and AES. You don't need to remember the password, it can be written at the paper with the printed QR code (by hand) and the paper hidden in a safe place. Encryption is added to protect the key during the transfer.

The print key feature is targeted to next release (v1.2) - it will be release very soon.
bredy (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 08, 2015, 12:22:38 AM
 #14

Site https://qrlogin.novacisko.cz updated (if you see old version, try Shift+Reload, or Ctrl+R)

Visible changes are on auth page.

You can now print key as QR code. Go to manage keys, choose backup key. After backup is ready, a pop-up will appear where you can choose print or save the key.
bredy (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 08, 2015, 12:28:22 AM
 #15

For testing on a real example, please visit and register on http://forum.novacisko.cz. There is a fresh phpBB forum installed for testing. After registration, you will be able to link your phone with a phpbb account. Note that phpbb cannot link more then one device with the account. This is not QRlogin issue.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!