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

fix: api-sidecar-handler returns newlines in ssh key data #3844

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

rocketeerbkw
Copy link
Member

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

Database Migrations

  • If your PR contains a database migation, it MUST be the latest in date order alphabetically

A new API was added in #3662 that handles public/private key pair cryptography. This API returns newlines in key values, which break parts of Lagoon that does key matching.

This PR removes the newlines from the API response and runs a database migration to clean up any existing newlines.

Closing issues

n/a

@shreddedbacon shreddedbacon added this to the 2.23.0 milestone Nov 19, 2024
Copy link
Member

@shreddedbacon shreddedbacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, easy fix

@tobybellwood tobybellwood merged commit b68e0ba into main Dec 1, 2024
2 checks passed
@tobybellwood tobybellwood deleted the fix-ssh-key-newlines branch December 1, 2024 23:36
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