Repository navigation
NSDataBase64Encoding76CharacterLineLength #204
DmitryTatarinov
started this conversation in
General
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. |
0 replies
|
do you have an sample output to analyze, or code to reproduce what you say is happening? |
0 replies
|
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. |
0 replies
newline shouldn't be a problem though |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions