Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Quincey Morris
On Feb 17, 2018, at 20:34 , Glenn L. Austin wrote: > > Or encode/decode them using Coding, then encode/decode the resulting encoded > attributed string data using SecureCoding. Markus already said that archives exist with normally-encoded attributed strings, so that precludes changing the arch

Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Glenn L. Austin
Also, you don't *have* to use SecureCoding if you're using attributed strings. Or encode/decode them using Coding, then encode/decode the resulting encoded attributed string data using SecureCoding. -- Glenn L. Austin, Computer Wizard, AustinSoft.com > On Feb 17, 2018, at 5:27 PM, Alex Zavaton

Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Alex Zavatone
What about the option mentioned before of converting to another type, RTF, and handling that? > On Feb 17, 2018, at 3:37 PM, Markus Spoettl wrote: > > On 2/16/18 23:58, Quincey Morris wrote: >> On Feb 16, 2018, at 14:13 , Markus Spoettl wrote: >>> how can I go about decoding NSAttributedString

Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Markus Spoettl
On 2/16/18 23:58, Quincey Morris wrote: On Feb 16, 2018, at 14:13 , Markus Spoettl wrote: how can I go about decoding NSAttributedString I just tried in a playground, and the problem is in NSParagraphStyle, not NSAttributedString. It looks like it falls foul of the known secure coding issue

Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Markus Spoettl
On 2/16/18 23:58, Quincey Morris wrote: On Feb 16, 2018, at 14:13 , Markus Spoettl wrote: how can I go about decoding NSAttributedString I just tried in a playground, and the problem is in NSParagraphStyle, not NSAttributedString. It looks like it falls foul of the known secure coding issue