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

Nick Mathewson nickm at freehaven.net
Wed Apr 3 18:06:11 UTC 2019


On Wed, Apr 3, 2019 at 1:48 PM Iain Learmonth <irl at torproject.org> 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


More information about the tor-dev mailing list