Skip to content
Snippets Groups Projects
Commit e0d2b656 authored by Artem Dobrynin (EPAM)'s avatar Artem Dobrynin (EPAM) Committed by Dmitriy Rudko
Browse files

GONRG-1059

Updated all poms.
parent dfdfbd0b
No related branches found
No related tags found
1 merge request!67GCP release/0.5 - fix GSA Challenge (GONRG-1796)
...@@ -188,9 +188,9 @@ Create king ring and key in the ***master project*** ...@@ -188,9 +188,9 @@ Create king ring and key in the ***master project***
--purpose encryption --purpose encryption
``` ```
Add **Cloud KMS CryptoKey Encrypter/Decrypter** role to the **App Engine default service account** of the master project through IAM - Role tab Add **Cloud KMS CryptoKey Encrypter/Decrypter** role to the **App Engine default service account** of the ***master project*** through IAM - Role tab
Add "Cloud KMS Encrypt/Decrypt" role to the "App Engine default service account" of ***master project*** Add **Cloud KMS Encrypt/Decrypt** role to the **App Engine default service account** of ***master project***
## Licence ## Licence
Copyright © Google LLC Copyright © Google LLC
......
...@@ -44,7 +44,7 @@ public class GsaSubscriberListenerApi { ...@@ -44,7 +44,7 @@ public class GsaSubscriberListenerApi {
throw new ValidationException("Authorization signature validation Failed"); throw new ValidationException("Authorization signature validation Failed");
} }
logger.info("Token verified and sending response"); logger.info("Token verified and sending response");
return new ChallengeResponse(HashingUtil.hashString(crc, this.serviceConfig.getSubscriberSecret())); return new ChallengeResponse(HashingUtil.hashString(crc, this.serviceConfig.getSubscriberPrivateKeyId()));
} }
@PostMapping("/gsa-challenge/{count}") @PostMapping("/gsa-challenge/{count}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment