Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for proxying access to smartcards using p11-kit and SSH socket forwarding #135

Open
catfish4254 opened this issue Jul 16, 2024 · 2 comments

Comments

@catfish4254
Copy link

Support for proxying access to smartcards. However, this requires presence of p11-kit and SSH socket forwarding support on the
client side. Needed for PKINIT enforcement in-order for AD users to be issue PKINIT Kerberos TGT from a FreeIPA realm in a remote connection scenario. The ssh connection is initiated from PuttyCaC to a RHEL workstation.

p11-kit:
https://www.redhat.com/en/blog/smart-card-forwarding-fedora

Windows builds of p11-kit are part of both Cygwin and MSYS2:

Cygwin:
https://cygwin.com/cygwin/packages/summary/p11-kit-src.html

MSYS2:
https://packages.msys2.org/base/p11-kit

Various SSH clients for Windows do support socket forwarding over SSH.

macOS versions of p11-kit are available from multiple sources (MacPorts,
Homebrew, etc).

@NoMoreFood
Copy link
Owner

This looks like a pretty heavy lift both in a development sense and a test environment. Do you know of any SSH client on Windows (paid or free) that is currently capable of doing this?

@catfish4254
Copy link
Author

catfish4254 commented Jul 17, 2024

So I believe that Win32-OpenSSH supports socket forwarding. The p11-kit I have only seen that in Cygwin and Mingw which are Windows projects.

MinGW-w64
Cygwin

This article gives a great overview of how this is implemented by the user.

https://www.redhat.com/en/blog/smart-card-forwarding-fedora

Thank you for taking the time to respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants