Skip to content

Trim key file #92

@jared2501

Description

@jared2501

If the encrypted-config-value.key file has a new line at the end of it the decryption fails with the confusing error about being unable to base64 decode. Vim is sometimes configured to insert new lines at the ends of files, which leads to hard to debug issues.

Proposed solution: since the second component of the string is base64 encoded it's able to be trimmed before being decoded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions