Skip to content

Conversation

mvanini
Copy link

@mvanini mvanini commented Dec 30, 2022

Actually the script for credentials-migration doesn't fully support FileCredential type. That type of credential are exported as a SecretBytes (encrypted with master key of Jenkins source instance) and imported as SecretBytes generated by the already encrypted value...resulting in corrupted file.

I added a new Converter that handle the marshal/unmarshal operation of SecretBytes.
The file content is encoded in base64.

@Dohbedoh Dohbedoh requested a review from fbelzunc April 12, 2023 06:16
Copy link
Contributor

@fbelzunc fbelzunc left a comment

Choose a reason for hiding this comment

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

lgtm

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