go-plist icon indicating copy to clipboard operation
go-plist copied to clipboard

Set line length of base64 data

Open timaebi opened this issue 5 years ago • 0 comments

I want to write a mobileconfig configuration profile using this library. In particular I want to add a few Certificate Payloads to a configuration profile. The specifications (page 19) for PayloadContent says that the certificate should be base64 encoded with a line length of 52. Unfortunately if I use a byte slice for the certificate data, the library just outputs everything on a single line.

Would you see a way how we could make this possible?

timaebi avatar Oct 03 '19 17:10 timaebi