Commit 26198ad0 authored by Dmitriy Rudko's avatar Dmitriy Rudko 💬
Browse files

Merge branch 'cherry-pick-8823f3f5' into 'release/0.5'

Cherry-pick "GCP release/0.5 - fix GSA Challenge (GONRG-1796)" into release/0.5

See merge request !68
parents f6126e03 4be4a6dc
Pipeline #26291 passed with stages
in 40 minutes and 35 seconds
......@@ -188,9 +188,9 @@ Create king ring and key in the ***master project***
--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
Copyright © Google LLC
......
......@@ -44,7 +44,7 @@ public class GsaSubscriberListenerApi {
throw new ValidationException("Authorization signature validation Failed");
}
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}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment