speke-reference-server
speke-reference-server copied to clipboard
ClientLambdaFunction
HI,
I downloaded the SPEKE reference implementation and setup the server using the template provided. I can't seem to find the ClientLambdaFunction to set the following parameter:
CLIENT_FUNCTION_NAME = "eke-server-EkeClientLambdaFunction-OK9F7TPIWV3L"
I don't see any steps for creating the client lambda function in the template.
Any idea where i can find this.
Thanks, Teju
Hi, thanks for the report. This section needs an update. Client requests no longer route through API Gateway, but instead are handled via the S3 bucket and CloudFront. At a minimum the CloudFront endpoint should be checked in the testing documents. We may lock-down the bucket to only CloudFront in the future.
The flow of testing should be something like:
- Send a key generation request to the /copyProtection endpoint of API Gateway.
- Receive a response with the key.
- Send a client key request via the CloudFront endpoint.
- Receive the key.
- Keys returned in step 2 and step 4 must be the same (symmetric cipher).
Hello! i'am trying to use it as well... i executed the server lambda and got the response value from cpix:Datapskc:Secretpskc:PlainValue
After that i called the cloudfront url {cloudfronturl}/resource_id/kid
And downloaded the file generated by the server lambda... but the content is different, in the archive seems encypted (€åür©I ¡GxA∫).. is it right? How i get the real value or is it right?