Open chanced opened 1 year ago
The base64 crate currently returns an error when it encounters a newline, see https://github.com/marshallpierce/rust-base64/issues/236. Once resolved, add newline to avoid the partial line indicator:
The binary format of encrypted keyrings are already indifferent to trailing characters.
An alternative would be conditionally adding newlines if the output is not to be encoded but I'd rather re-enable it all in one go.
The base64 crate currently returns an error when it encounters a newline, see https://github.com/marshallpierce/rust-base64/issues/236. Once resolved, add newline to avoid the partial line indicator:
The binary format of encrypted keyrings are already indifferent to trailing characters.
An alternative would be conditionally adding newlines if the output is not to be encoded but I'd rather re-enable it all in one go.