[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] Tor Directory Meta-Format + Line Wrapping?



On Wed, Apr 3, 2019 at 1:48 PM Iain Learmonth <irl@xxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> Looking at the specification for the Tor directory protocol's
> meta-format, it has some text on line wrapping:
>
> > When line wrapping, implementations MUST wrap lines
> > at 64 characters.  Upon decoding, implementations MUST
> > ignore and discard all linefeed characters.
>
> I can't work out how an implementation is meant to know if a linefeed
> character is meant to be for line-wrapping or if it's meant to be the
> end of a keyword line.
>
> Are there any implementations that actually do line wrapping?

Hm. I think that is meant to describe linewrapping only inside the
PEM-style base64 objects.  It could be written more clearly though.

-- 
Nick
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev