[Bug 11786] New: base64 is adding linefeeds when it should not

bugzilla at busybox.net bugzilla at busybox.net
Sat Apr 20 02:25:46 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11786

            Bug ID: 11786
           Summary: base64 is adding linefeeds when it should not
           Product: Busybox
           Version: 1.29.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: busybox.net at richardlee.name
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

According to RFC 4648, the base64 encoding "implementations MUST NOT add line
feeds to base-encoded data".  See https://tools.ietf.org/html/rfc4648#page-3

However, there is a line feed being inserted by busybox base64 encoder every 76
characters.

This is incompatible with other base64 implementations which are RFC compliant,
such as the GNU implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list