SQRL (pronounced "squirrel") or Secure, Quick, Reliable Login (formerly Secure QR Login) is a draft open standard for secure website login and authentication. The software typically uses a link of the scheme sqrl:// or optionally a QR code, where a user identifies via a pseudonymous zero-knowledge proof rather than providing a user ID and password. This method is thought to be impervious to a brute force password attack or data breach. It shifts the burden of security away from the party requesting the authentication and closer to the operating system implementation of what is possible on the hardware, as well as to the user. SQRL was proposed by Steve Gibson of Gibson Research Corporation in October 2013 as a way to simplify the process of authentication without the risk of revelation of information about the transaction to a third party.
|Original author(s)||Steve Gibson|
|Available in||56 languages|
|Type||secure website login and authentication|
The acronym SQRL was coined by Steve Gibson and the protocol drafted, discussed and analyzed in-depth, by himself and a community of Internet security enthusiasts on the news.grc.com newsgroups and during his weekly podcast, Security Now!, on October 2, 2013. Within two days of the airing of this podcast, the W3C expressed interest in working on the standard.
A thesis on SQRL analyzed and found that "it appears to be an interesting approach, both in terms of the envisioned user experience as well as the underlying cryptography. SQRL is mostly combining well established cryptography in a novel way."
The protocol is an answer to a problem of identity fragmentation. It improves on protocols such as OAuth and OpenID by not requiring a third party to broker the transaction, and by not giving a server any secrets to protect, such as username and password.
Additionally, it provides a standard that can be freely used to simplify the login processes available to password manager applications. More importantly, the standard is open so no one company can benefit from owning the technology. According to Gibson's website, such a robust technology should be in the public domain so the security and cryptography can be verified, and not deliberately restricted for commercial or other reasons.
Example use caseEdit
For the protocol to be used on a website, two components are necessary: an implementation, that is part of the web service to which the implementation authenticates, which displays a QR code or specially crafted URL according to the specifications of the protocol, and a browser plugin or a mobile application, which can read this code in order to provide secure authentication.
The SQRL client uses one-way functions and the user's single master password to decrypt a secret master key, from which it generates – in combination with the site domain name and optionally an additional sub-site identifier: e.g., example.com, or example.edu/chessclub – a (sub-)site-specific public/private key pair. It signs the transaction tokens with the private key and gives the public key to the site, so it can verify the encrypted data.
There are no "shared secrets" which a compromise of the site could expose to allow attacks on accounts at other sites. The only thing a successful attacker could get, the public key, would be limited to verifying signatures that are only used at the same site. Even though the user unlocks the master key with a single password, it never leaves the SQRL client; the individual sites do not receive any information from the SQRL process that could be used at any other site.
A number of proof-of-concept implementations have been made for various platforms, including for the server (PHP, Drupal, and C# .NET) and for the client (Android, C# .Net, Java, and Python). There are also various server-end test and debugging sites available.
Steve Gibson states that SQRL is "open and free, as it should be", and that the solution is "unencumbered by patents". After SQRL brought a lot of attention to QR-code-based authentication mechanisms, the suggested protocol was said by blogger Michael Beiter to have been patented earlier and thus not generally available for royalty-free use.[non-primary source needed] The patent in question (not expiring until 2030) was applied for by and granted to Spanish company GMV Soluciones Globales Internet SA (a division of the Madrid-based technology and aerospace corporation GMV Innovating Solutions), between 2008 and 2012 by the patent offices of the United States, the European Union, Spain, and Portugal. Gibson responded: "What those guys are doing as described in that patent is completely different from the way SQRL operates, so there would be no conflict between SQRL and their patent. Superficially, anything that uses a 2D code for authentication seems 'similar' ... and superficially all such solutions are. But the details matter, and the way SQRL operates is entirely different in the details."
- "SQRL Translations". CrowdIn.com. Retrieved July 16, 2015.
- Gibson, Steve (2020). "Secure Quick Reliable Login: A highly secure, comprehensive, easy-to-use replacement for usernames, passwords, reminders, one-time-code authenticators ... and everything else". GRC.com. Gibson Research Corporation. Retrieved March 7, 2021.
Open & free, as it should be: The component techniques and technologies employed by this solution are all well known, well tested, well understood, unencumbered by patents, and exist in the public domain. ... With this publication of every detail, I hereby release and disclaim any and all proprietary rights to any new ideas developed and presented herein. This work is thereby added to the public domain.
- Gibson, Steve (October 9, 2013). "SQRL Q&A #176 (Transcript)". Security Now!. Gibson Research Corporation. Retrieved October 16, 2013 – via GRC.com.
- Maddox, Ian; Moschetto, Kyle (2019). "Modern Password Security for System Designers" (PDF). Cloud.Google.com. Google. Retrieved March 7, 2021.
- Babioch, Karol (May 15, 2014). Kittel, Thomas (ed.). Security Analysis and Implementation of the SQRL Authentication Scheme (BSc). IT Security, Department of Informatics, Technical University of Munich. Archived from the original on March 5, 2016. Retrieved March 18, 2015. English-language abstract; full text of original German paper, "Sicherheitsanalyse und Implementierung des Authentifikationsverfahrens SQRL", does not appear to be available.
- Gibson, Steve (2014). "Revolutionizing Website Login and Authentication with SQRL". DigiCert Security Summit. Retrieved March 7, 2021 – via Vimeo.
- Gibson, Steve (December 6, 201). "How SQRL Can Thwart Phishing Attacks". GRC.com. Gibson Research Corporation. Retrieved March 7, 2021.
- "trianglman/sqrl". January 9, 2021 – via GitHub.
- "Secure QR Login". Drupal.org. October 4, 2013.
- "jestin/SqrlNet". April 9, 2020 – via GitHub.
- "TechLiam/SQRL-For-Dot-Net-Standard". November 1, 2020 – via GitHub.
- "geir54/android-sqrl". January 25, 2021 – via GitHub.
- Sylvester, Paul (December 25, 2014). "SQRL implementations on Android and it works!". Paul's Tech Talk. Archived from the original on April 2, 2015. Retrieved March 17, 2015.
- https://play.google.com/store/apps/details?id=net.vrallev.android.sqrl[dead link]
- "TheBigS/SQRL · GitHub". Archived from the original on 2015-03-17.
- "bushxnyc/sqrl". September 2, 2020 – via GitHub.
- "GRC | SQRL Secure Quick Reliable Login Demonstration". www.grc.com.
- "GRC | SQRL Secure Quick Reliable Login Diagnostic". www.grc.com.
- Beiter, Michael (October 4, 2013). "Steve Gibson's SQRL Is Not Really New". Retrieved May 12, 2014.
- US patent 8261089B2, Leon Cobos, Juan Jesús & Celis de la Hoz, Pedro, "Method and system for authenticating a user by means of a mobile device", issued September 4, 2012, assigned to GMV Soluciones Globales Internet SA
- Gibson, Steve (2020). "Other Work Related to QR Code Login". GRC.com. Gibson Research Corporation. Retrieved 22 September 2015.
- SQRL homepage at GRC.com
- Brinkmann, Martin (October 9, 2013). "How SQRL may improve the website login and authentication process". GHacks.net. Retrieved March 7, 2021.
- Lambert, Patrick (2013). "SQRL: A new method of authentication with QR codes". Tech Republic. Retrieved March 7, 2021.
- Holmlund, Daniel (January 3, 2014). "Authentication Without Passwords Implementing SQRL". 2014 HTML5 Developer Developer Conference. Silicon Valley International Game Developers Association. Retrieved March 8, 2021 – via YouTube.