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

Automatic key expiration #10

Closed
akki166786 opened this issue Jun 24, 2014 · 1 comment
Closed

Automatic key expiration #10

akki166786 opened this issue Jun 24, 2014 · 1 comment
Labels

Comments

@akki166786
Copy link

I am having a scenario where i want to secure the JSON data which i am sending and storing at the client side, and i also want that, that data should be protected, The way to protect this data i suppose is encryption of the data but because the decryption logic and key is also at the client side (to decrypt the encrypted JSON data).

So to protect it i was wondering if we can set something like expiration time of key,

The way i was thinking this is to work that if someone is encrypting the data with the key then encrypted data must have some intelligence that after a period of time this data cannot be decrypted with the key with which it was encrypted(or may be cannot be decrypted at all).

is it possible? i suppose yes , and i don't it is there in the library now.

so i am asking to all members to please provide this facility in this library, or if it is not possible(which i suppose is not) or is not gonna solve a problem please justify.

Thanks.

@ghost ghost added the question label Jun 25, 2014
@evanvosberg
Copy link
Member

crypto-js is a library to provide crypto standard implementations. You can use it to build what ever you want but I won't implement such non-standard stuff here.

I think the biggest problem of your idea is to validate the time. How to check the time of the environment isn't manipulated?

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

No branches or pull requests

2 participants