add AC_PASSWORD to build keychain
This commit is contained in:
parent
0a310b5a00
commit
0dbe4bc66e
|
@ -1,7 +1,7 @@
|
||||||
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path;
|
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path;
|
||||||
$secretsPath = $homePath + "/secrets"
|
$secretsPath = $homePath + "/secrets"
|
||||||
|
|
||||||
$desktopKeyPath = $($secretsPath + "/bitwarden-dekstop-key.p12");
|
$desktopKeyPath = $($secretsPath + "/bitwarden-desktop-key.p12");
|
||||||
$devidAppCertPath = $($secretsPath + "/devid-app-cert.p12");
|
$devidAppCertPath = $($secretsPath + "/devid-app-cert.p12");
|
||||||
$devidInstallerCertPath = $($secretsPath + "/devid-installer-cert.p12");
|
$devidInstallerCertPath = $($secretsPath + "/devid-installer-cert.p12");
|
||||||
$appstoreAppCertPath = $($secretsPath + "/appstore-app-cert.p12");
|
$appstoreAppCertPath = $($secretsPath + "/appstore-app-cert.p12");
|
||||||
|
@ -11,7 +11,7 @@ security create-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
||||||
security default-keychain -s build.keychain
|
security default-keychain -s build.keychain
|
||||||
security unlock-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
security unlock-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
||||||
security set-keychain-settings -lut 1200 build.keychain
|
security set-keychain-settings -lut 1200 build.keychain
|
||||||
security add-generic-password -a "AC_USERNAME" -w $env:APPLE_ID_PASSWORD -s "AC_PASSWORD"
|
security add-generic-password -k build.keychain -a "AC_USERNAME" -w $env:APPLE_ID_PASSWORD -s "AC_PASSWORD"
|
||||||
security import $desktopKeyPath -k build.keychain -P $env:DESKTOP_KEY_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
security import $desktopKeyPath -k build.keychain -P $env:DESKTOP_KEY_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
||||||
security import $devidAppCertPath -k build.keychain -P $env:DEVID_CERT_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
security import $devidAppCertPath -k build.keychain -P $env:DEVID_CERT_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
||||||
security import $devidInstallerCertPath -k build.keychain -P $env:DEVID_CERT_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
security import $devidInstallerCertPath -k build.keychain -P $env:DEVID_CERT_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
||||||
|
|
Loading…
Reference in New Issue