googleapis / google-p12-pem

**THIS REPOSITORY AND PACKAGE WILL BE DEPRECATED IN JULY 2024** Convert Google .p12 keys to .pem keys.
MIT License
26 stars 22 forks source link

use first or second element of the array whichever has the .key #452

Open itzrahulsoni opened 3 months ago

itzrahulsoni commented 3 months ago

I have created an issue #451 and am proposing this change.

I don't understand the reason why the first element was used earlier, and I don't understand why I should be using the 2nd one. So, I have modified it so that it can use either of the element that has the key attribute. My code was failing and I had to make this change urgently. I would like to understand why this happened.

google-cla[bot] commented 3 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.