NSDataBase64Encoding76CharacterLineLength #204
Replies: 4 comments
-
That might be related to my issue (and other ones) : https://github.com/krzyzanowskim/ObjectivePGP/issues/158 The generated message has a line of 76 chars. But the underlying issue might be that the generated data is simply wrong. |
Beta Was this translation helpful? Give feedback.
-
do you have an sample output to analyze, or code to reproduce what you say is happening? |
Beta Was this translation helpful? Give feedback.
-
For example:
As you can see, each line has 76 characters, while according to the requirements, there should be no more than 76 characters, including a new line. |
Beta Was this translation helpful? Give feedback.
-
newline shouldn't be a problem though |
Beta Was this translation helpful? Give feedback.
-
Description
We have found the issue, ios app library does not follow the standard when armoring the key.
The encoded output stream must be represented in lines of no more than 76 characters each. (including new line character)
tools.ietf.org/html/rfc4880#section-6.3
But their line length goes beyond it and is of 76 or 77 chars
Beta Was this translation helpful? Give feedback.
All reactions