Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
Create keychain
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti committed Aug 17, 2020
1 parent aa936f2 commit 867fd6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Binary file modified automac-component.pkg
Binary file not shown.
Binary file modified automac-distribution.pkg
Binary file not shown.
7 changes: 7 additions & 0 deletions scripts/postinstall
Expand Up @@ -82,3 +82,10 @@ if [[ ${osvers} -ge 7 ]]; then
fi
done
fi

KEYCHAIN="login"

# See https://www.intego.com/mac-security-blog/create-a-non-login-keychain/
security create-keychain -p "$USER" "$KEYCHAIN"
security default-keychain -d system -s "$KEYCHAIN"
security login-keychain -d system -s "$KEYCHAIN"

0 comments on commit 867fd6f

Please sign in to comment.