Last active
October 30, 2018 20:26
-
-
Save jrussett/1f0b9a7a04fc3502c004c1ceb6bbc0f9 to your computer and use it in GitHub Desktop.
Testing the pivotal cred-alert-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -eux | |
tmpdir=$(mktemp -d) | |
pushd "$tmpdir" || return | |
git init | |
cat <<'EOF'>> test.key | |
-----BEGIN RSA PRIVATE KEY----- | |
fakersakeydata | |
-----END RSA PRIVATE KEY----- | |
EOF | |
git add test.key; | |
git commit -m "Testing credential commit" # You should see a warning after this command | |
popd || exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment