matthew / ConfigProvider.php
0 likes
0 forks
4 files
Last active 10 months ago
An example of attaching a delegator factory to the Mezzio RouteCollectorInterface to automate route registration.
| 1 | <?php |
| 2 | |
| 3 | namespace SomeModule; |
| 4 | |
| 5 | use Laminas\Stdlib\ArrayUtils\MergeRemoveKey; |
| 6 | use Mezzio\Router\RouteCollectorInterface; |
| 7 | |
| 8 | class ConfigProvider |
| 9 | { |
| 10 | public function __invoke(): array |
matthew / Yubikey all the things
0 likes
0 forks
1 files
Last active 2 months ago
Notes from my journey to getting Yubikey to authenticate everything on my system.
U2F for login and sudo access
I followed this guide: https://support.yubico.com/s/article/Ubuntu-Linux-login-guide-U2F
For step 3, I only did the user-specific pamu2fcfg setup; I did not put it at the system level.
This makes the $HOME partition portable, and allows different users on the system to require U2F and/or use different keys.
Challenge-Response auth with YubiKey
When I originally purchased my key, and for four years thereafter, I used the challenge-response feature for restricting user authentication and sudo access.
Newer
Older