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

Bugfix/signature conversion #359

Closed
wants to merge 1 commit into from
Closed

Bugfix/signature conversion #359

wants to merge 1 commit into from

Conversation

charego
Copy link
Contributor

@charego charego commented Sep 14, 2017

Fixes #354 and #355.

Thanks to @Jurrie for identifying these issues. This is a port of his work to fix JSch #111.

Repository owner deleted a comment Sep 15, 2017
Repository owner deleted a comment Sep 15, 2017
Repository owner deleted a comment Sep 15, 2017
Repository owner deleted a comment Sep 15, 2017
Repository owner deleted a comment Sep 15, 2017
Repository owner deleted a comment Sep 15, 2017
Starting in Java 8u121, DSA signatures that contain "redundant leading
0s" are considered invalid. This commit fixes the conversion between the
encoding we get from SSH servers (mpint) and the encoding the JCA
expects (ASN.1).

Thanks to Jurrie Overgoor for fixing. This is a port of his work:
https://github.com/Jurrie/jsch-111-bugfix
Repository owner deleted a comment Sep 17, 2017
@charego
Copy link
Contributor Author

charego commented Sep 18, 2017

It looks like I need permission from my company to create this PR, so I'm declining it for now.

@charego charego closed this Sep 18, 2017
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.

Invalid encoding for signature: redundant leading 0s
1 participant