Skip to content

Ignore errors from invalid keys

Andreas Brandl requested to merge ab/fingerprint256-migration into master

What does this MR do?

Make the fingerprint 256 background migration more robust to invalid keys. In particular, we have cases where a double space in the key results in an error when parsing the key with Net::SSH::KeyFactory.load_data_public_key. This in turn leads to the .fingerprint("SHA256") method to return nil.

See #196741 for further details.

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading