From e3b2ad38b5630c38dafad7e18178c6f0f9f98cfd Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 21 Jun 2019 12:17:01 +0100 Subject: [PATCH] pepper -> lookup_pepper --- proposals/2134-identity-hash-lookup.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proposals/2134-identity-hash-lookup.md b/proposals/2134-identity-hash-lookup.md index 8c7a0aca1..f85df9713 100644 --- a/proposals/2134-identity-hash-lookup.md +++ b/proposals/2134-identity-hash-lookup.md @@ -68,11 +68,14 @@ This endpoint takes no parameters, and simply returns the current pepper as a JS ``` { - "pepper": "matrixrocks", + "lookup_pepper": "matrixrocks", "algorithm": "sha256", } ``` +`lookup_pepper` was chosen in order to account for pepper values being returned +for other endpoints in the future. + Clients should request this endpoint every time before making a `/(bulk_)lookup`, to handle identity servers which may rotate their pepper values frequently.