Skip to content

The script checks if a YubiKey is connected, configuring its SSH key and adding it to the SSH agent. If not detected, it prompts for insertion and includes a bypass placeholder. It also removes Chrome policies from user-specific ($HOME/.config) and system-wide directories (/etc/opt/chrome).

Notifications You must be signed in to change notification settings

SleepTheGod/YubiKeyPolicyBypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

YubiKeyPolicyBypass

This script checks if a YubiKey is connected and configures the associated SSH key, adding it to the SSH agent. If no YubiKey is detected, the script prompts for insertion and includes a bypass placeholder. It also removes Chrome policies from both user-specific directories ($HOME/.config) and system-wide directories (/etc/opt/chrome).

Usage: Supports Linux environments.

Clone the repository git clone https://github.com/SleepTheGod/YubiKeyPolicyBypass

Navigate to the directory cd YubiKeyPolicyBypass

Make the script executable chmod +x main.sh && chmod +x main2.sh

Execute the script ./main.sh; ./main2.sh;

About

The script checks if a YubiKey is connected, configuring its SSH key and adding it to the SSH agent. If not detected, it prompts for insertion and includes a bypass placeholder. It also removes Chrome policies from user-specific ($HOME/.config) and system-wide directories (/etc/opt/chrome).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages