Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existence of '\n' characters within the key values #10

Open
subodh-dharma opened this issue Sep 11, 2016 · 3 comments
Open

Existence of '\n' characters within the key values #10

subodh-dharma opened this issue Sep 11, 2016 · 3 comments

Comments

@subodh-dharma
Copy link

The '\n' printing in the key values makes the key values useless. When doing a POST method with these keys as input, the string treats '\n' as characters rather than new line. Hence when calculating the fingerprints it always give an error.

Kindly look into this issue.

@juliangruber
Copy link
Owner

What fix do you suggest?

@lylethompson
Copy link

You need to use unix line endings for all strings. So either generate it that way, or remove the \r characters from the result before returning it.

@BlackFrog1
Copy link

You need to Base64 encode the key values before POST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants