From 06a40757d60f4dd8f97ffab4541ccf3475c5fbe5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 14 Sep 2023 14:49:18 +0300 Subject: [PATCH] Check if System.keychain is not cluttered --- .cirrus.yml | 4 ++++ appveyor.yml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 1ddabcb1a..915153ec6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -205,6 +205,10 @@ macos_task_template: &MACOS_TASK_TEMPLATE - security default-keychain -s build.keychain # Unlock the keychain - security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" build.keychain + # Check if System.keychain is not cluttered + # good: 60K + # bad: 25MB + - du -h /Library/Keychains/System.keychain # Add certificates to keychain and allow codesign to access them # 1) Apple Worldwide Developer Relations Certification Authority - curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent diff --git a/appveyor.yml b/appveyor.yml index 53c2906fe..746e52a03 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -627,6 +627,10 @@ for: - security default-keychain -s build.keychain # Unlock the keychain - security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" build.keychain + # Check if System.keychain is not cluttered + # good: 60K + # bad: 25MB + - du -h /Library/Keychains/System.keychain # Add certificates to keychain and allow codesign to access them # 1) Apple Worldwide Developer Relations Certification Authority - curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent @@ -798,6 +802,10 @@ for: - security default-keychain -s build.keychain # Unlock the keychain - security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" build.keychain + # Check if System.keychain is not cluttered + # good: 60K + # bad: 25MB + - du -h /Library/Keychains/System.keychain # Add certificates to keychain and allow codesign to access them # 1) Apple Worldwide Developer Relations Certification Authority - curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent