A webauthn plugin for cockpit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Philipa e5aef66d05
remove more code
1 year ago
vendor Add dependency 1 year ago
views Reduced required code 1 year ago
.gitignore Add dependency 1 year ago
README.md remove more code 1 year ago
admin.php remove more code 1 year ago
bootstrap.php Add code to add webauthn devices 1 year ago
composer.json Add dependencies 1 year ago
composer.lock Add dependency 1 year ago



webauthn plguin for cockpit based on https://github.com/agentejo/2FA

This is work in progress and should not be used in production


  • Execute git clone https://codeberg.org/_laphilipa/cockpit-webauthn.git webauthn in your cockpit installations addon directory.
  • If it does not work try setting your site_url explicitly in the cockpit configuration in the form site_url: https://yoursite.fr. The browser validates that the request comes from the correct domain to prevent phishing but the server needs to know what the correct domain is and it won't know if it's behind a reverse proxy.

Install dependencies

  • composer install
  • rm -rf vendor/lbuchs/webauthn (Include all dependencies in git to 1. eliminate vendor cahin attacks 2. keep it installable by cloning this repo)