Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientLambdaFunction #1

Open
tbommireddy opened this issue Jun 11, 2018 · 2 comments
Open

ClientLambdaFunction #1

tbommireddy opened this issue Jun 11, 2018 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@tbommireddy
Copy link

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

@JimTharioAmazon JimTharioAmazon added bug Something isn't working help wanted Extra attention is needed labels Jun 12, 2018
@JimTharioAmazon
Copy link
Contributor

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:

  1. Send a key generation request to the /copyProtection endpoint of API Gateway.
  2. Receive a response with the key.
  3. Send a client key request via the CloudFront endpoint.
  4. Receive the key.
  5. Keys returned in step 2 and step 4 must be the same (symmetric cipher).

@thiagoananias
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants