From 019d5963f8239a4818b3ea070697f610ed111b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20Zu=CC=81n=CC=83iga=20Lagunas?= Date: Thu, 23 May 2024 16:49:11 -0600 Subject: [PATCH] improved priv key docs --- README.md | 1 + .../Commands/CreateProvisioningProfileCommand.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c04a34e..c8366e5 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ OPTIONS: The path to a private key to use for generating PEM and P12 files. This key will be attached to any generated certificates or profiles + Use `openssl genrsa -out key.pem 2048` to generate it --itunes-connect-key-path The path to the private key (https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests) diff --git a/Sources/SignHereLibrary/Commands/CreateProvisioningProfileCommand.swift b/Sources/SignHereLibrary/Commands/CreateProvisioningProfileCommand.swift index eae3027..ed373fa 100644 --- a/Sources/SignHereLibrary/Commands/CreateProvisioningProfileCommand.swift +++ b/Sources/SignHereLibrary/Commands/CreateProvisioningProfileCommand.swift @@ -130,7 +130,7 @@ internal struct CreateProvisioningProfileCommand: ParsableCommand { @Option(help: "The issuer id of the private key (https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests)") internal var issuerID: String - @Option(help: "The path to a private key to use for generating PEM and P12 files. This key will be attached to any generated certificates or profiles") + @Option(help: "The path to a private key to use for generating PEM and P12 files. This key will be attached to any generated certificates or profiles. Use `openssl genrsa -out key.pem 2048` to generate it.") internal var privateKeyPath: String @Option(help: "The path to the private key (https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests)")