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

SSH Key Gen Issue on Adobe IO console #79

Open
jtomlinsonMPC opened this issue Apr 21, 2021 · 4 comments
Open

SSH Key Gen Issue on Adobe IO console #79

jtomlinsonMPC opened this issue Apr 21, 2021 · 4 comments

Comments

@jtomlinsonMPC
Copy link

When creating a new project on the Adobe IO console, I generated an SSH key pair within the console and when I tried to use the private key with the @adobe-reactor/uploader module, it threw this error:

image

Generating my own key pair outside of the console works fine: https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/JWTCertificate.md

@rychagiv
Copy link

@jtomlinsonMPC, since we did not test this specific use-case it would be very helpful having any details from you.
So my ask is:

  • Can you please check whats the difference between private key that works and the one you generated in console UI.
    I am wondering if it can be related to line breaks in file or some extra characters.
  • Any specific error details for certificate you were using that are not available on screenshot?
  • Will it be possible for us to run same tool/command as we usually work with another tolling through console UI, if you could provide that file (or sample that works) we would try to play with it?

@jtomlinsonMPC
Copy link
Author

@rychagiv - Looks like the issue may be related to the line breaks. The broken one didn't have line breaks... the one that works looked correct with the line breaks. Screenshots below & attached private keys to compare.

Problematic Private Key (generated from IO console):
image

Good Private Key (manually generated):
image

problematic_private_key.txt
good_private_key.txt

@rychagiv
Copy link

rychagiv commented Apr 22, 2021

@jtomlinsonMPC , can you please check latest private key in prod. We do have line breaks there.
In last prod release (last Thursday) it was fixed, sample:
image

@jtomlinsonMPC
Copy link
Author

@rychagiv - looks good in prod now! I just generated a key pair and I see the line breaks. Good deal. Thanks for the quick responses!

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

2 participants