Skip to content

Conversation

@burke
Copy link
Member

@burke burke commented May 2, 2023

A common use-case is to want to paste in multiline certificates, etc.

This does a first pass on encrypt in order to first collapse multiline strings into valid JSON, before continuing with handling.

A common use-case is to want to paste in multiline certificates, etc.

This does a first pass on encrypt in order to first collapse multiline
strings into valid JSON, before continuing with handling.
@sambostock
Copy link

@antoniocheltenham, this looks like the feature you wanted, if you want to provide any feedback.

@burke burke merged commit f814595 into master May 3, 2023
@burke burke deleted the collapse-newlines branch May 3, 2023 13:42
@antoniocheltenham
Copy link

This is amazing - RIP cat filename.pem | tr '\r\n' '\#' | sed 's:#:\\n:g' 🚀

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.

4 participants