hierynomus / sshj

ssh, scp and sftp for java
Apache License 2.0
2.49k stars 602 forks source link

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

Closed kegelh closed 8 months ago

kegelh commented 9 months ago

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

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.