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

ssh-encoding: PEM line width detection #252

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jul 28, 2024

Uses the line width detection support added to pem-rfc7468 in RustCrypto/formats#1464 to automatically detect the input line width and parse PEM documents accordingly, which allows support for a wider range of SSH keys which don't use the default 70 chars of line wrapping.

Fixes #195

Uses the line width detection support added to `pem-rfc7468` in
RustCrypto/formats#1464 to automatically detect the input line width and
parse PEM documents accordingly, which allows support for a wider range
of SSH keys which don't use the default 70 chars of line wrapping.

Fixes #195
@tarcieri tarcieri force-pushed the ssh-encoding/pem-line-width-detection branch from 94015a5 to d81e199 Compare July 28, 2024 20:14
@tarcieri tarcieri marked this pull request as ready for review July 28, 2024 20:14
@tarcieri tarcieri changed the title [WIP] ssh-encoding: PEM line width detection ssh-encoding: PEM line width detection Jul 28, 2024
@tarcieri tarcieri merged commit afbe00e into master Jul 28, 2024
30 checks passed
@tarcieri tarcieri deleted the ssh-encoding/pem-line-width-detection branch July 28, 2024 20:34
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

Successfully merging this pull request may close these issues.

Hardcoded length of PEM-encoding causes interoperability issues
1 participant