module
Version:
v0.0.45
Opens a new window with list of versions in this module.
Published: Nov 8, 2022
License: MIT
Opens a new window with license information.
README
¶
golang-cross-build
Cross-platform builds involving golang
(and requiring CGO
), and build signing. Facilitated using goreleaser
.
Sign and Notarize macos Builds
-
From the Apple Developer Center, generate a new "Apple Distribution" certificate.
-
You'll need a CSR, generate using OpenSSL (did not work with OpenSSL 3.0.5 on Ubuntu; installed LibreSSL 3.3.6, which worked correctly):
openssl req -newkey rsa:2048 -keyout distribution.key -out distribution.csr
- Convert
.cer
file to a .pem
file:
openssl x509 -in distribution.cer -inform DER -out distribution.pem -outform PEM
- Convert
.pem
to .p12
:
openssl pkcs12 -export -inkey distribution.key -in distribution.pem -out distribution.p12
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.