openpgpjs/openpgpjs — pull request #85 by toberndo (2013-06-25 14:57:28+00:00)
Title: DeArmor: remove whitespace of blank line

RFC on Forming ASCII Armor:

> - A blank (zero-length, or containing only whitespace) line

This blank line between header and data can currently not contain whitespaces as there are several .split('\n\n') in openpgp.encoding.asciiarmor.js

As a result we cannot import this key:
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.20 (MingW32)

mQENBFGvhyEBCADCaTM6fAoQJSfjKqKM2fzm6vdjZ88T85RIhr3s/rdt8e/NrmIx
SdmnCXj5NFRnIUw+RZcKXLyLzGE970kl+yJPiFjqp2So6hTldw68zz5f1PL8vGTB
YyaHg4RWpnqtT2leUbA7rfl21TyNCIs0s9j8Eqjn0+WFaJnLfUCVmX+U7yj32idu
qh7/nnSaAMhdhFUqIaVLJKMyv9BuGdw5/nv1WQEKZ/SnkrBMbZFIQvXrXpCjagKO
Mgn7EpNwDHAFGp8YfyxyMyX4fPgDCcFHqlB6vE9ZJm6kztHDlFXv6VFbKVw6m+OB
8d4lcUv3DgqFP3ZgfRYEcvoaf5VrQQ3y0XFVABEBAAG0IlTDs3RoIEF0dGlsYSA8
YXR0aWxhLnRvdGhAZW5ldC5odT6JATkEEwECACMFAlGvhyECGwMHCwkIBwMCAQYV
CAIJCgsEFgIDAQIeAQIXgAAKCRBd7Wviv/dV3m0OB/wJbos8VqECoXty0aznpPof
LJFO0r9qw5WzChtMHk7l5uQNxHEoAlPCDuotrD5jocnr2nm92h2qB6hHy+ZO0vOj
+XNoSJOJDdiprWDFE03xecNcKmKizDvvdoyYmuFzd/6DdJaah4wo2RrdlGUZ6x5X
RJulmqEizkUEXv3zJxayFFBjP49UuceOxUQ/sY2qEXE6N13QMKBOC9eF5BJTFmK5
43A551xZ23uu8IfTxGXRq2C6LQyKk4qChESbUsx16Ck5SjGglOnzI+0o587a+/wa
/Ylu7h5vN1Zeq9Sa3kY3mUIMTrZdJDjcvKZ5cjo34GSm+NQ6RWq+WNUIQ7s0slmx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