Commit 10cf56b4 authored by Artem Dobrynin (EPAM)'s avatar Artem Dobrynin (EPAM)
Browse files

Bugfix: GONRG-1796: Int tests for Notification service failed in DEV

https://jiraeu.epam.com/browse/GONRG-1796

* Fixed the problem with hash difference while challenging secrets
parent e6352753
......@@ -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}")
......
Markdown is supported
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