Skip to content

Commit e23b138

Browse files
authored
Merge pull request #16 from virtru/CD-1094-updates
CD-1094
2 parents 8afd6af + 2960371 commit e23b138

File tree

2 files changed

+634
-21
lines changed

2 files changed

+634
-21
lines changed

deploy-cse-v5.3.0.sh

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ EntryPoint(){
44

55
#Default Variables
66
blank=""
7-
cseVersionDefault="5.2.0"
7+
cseVersionDefault="5.3.0"
88
cseIdpProviderDefault="Google"
99
cseTakeoutClaim="cse_takeout"
1010
csePort="9000"
@@ -97,11 +97,11 @@ EntryPoint(){
9797
else
9898
InputAuthnNowLater $cseIdpOtherInputAuthnDefault
9999
if [ "$cseIdpOtherInputAuthn" = "Now" ]; then
100-
GetAuthnIssuersKey $cseAuthnIssuersKeyDefault
100+
GetAuthnIssuersKey $cseAuthnIssuersKeyDefault
101101
GetAuthnIssuersValue $cseAuthnIssuersValueDefault
102102
GetJWTAudAuthn $cseJWTAudAuthnValueDefault
103-
fi
104-
103+
fi
104+
105105
fi
106106

107107
MakeDirectories
@@ -211,14 +211,14 @@ EntryPoint(){
211211
cseJWTAudAuthzValue="\"$cseJWTAudAuthzValueDefault\""
212212
;;
213213
esac
214-
echo " "
214+
echo " "
215215

216216

217217
}
218218

219219

220220

221-
221+
222222

223223

224224
GenerateB64Variables(){
@@ -231,15 +231,15 @@ EntryPoint(){
231231
if [ -n "${cseAuthnIssuersKey}" ]; then
232232
cseJWKSAuthnIssuers="{ $cseAuthnIssuersKey: $cseAuthnIssuersValue }"
233233
cseJWKSAuthnIssuers=$(echo $cseJWKSAuthnIssuers | base64 -w 0)
234-
234+
235235
#JWT Aud Variable
236236
cseJWTAud="{ $cseJWTAudAuthnKey: $cseJWTAudAuthnValue, $cseJWTAudAuthzKey: $cseJWTAudAuthzValue }"
237237
cseJWTAud=$(echo $cseJWTAud | base64 -w 0)
238238

239239
else
240240
cseJWKSAuthnIssuers=""
241241
fi
242-
242+
243243

244244

245245
}
@@ -258,8 +258,8 @@ EntryPoint(){
258258
;;
259259
esac
260260
echo " "
261-
262-
261+
262+
263263
}
264264

265265

@@ -278,7 +278,7 @@ EntryPoint(){
278278
esac
279279
echo " "
280280

281-
281+
282282
}
283283

284284

@@ -357,7 +357,7 @@ EntryPoint(){
357357

358358
cseCksFqdn="CKS_URL=${cksServerFqdn}"
359359
}
360-
360+
361361
GetGoogleAuthString(){
362362
local input=""
363363
read -p "Enter your Google OAuth Client ID String [$1]: " input
@@ -393,7 +393,7 @@ EntryPoint(){
393393
esac
394394
echo " "
395395
}
396-
396+
397397
GetAuthnIssuersValue(){
398398
local input=""
399399
read -p "Enter your AuthN Value [$1]: " input
@@ -411,7 +411,7 @@ EntryPoint(){
411411
esac
412412
echo " "
413413
}
414-
414+
415415
GetOktaDomain(){
416416
local input=""
417417
read -p "Enter your Okta Domain Value [$1]: " input
@@ -429,8 +429,8 @@ EntryPoint(){
429429
esac
430430
echo " "
431431
}
432-
433-
432+
433+
434434
GetJWTAudAuthn(){
435435
local input=""
436436
read -p "Enter your JWT AuthN Value [$1]: " input
@@ -448,8 +448,8 @@ EntryPoint(){
448448
esac
449449
echo " "
450450
}
451-
452-
451+
452+
453453
InputAuthnNowLater(){
454454
local input=""
455455
echo "Enter AuthN Now?"
@@ -510,7 +510,7 @@ EntryPoint(){
510510

511511

512512
/bin/cat <<EOM >$envFile
513-
513+
514514
HMAC_TOKEN_ID=$cseHMACTokenId
515515
HMAC_TOKEN_SECRET=$cseHMACTokenSecret
516516
$cseCksHmacId
@@ -532,7 +532,7 @@ $cseSecretKeyEnvValue
532532
#Base 64 encoded value of EKM Audience URL that the customer is using as the FQDN
533533
#EKM_AUDIENCE=
534534
#EKM_SUPPORTED_SIGNING_ALGS=RS265
535-
535+
536536
EOM
537537

538538
}
@@ -565,7 +565,7 @@ chmod +x $runScript
565565

566566

567567

568-
568+
569569
ShowLogo() {
570570
echo " "
571571
echo " +++ '++."

0 commit comments

Comments
 (0)