Skip to content

Commit

Permalink
Change tmp key file name
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-son committed Jul 23, 2024
1 parent b165357 commit 275d5a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/init/decCredential.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CRED_PATH="$HOME/.cloud-barista"
FILE_PATH="$CRED_PATH/$CRED_FILE_NAME"
ENCRYPTED_FILE="$FILE_PATH.enc"
TEMP_DECRYPTED_FILE="$FILE_PATH.tmp"
KEY_FILE="$CRED_PATH/cred_key"
KEY_FILE="$CRED_PATH/.tmp_enc_key"

# Check if OpenSSL is installed
if ! command -v openssl &> /dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/init/encCredential.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CRED_PATH="$HOME/.cloud-barista"
FILE_PATH="$CRED_PATH/$CRED_FILE_NAME"
ENCRYPTED_FILE="$FILE_PATH.enc"
TEMP_DECRYPTED_FILE="$FILE_PATH.tmp.dec"
KEY_FILE="$CRED_PATH/cred_key"
KEY_FILE="$CRED_PATH/.tmp_enc_key"
SCRIPT_DIR=$(dirname "$(realpath "$0")")
DECRYPT_SCRIPT_PATH="$SCRIPT_DIR/decCredential.sh"

Expand Down
2 changes: 1 addition & 1 deletion scripts/init/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
CRED_FILE_NAME_ENC = "credentials.yaml.enc"
CRED_PATH = os.path.join(os.path.expanduser('~'), '.cloud-barista')
ENC_FILE_PATH = os.path.join(CRED_PATH, CRED_FILE_NAME_ENC)
KEY_FILE = os.path.join(CRED_PATH, "cred_key")
KEY_FILE = os.path.join(CRED_PATH, ".tmp_enc_key")

expected_completion_time_seconds = 240

Expand Down

0 comments on commit 275d5a8

Please sign in to comment.