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

known_hosts parsing does not ignore malformed base64 strings since 0.36 #922

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

kegelh
Copy link
Contributor

@kegelh kegelh commented Jan 4, 2024

The previous Base64 implementation threw IOExceptions in some places that are now IllegalArgumentExecptions. Both are now caught and logged. OpenSSH ignores this, too.

@kegelh kegelh requested a review from hierynomus as a code owner January 4, 2024 17:05
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f94444b) 69.10% compared to head (c9f2b0b) 68.91%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #922      +/-   ##
============================================
- Coverage     69.10%   68.91%   -0.19%     
+ Complexity     1449     1446       -3     
============================================
  Files           208      208              
  Lines          7602     7602              
  Branches        658      658              
============================================
- Hits           5253     5239      -14     
- Misses         2002     2012      +10     
- Partials        347      351       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hierynomus hierynomus merged commit 03f8b22 into hierynomus:master Jan 26, 2024
5 of 6 checks passed
vladimirlagunov pushed a commit to vladimirlagunov/sshj that referenced this pull request Apr 4, 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

Successfully merging this pull request may close these issues.

3 participants