dotfiles.nix
sekey
dotfiles.nix | sekey | |
---|---|---|
1 | 4 | |
6 | 2,429 | |
- | 0.4% | |
8.5 | 0.0 | |
6 days ago | over 1 year ago | |
Nix | Rust | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles.nix
-
Use TouchID to Authenticate Sudo on macOS
nix-darwin currently does not support that directly, but there is an open PR to fix that. For my dotfiles, I added the module from the PR with some slight modifications. You can find the code below.
https://github.com/shinzui/dotfiles.nix/blob/master/modules/...
sekey
- Use TouchID to Authenticate Sudo on macOS
-
Apple/Google/Microsoft to accelerate rollout of passwordless sign‑in standard
> relaying auth requests to your phone for approval and storing secrets in the Secure Enclave
Like https://github.com/kryptco/kr [key stored in a [...] mobile app]?
Also, newer Macs have a Secure Enclave (supports 256-bit secp256r1 ECC keys):
https://github.com/maxgoedjen/secretive [storing and managing SSH keys in the Secure Enclave [...] or a Smart Card (such as a YubiKey)]
https://github.com/sekey/sekey [Use Touch ID / Secure Enclave for SSH Authentication!]
- Use Touch ID for Sudo on Mac
-
How often should I rotate my SSH keys?
Similar to the recommendations to use a YubiKey/hardware token, SeKey on a Mac lets you use a key generated in the Secure Enclave in an unexportable form (https://github.com/sekey/sekey)
What are some alternatives?
pam_wtid - Patch for Apple's pam_tid PAM Touch ID module to add sudo watch authentication
secretive - Store SSH keys in the Secure Enclave
pam-watchid - PAM plugin module that allows the Apple Watch to be used for authentication
WSL-Hello-sudo - Let's sudo by face recognition of Windows Hello on Windows Subsystem for Linux (WSL). It runs on both WSL 1 and WSL 2. This is a PAM module for Linux on WSL.
openssh-sk-winhello - A helper for OpenSSH to interact with FIDO2 and U2F security keys through native Windows Hello API
toucli - Use TouchID and the Secure Enclave to encrypt data from the commandline.
pamgpgr
sudo-touchid - A fork of `sudo` with Touch ID support.
WinCryptSSHAgent - Using a Yubikey for SSH Authentication on Windows Seamlessly
webauthn - Web Authentication: An API for accessing Public Key Credentials