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

Signed URL with expireTime > 2038 #53

Open
phuctma opened this issue Oct 3, 2019 · 2 comments
Open

Signed URL with expireTime > 2038 #53

phuctma opened this issue Oct 3, 2019 · 2 comments

Comments

@phuctma
Copy link

phuctma commented Oct 3, 2019

I'm getting error when signing URL in AWS Lamda (Nodejs 8.10) for expireTime > 2038:
expireTime must be less than January 19, 2038 03:14:08 GMT due to the limits of UNIX time

The date is accepted by business logic of our project. Is there any solution? or any alternative libraries for signing AWS URL?

Please support. Thanks.

@pfeilbr
Copy link
Contributor

pfeilbr commented Oct 4, 2019

You may want to look into Class: AWS.CloudFront.Signer which is part of the AWS SDK for JavaScript

@sachith-1
Copy link

I think the issue is with UNIX time, refer y2038.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants