yubikey-agent
yubage
Our great sponsors
yubikey-agent | yubage | |
---|---|---|
15 | 2 | |
2,551 | 25 | |
- | - | |
0.0 | 0.0 | |
4 months ago | about 3 years ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
yubikey-agent
-
Show HN: SSH-tpm-agent – SSH agent for TPMs
This is a great idea. I now exclusively use SSH keys on hardware security modules of some kind. I use "Secretive", a mac app that does the same, plus a yubikey using yubikey-agent (https://github.com/FiloSottile/yubikey-agent; there are too many complicated ways to use SSH keys with a yubikey this is one of the friendliest ones). Depending on the security and frequency of which I access the service impacts whether I need presence confirmation or use secretive versus the yubikey.
I would be remiss to mention there are existing SSH TPM projects, not sure how this one differentiates. It seems to at least have the user experience pretty simple, similar to yubikey-agent (and secretive), and unlike some of the existing solutions which have quite a few extra steps:
-
Secretive: Store SSH Keys in the Secure Enclave
Also check out https://github.com/FiloSottile/yubikey-agent which simplifies the setup quite a bit.
-
Am I the only one who's nervous when SSH-agent forwarding?
I have the same concern. I modified Pageant (Windows agent) so that it prompts me before signing anything which helps ease my mind, I only approve when I know I'm connecting to a new server. There are also options like requiring a Yubikey too (https://github.com/FiloSottile/yubikey-agent)
-
Failed to fetch key with ECDSA keys via libykcs11.dll
Aging MBP, Intel based, Monterey 12.3.1 uname -v Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 brew info yubikey-agent yubikey-agent: stable 0.1.5 (bottled), HEAD Seamless ssh-agent for YubiKeys and other PIV tokens https://filippo.io/yubikey-agent /usr/local/Cellar/yubikey-agent/0.1.5 (7 files, 4.8MB) * ...
for ssh-keygen -D /path/libykcs11.2.3.0.dylib I get a bunch of "unknown certificate key type"/"failed to fetch key" messsages and info about a ssh-rsa Public key for PIV Attestation, no mentioning of my ECC key. Use a different SSH agent. For a test I recommend you try https://filippo.io/yubikey-agent on a Mac (install it from homebrew), it works perfectly for me. Just remember it reads the key only from slot 9a and none other (unless you change source and recompile).
-
How to Store an SSH Key on a Yubikey
Unless I've missed something, SSH keys stored on Yubikeys are still hampered because you aren't allowed to a touch policy of "touch never".
Imagine needing to touch the Yubikey with each "git pull" or using Ansible to operate over SSH on a dozen servers in parallel, and needing to touch the Yubikey once for each server.
The feature request I'm tracking is here: https://github.com/FiloSottile/yubikey-agent/issues/95
The proposed feature would allow setting a touch policy for the SSH key.
- FreeBSD SSH Hardening
-
Yubikey PIV encrypted messaging system
If you can do ssh, you can sign messages: https://github.com/FiloSottile/yubikey-agent
-
Question: unplugging security key during SSH session
use yubikey-agent
yubage
- It's Now Possible to Sign Arbitrary Data with Your SSH Keys
-
Yubikey PIV encrypted messaging system
age also has a notion of plugins, one of which is age-plugin-yubikey (written in Rust, there is also yubage written in Go) which allows you to create an age identity whose private key is stored via PIV.
What are some alternatives?
aws-vault - A vault for securely storing and accessing AWS credentials in development environments
wsl-ssh-agent - Helper to interface with Windows ssh-agent.exe service from Windows Subsystem for Linux (WSL)
authelia - The Single Sign-On Multi-Factor portal for web apps
age-plugin-yubikey - YubiKey plugin for age
win-gpg-agent - [DEPRECATED] Windows helpers for GnuPG tools suite
ssh-audit - SSH server & client security auditing (banner, key exchange, encryption, mac, compression, compatibility, security, etc)
piv-agent - An SSH and GPG agent which you can use with your PIV hardware security device (e.g. a Yubikey).
WinCryptSSHAgent - Using a Yubikey for SSH Authentication on Windows Seamlessly
git-crypt - Transparent file encryption in git
mfsbsd - mfsBSD
solo1 - Solo 1 firmware in C
tarsnap - Command-line client code for Tarsnap.