Skip to content

Add store and load certificates in mackms#455

Merged
maraino merged 8 commits intomasterfrom
mariano/mackms-certs
Mar 19, 2024
Merged

Add store and load certificates in mackms#455
maraino merged 8 commits intomasterfrom
mariano/mackms-certs

Conversation

@maraino
Copy link
Copy Markdown
Contributor

@maraino maraino commented Mar 15, 2024

Description

This PR adds support for loading and storing simple certificates using LoadCertificate and StoreCertificate, LoadCertificateChain, StoreCertificateChain, and the experimental DeleteCertificate.

For future PRs we can add support for (cc: @joshdrake):

Other options would be easy support for updating certificates, SecPKCS12Import, and importing private keys.

This commit adds support for loading and storing simple certificates
using LoadCertificate and StoreCertificate
This commit adds to mackms the methods LoadCertificateChain,
StoreCertificateChain, and DeleteCertificate.
@maraino maraino marked this pull request as ready for review March 16, 2024 00:00
@maraino maraino requested a review from hslatman March 16, 2024 00:00
Comment thread internal/darwin/corefoundation/core_foundation_darwin.go Outdated
Comment thread internal/darwin/security/security_darwin.go Outdated
Comment thread kms/mackms/mackms.go Outdated
Comment thread kms/mackms/mackms.go
Comment thread kms/mackms/mackms.go
Comment thread kms/mackms/mackms.go Outdated
Comment thread kms/mackms/mackms.go
Comment thread kms/mackms/mackms.go Outdated
Comment thread kms/mackms/mackms.go Outdated
Comment thread kms/mackms/mackms.go
@maraino maraino requested a review from hslatman March 18, 2024 18:53
Comment thread kms/mackms/mackms.go Outdated
Comment thread kms/mackms/mackms.go
Comment thread kms/mackms/mackms.go Outdated
@hslatman
Copy link
Copy Markdown
Member

Really small thing, but otherwise looks good

@maraino maraino force-pushed the mariano/mackms-certs branch from 3a9d874 to 69660dc Compare March 19, 2024 17:38
@maraino maraino requested a review from hslatman March 19, 2024 17:38
@maraino maraino merged commit 6daa7b9 into master Mar 19, 2024
@maraino maraino deleted the mariano/mackms-certs branch March 19, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants