if RFC 4880 says:

    Note that all these Armor Header Lines are to consist of a complete
    line.  That is to say, there is always a line ending preceding the
    starting five dashes, and following the ending five dashes.

then `\n` at the end looks fine for me, right?