microsoft / google-play-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the Google Play store from your automated CI builds
Other
84 stars 57 forks source link

PEM routines:get_name:no start line #379

Open cicciolinamiranda opened 1 year ago

cicciolinamiranda commented 1 year ago

When using Service connection as Authentication method to Google Play - Release Task, I'm getting PEM routines:get_name:no start line error. See attached snipped log file

Screenshot 2023-01-16 at 11 43 36 AM

Attached is my configuration

Screenshot 2023-01-16 at 12 58 24 PM Screenshot 2023-01-16 at 12 59 01 PM
ivanduplenskikh commented 1 year ago

Hi, @cicciolinamiranda thanks for reporting! We are working on more prioritized issues at the moment but will get back to this one soon.

dwaterfield commented 1 year ago

I am seeing the same issue. Has there been any progress on resolving it?

dwaterfield commented 1 year ago

A quick update. I was able to resolve this issue by opening the private key in a text editor (notepad++). I then removed all the carriage return and newline characters so that everything was on one line. Finally I added "\n" after the header and before the footer.

-----BEGIN PRIVATE KEY-----\n[encoded text all on one line]\n-----END PRIVATE KEY-----

The help text in Azure shows a format like this, but I assumed it meant the actual newline character, not the escaped version.