Skip to content
New issue

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

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

Already on GitHub? # to your account

ignore ssh-agent, ssh-keygen utf-8 decode failures #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nyetsche
Copy link

@nyetsche nyetsche commented Dec 1, 2023

In my environment I have a smart card (PKCS11) that holds my private keys; for reasons I cannot change the comment field includes bytes that cannot be decoded into utf-8.

The comment field is useful but not essential for the SSM API call SendSSHPublicKey. This PR sets the bytes.decode() calls to to ignore any utf-8 decoding errors.

In my environment I have a smart card (PKCS11) that holds my private
keys; for reasons I cannot change the comment field includes bytes that
cannot be decoded into `utf-8`.

The comment field is useful but not essential for the SSM API call
`SendSSHPublicKey`. This PR sets the `bytes.decode()` calls to to ignore
any `utf-8` decoding errors.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant