ssh-agent-pkcs11
whoami.filippo.io
ssh-agent-pkcs11 | whoami.filippo.io | |
---|---|---|
1 | 6 | |
5 | 2,174 | |
- | - | |
10.0 | 0.0 | |
almost 5 years ago | over 1 year ago | |
C | Go | |
- | ISC 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.
ssh-agent-pkcs11
-
It's Now Possible to Sign Arbitrary Data with Your SSH Keys
It hasn't been able to do it in a meaningful way.
I've been patching support for this into ssh-agent for about a decade. I wrote a PKCS#11 module which talks to the SSH agent socket to forward your smartcard [0]. Doing so requires three changes to the protocol:
1. The ability to sign arbitrary data and get back the signed result [1]; normally you get back a hashed result [2].
2. The ability to decrypt data, this is what you said. This is less important since many things only require signatures (and not all algorithms support encryption/decryption).
3. The ability to request your certificates [3] [4] this one is kinda obvious.
The benefits of this are that you can use your smartcard on the remote host to do fully authenticated password-less sudo with pam_pkcs11. You can also do anything else that requires you to use your private key to be used, which can include fetching files (TLS client certificate authentication).
Within the US Government, passwords have been being phased out since 2004, but the requirements for authenticated privilege elevation remain.
Another way to accomplish this is to use SSH forwarding of your PC/SC socket but that's less portable and more fragile (and even less secure).
[0] https://github.com/rkeene/ssh-agent-pkcs11
[1] https://cackey.rkeene.org/fossil/artifact/0d0e90bbfdee672c?l...
[2] https://datatracker.ietf.org/doc/html/draft-miller-ssh-agent...
[3] https://cackey.rkeene.org/fossil/artifact/0d0e90bbfdee672c?l...
[4] https://datatracker.ietf.org/doc/html/rfc6187#section-2.1
whoami.filippo.io
-
Show HN: Shhhbb, an SSH BBS
For a little more context and a PoC illustrating the matter: https://github.com/FiloSottile/whoami.filippo.io?ref=words.f...
-
SSH Whoami.filippo.io
| https://github.com/FiloSottile/whoami.filippo.io |
-
Charm – tools to make the command line glamorous
Ah, good, thanks. Unfortunately, whoami.filippo.io is not resolving.
https://words.filippo.io/ssh-whoami-filippo-io/ and https://github.com/FiloSottile/whoami.filippo.io are useful. It suggests also adding the option IdentitiesOnly yes.
- Apply for a job via SSH – $ ssh jobs.hackclub.com
- It's Now Possible to Sign Arbitrary Data with Your SSH Keys
- ssh whoami.filippo.io
What are some alternatives?
age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
wetty - Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)
trezor-agent - Hardware-based SSH/GPG/age agent
questionary - Python library to build pretty command line user prompts ✨Easy to use multi-select lists, confirmations, free text prompts ...
rage - A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
shhhbb - bbs based on SSH
git-crypt - Transparent file encryption in git
rekor - Software Supply Chain Transparency Log
sops - Simple and flexible tool for managing secrets
skate - A personal key value store 🛼
stakesign - Sign files via blockchain + put your money where your mouth is
gitkeys - track and archive ssh keys from different git repo sites, local-first, within your own local transparency log, see https://paepcke.de/keys (app/lib/api)