• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress

With WSL Hello sudo, you can use Windows Hello in Windows Subsystem for Linux

March 6, 2021 by justin26

WSL Hello sudo

Microsoft greatly simplified the user login and authentication process with the introduction of Windows Hello. The biometric security system for Windows 10 means laboriously typing out passwords has been replaced with facial or fingerprint recognition.

Taking this idea to the next level is a great open source Rust-based utility called WSL Hello sudo. This is a pluggable authentication module (PAM) that makes it possible to use Windows Hello authentication in Windows Subsystem for Linux.

WSL Hello sudo is compatible with both WSL 1 and WSL 2, and it helps to eliminate the need for time consuming, password-based authentication when running sudo commands with elevated privileges.

The idea is very simple. Just as Windows Hello replaces the need to type a password with recognition of your fingerprint or recognition of your face, so WSL Hello sudo does the same for WSL. The developers of the module explain how it works:

Windows Hello maintains RSA key-pairs for each Windows user in its TPM hardware, and tells success of authentication by signing given contents by the private key. To utilize its API, “WSL Hello sudo” contains small Windows CLI apps that return public key and singned signature of given content. On the other hand, the PAM module of “WSL Hello sudo” remembers the public keys of each Windows user who corresponds to each Linux user. So, the PAM module authenticates the given Linux user by the following process.

  1. The PAM module is launched by sudo and receives a Linux user to be authenticated
  2. The PAM module launches the companion Windows app and sends a random value via WSL’s interop bridge
  3. The companion Windows app invokes Windows Hello
  4. Windows Hello makes a signature of the given input by the private key of the current Windows user
  5. The companion Windows app returns the signature
  6. The PAM module verifies the signature by the public key of the Windows user who corresponds to the given Linux user.

If you are concerned about this level of interaction with your system, you can take comfort from the fact the software is open source, so its source code is freely available and open to scrutiny.

You can grab WSL Hello sudo from its home over on GitHub

Original Article

Related posts:

  1. WSL Hello sudo brings Windows Hello authentication to Windows Subsystem for Linux
  2. The ultimate guide to fixing problems with the May 2020 Update
  3. What is Windows Subsystem for Linux 2?
  4. These are all the Windows 10 keyboard shortcuts you need to know
  5. Forgot Linux Password on WSL? Here’s How to Reset it Easily
  6. How Does the Windows 10 Subsystem for Linux Work and What Is It For?
  7. 20+ Free Books To Learn Linux For Free
  8. Running out of storage? Try these tips to free up space on Windows 10
  9. 20+ Free eBooks To Learn Linux For Free
  10. Install Windows Subsystem for Linux with a single command

Filed Under: Windows

Primary Sidebar

Trending

  • How to fix Windows Update Error 80244019
  • Windows 10 Update keeps failing with error 0x8007001f – 0x20006
  • How To Change Netflix Download Location In Windows 10
  • Troubleshoot Outlook “Not implemented” Unable to Send Email Error
  • How do I enable or disable Alt Gr key on Windows 10 keyboard
  • How To Install Android App APK on Samsung Tizen OS Device
  • 3 Ways To Open PST File Without Office Outlook In Windows 10
  • FIX: Windows Update error 0x800f0986
  • How to Retrieve Deleted Messages on Snapchat
  • Latest Samsung Galaxy Note 20 leak is a spec dump revealing key features
  • Install Android 7.0 Nougat ROM on Galaxy Core 2 SM-G355H
  • 192.168.1.1 Login, Admin Page, Username, Password | Wireless Router Settings
  • Websites to Watch Movies Online – 10+ Best Websites Without SignUp/Downloading
  • How to Backup SMS Messages on Your Android Smartphone
  • How to delete a blank page at the end of a Microsoft Word document
  • Fix: The Disc Image File Is Corrupted Error In Windows 10
  • Android 11 Custom ROM List – Unofficially Update Your Android Phone!
  • Samsung Galaxy Z Fold 3 could be scheduled for June 2021, with S Pen support

Footer

Tags

Amazon amazon prime amazon prime video Apple Application software epic games Galaxy Note 20 Galaxy S22 Plus Galaxy S22 Ultra Google Sheets headphones Huawei icloud Instagram instant gaming ip address iPhone iphone 12 iphone 13 iphone 13 pro max macOS Microsoft Microsoft Edge Mobile app office 365 outlook Pixel 6 Samsung Galaxy Samsung Galaxy Book 2 Pro 360 Samsung Galaxy Tab S8 Smartphone speedtest speed test teams tiktok Twitter vpn WhatsApp whatsapp web Windows 10 Windows 11 Changes Windows 11 Release Windows 11 Update Windows Subsystem For Android Windows 11 Xiaomi

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org