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

Enhancement request: Hint support #136

Closed
work-bw opened this issue Jul 23, 2024 · 4 comments
Closed

Enhancement request: Hint support #136

work-bw opened this issue Jul 23, 2024 · 4 comments

Comments

@work-bw
Copy link

work-bw commented Jul 23, 2024

Is it possible to add hint support? I was hoping to use a specific cert with a specific username hint and have that hint passed to putty-gen instead of the cert. However in the window that pops up with putty-gen I can only enter a PIN. It would be nice if the window included a hint field but if that's too hard to implement maybe on the Connection / SSH / Certificate screen the user could hard code a hint to the saved session. If it already exists somewhere please point me to it. Thanks.

Brian

@NoMoreFood
Copy link
Owner

I guess I don't understand what you're asking. What's the purpose of the hint? You should already know what certificate / card and PIN is associated with whatever you are connecting to.

@work-bw
Copy link
Author

work-bw commented Jul 23, 2024

A username hint informs the program (putty-cac) which account the user is trying to log in with if the certificate is associated with multiple accounts. I don't need hint support if there is a 1:1 mapping between a certificate and a userid. But if I have a cert that maps to multiple users, then I can use a hint to tell the program which user I want to use when the cert is presented to the program. If using a cert that maps to multiple users is just not possible and can only be done with a 1:1 mapping that's fine. I just wanted to ask. Thanks.

@NoMoreFood
Copy link
Owner

If you connection profile has a certificate associated with it, it will that public key to the SSH server which of course then has to be in ~/.ssh/authorized_keys. If you also have pageant running, it will still prefer the certificate identified in the connection profile.

I guess I'm still not sure what problem we are trying to solve here. Are saying you just wish the PIN field would display the certificate CN or something along those lines? If so, the Cert Auth Prompting feature might satisfy your use case.

@NoMoreFood
Copy link
Owner

Closing due to non-responsiveness. Will re-open if the requestor responds (or somebody else can help me understand what they are asking for).

@NoMoreFood NoMoreFood closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants