Skip to content

Commit

Permalink
add missing keys for identity
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 26, 2024
1 parent 9d84482 commit bec328d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 8 deletions.
28 changes: 28 additions & 0 deletions dev/ci/Developer.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC1Lh6Rkh2dD2gH
AZ8SlIB9Q1tmLzTAnH9S06CQ+DUdABNsJ3x9rpSha5qWMVtxYoG5/FRFeNYLicc3
IFEDs/i6aX0S/ZioO6uik31obPB7CL5QL46a1sUuNqFlhrzQbrutDU3KUCCAVL97
tUTy1f8eVngdnYrMs9YIffTG3qbW+mq02E0ae3chsCrn4+VGlazdoozZM93YEBbL
e5X+7pS5wUjGxLpnDUkjyGnoi03ceCljj5CeIlQkK0++l2clBSQPgolCmFJ9iWk1
nhbB3aOtym4rDFOkRAlrkC6X4WX71BMwjmN16vdr/1ZtC2bfgV4BgmspuJMdbqfC
knyF521jAgMBAAECggEARmvbo9c4PXDcjUSbELy5yHZi0y/sACWT85ygH1jqRBBg
fDxIzg0KZkeNuW0LzuFr7N9f3fTetXNjBFFCS/8q4UHZRIVfTZyL1NAhAXK+cgPu
/PnPIu3xjEndp7mcMCOqPNQb9VP5ngfSuYG2f/CfjaosW859QZ1wxrI2bwnhrVLW
soxwg7SwQ6zhn27YgHhP7GBy9rrB+DSspSlNVekJwi3wE+J2laZ9c/PxfCUpH1Vj
wSGUyup4mVwfL+oLAgkE5PDYHWQD9XARFPhn+d4RpaSXqAkS0jYGyXa/iB0oci/5
THXvKKafmpZXfTF+1XckzRs7VMUsq5dWQHgOd1kJEQKBgQDZ6/jkLQdTYn9/sw27
AQBZzlCcHa3r/xm3s2DGVKz8lB1pgTHG5SKbpilY+uU3aLV8FLCtCG50zMLgU+bi
hTg0grL0yHIA4aUc5T9rRZ3izOT1xQXnHP8Q1YVyCo47eADP4E/HcZ9kEUZwJEU4
UwIsVwYB9IHC+d2XmoZjX97e6wKBgQDU1qErpF57hMTSHcR3zaPfaMKTYzzvfweg
6Y3oPrBY2dEne1XX5j5hxUhsAmAJmn9ctoqm4O7mbaQbE/eNHZWSYNNEick0Ds01
VvAAWogES7vmreoYRw/6aQXz7ZsJekN8HGKNMolrfActV2gqRyxUi+doSxZq/U6I
3gHB8SA9aQKBgHwTULiJsrwVPsa0acLphQuc3mSkuVu++SOQrC8AEyYUJtLlTjQS
TiwU5UHWSB/OLFajaRx7yngSBXq4CqM6eo/bQo0Ae3hpARt8oykukACL7GjKbtvx
tIAfMkWGIQlXAA9bhdDmrnvJIjPDUu4IxRn9ylvenOsoXLRutMlr0ndVAoGALL7a
r2QlAO7OuiXL8ivnccaCcZ4BZ5BbODchwFu9k1BnqldBmtwq7T8elKaDLkGu2Pz/
dUoAr60JPTAbcS1xDo8Qm24kQK+D8NzQJCLkSZLqc/rIJkZ6U3jU6Y1gdMOhgGwv
Q+QGA/TVRXEE0y6XYUbwZXqzwdZzNk8GK5HX51ECgYA4AEu9Tbp8+R+3oOLib2mD
I4VtYpGiSch07yYeiYU5k3BsXKPlHRSxjhmTnxRD4j4h6yZIeExDyby76oFZaAru
4DvGC42Cu2jGaJQJV8X3fY4DmxygzRv8vTgqA8koUHyAnysR06bjSn/USkvkTA1Z
Gqqi6XNf1ixGj4eZiyxUDA==
-----END PRIVATE KEY-----
9 changes: 9 additions & 0 deletions dev/ci/Developer.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN RSA PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtS4ekZIdnQ9oBwGfEpSA
fUNbZi80wJx/UtOgkPg1HQATbCd8fa6UoWualjFbcWKBufxURXjWC4nHNyBRA7P4
uml9Ev2YqDuropN9aGzwewi+UC+OmtbFLjahZYa80G67rQ1NylAggFS/e7VE8tX/
HlZ4HZ2KzLPWCH30xt6m1vpqtNhNGnt3IbAq5+PlRpWs3aKM2TPd2BAWy3uV/u6U
ucFIxsS6Zw1JI8hp6ItN3HgpY4+QniJUJCtPvpdnJQUkD4KJQphSfYlpNZ4Wwd2j
rcpuKwxTpEQJa5Aul+Fl+9QTMI5jder3a/9WbQtm34FeAYJrKbiTHW6nwpJ8hedt
YwIDAQAB
-----END RSA PUBLIC KEY-----
13 changes: 5 additions & 8 deletions dev/ci/setup-host
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,13 @@ if [ "${GITHUB_ACTIONS:-false}" = "true" ]; then
if [ "$OS" = "macos" ]; then
brew update
brew install ccache
# sudo security add-trusted-cert -d -r trustRoot -p codeSign -k /Library/Keychains/System.keychain "$PASSENGER_ROOT/dev/ci/Certificates.cer"
# security find-identity -p codesigning /Library/Keychains/System.keychain
# security find-identity -v -p codesigning /Library/Keychains/System.keychain
# security find-certificate -a /Library/Keychains/System.keychain
# security find-certificate -a -c "Developer" /Library/Keychains/System.keychain
sudo security import "$PASSENGER_ROOT/dev/ci/Certificates.cer" -k /Library/Keychains/System.keychain -A
sudo security authorizationdb write com.apple.trust-settings.admin allow
sudo security add-trusted-cert -d -r trustRoot -p codeSign -k /Library/Keychains/System.keychain "$PASSENGER_ROOT/dev/ci/Certificates.cer"
sudo security import -A -t priv -k /Library/Keychains/System.keychain "$PASSENGER_ROOT/dev/ci/Developer.key"
sudo security import -A -t pub -k /Library/Keychains/System.keychain "$PASSENGER_ROOT/dev/ci/Developer.pub"
security find-certificate -a -m -c "Developer" /Library/Keychains/System.keychain
security find-identity -p codesigning /Library/Keychains/System.keychain
security find-identity -v -p codesigning /Library/Keychains/System.keychain
security find-certificate -a /Library/Keychains/System.keychain
security find-certificate -a -c "Developer" /Library/Keychains/System.keychain
fi

echo
Expand Down

0 comments on commit bec328d

Please sign in to comment.