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

Make certificates and private keys handling more convenient #205

Merged
merged 10 commits into from
Feb 24, 2022

Conversation

priitlatt
Copy link
Contributor

@priitlatt priitlatt commented Feb 23, 2022

The aim of this pull request is to make the Python API more user friendly for private key and certificate management. Additionally make AppStoreConnect class methods that implement app-store-connect actions which manage certificate easier to use by allowing directly plugging in PrivateKey instances in stead of having to use Types.CertificateKeyArgument type wrapper.

Notable changes:

  • Add new factory method for PrivateKey to load the key from PKCS#12 containers.
  • Add option to specify save path for certificates downloaded using app-store-connect tool.
  • Support DSA and elliptic curve private keys in addition to RSA keys for PrivateKey.

Updated actions:

  • app-store-connect create-certificate,
  • app-store-connect get-certificate,
  • app-store-connect list-certificates,
  • app-store-connect fetch-signing-files.

@priitlatt priitlatt marked this pull request as ready for review February 23, 2022 13:57
@priitlatt priitlatt merged commit 1b3cba2 into master Feb 24, 2022
@priitlatt priitlatt deleted the improvements/certificates-and-private-keys branch February 24, 2022 08:10
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

Successfully merging this pull request may close these issues.

2 participants